Template:Attack: Difference between revisions

From Ephinea PSO Wiki
(Created page with "{{#switch:{{{1|}}} | Normal | normal | Light | light = 16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}{{#if:{{{2|}}}|{{{1|}}} attack|{{{1|}}} attack}} | N = 16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}{{#if:{{{2|}}}|{{{1|}}} attack|Normal attack}} | n = 16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}{{#if:{{{2|}}}|At...")
 
mNo edit summary
Line 33: Line 33:
<pre>{{Attack|l}}</pre>
<pre>{{Attack|l}}</pre>
{{Attack|l}}
{{Attack|l}}
<pre>{{Attack|H}}</pre>
<pre>{{Attack|H|yep}}</pre>
{{Attack|H}}
{{Attack|H}}
<pre>{{Attack|e}}</pre>
<pre>{{Attack|e}}</pre>
{{Attack|e}}
{{Attack|e}}

Revision as of 22:02, 29 December 2022

Usage and example

The Attack template has two arguments. The first can be any variant of an attack type (N, hard, Special, etc.). The second is optional; if specified, it will automatically generate a link to the attack type on the Attack page.

{{Attack|Normal|1}}

Normal Attack.pngNormal attack

{{Attack|Hard}}

Heavy Attack.pngHard attack

{{Attack|Special|literally any text}}

Extra Attack.pngSpecial attack

{{Attack|l}}

Normal Attack.pnglight attack

{{Attack|H|yep}}

Heavy Attack.pngHeavy attack

{{Attack|e}}

Extra Attack.pngextra attack