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...") |
m (oops) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| Light | | Light | ||
| light = [[File:Normal Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}]]{{#if:{{{2|}}}|[[Attack#Normal attack|{{{1|}}} attack]]|{{{1|}}} attack}} | | light = [[File:Normal Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}]]{{#if:{{{2|}}}|[[Attack#Normal attack|{{{1|}}} attack]]|{{{1|}}} attack}} | ||
| N = [[File:Normal Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}]]{{#if:{{{2|}}}|[[Attack#Normal attack| | | N = [[File:Normal Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}]]{{#if:{{{2|}}}|[[Attack#Normal attack|Normal attack]]|Normal attack}} | ||
| n = [[File:Normal Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}]]{{#if:{{{2|}}}|[[Attack#Normal attack| | | n = [[File:Normal Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}]]{{#if:{{{2|}}}|[[Attack#Normal attack|normal attack]]|normal attack}} | ||
| L = [[File:Normal Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}]]{{#if:{{{2|}}}|[[Attack#Normal attack| | | L = [[File:Normal Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}]]{{#if:{{{2|}}}|[[Attack#Normal attack|Light attack]]|Light attack}} | ||
| l = [[File:Normal Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}]]{{#if:{{{2|}}}|[[Attack#Normal attack| | | l = [[File:Normal Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Normal attack}}]]{{#if:{{{2|}}}|[[Attack#Normal attack|light attack]]|light attack}} | ||
| Heavy | | Heavy | ||
| heavy | | heavy | ||
| Hard | | Hard | ||
| hard = [[File:Heavy Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Heavy attack}}]]{{#if:{{{2|}}}|[[Attack#Heavy attack|{{{1|}}} attack]]|{{{1|}}} attack}} | | hard = [[File:Heavy Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Heavy attack}}]]{{#if:{{{2|}}}|[[Attack#Heavy attack|{{{1|}}} attack]]|{{{1|}}} attack}} | ||
| H = [[File:Heavy Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Heavy attack}}]]{{#if:{{{2|}}}|[[Attack#Heavy attack| | | H = [[File:Heavy Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Heavy attack}}]]{{#if:{{{2|}}}|[[Attack#Heavy attack|Heavy attack]]|Heavy attack}} | ||
| h = [[File:Heavy Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Heavy attack}}]]{{#if:{{{2|}}}|[[Attack#Heavy attack| | | h = [[File:Heavy Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Heavy attack}}]]{{#if:{{{2|}}}|[[Attack#Heavy attack|heavy attack]]|heavy attack}} | ||
| Extra | | Extra | ||
| extra | | extra | ||
| Special | | Special | ||
| special = [[File:Extra Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Special attack}}]]{{#if:{{{2|}}}|[[Attack#Special attack|{{{1|}}} attack]]|{{{1|}}} attack}} | | special = [[File:Extra Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Special attack}}]]{{#if:{{{2|}}}|[[Attack#Special attack|{{{1|}}} attack]]|{{{1|}}} attack}} | ||
| E = [[File:Extra Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Special attack}}]]{{#if:{{{2|}}}|[[Attack#Special attack| | | E = [[File:Extra Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Special attack}}]]{{#if:{{{2|}}}|[[Attack#Special attack|Extra attack]]|Extra attack}} | ||
| e = [[File:Extra Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Special attack}}]]{{#if:{{{2|}}}|[[Attack#Special attack| | | e = [[File:Extra Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Special attack}}]]{{#if:{{{2|}}}|[[Attack#Special attack|extra attack]]|extra attack}} | ||
| S = [[File:Extra Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Special attack}}]]{{#if:{{{2|}}}|[[Attack#Special attack| | | S = [[File:Extra Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Special attack}}]]{{#if:{{{2|}}}|[[Attack#Special attack|Special attack]]|Special attack}} | ||
| s = [[File:Extra Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Special attack}}]]{{#if:{{{2|}}}|[[Attack#Special attack| | | s = [[File:Extra Attack.png|16px|middle|link={{#if:{{{2|}}}|Attack#Special attack}}]]{{#if:{{{2|}}}|[[Attack#Special attack|special attack]]|special attack}} | ||
}}<noinclude> | }}<noinclude> | ||
==Usage and example== | ==Usage and example== | ||
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|yep}} | ||
<pre>{{Attack|e}}</pre> | <pre>{{Attack|e}}</pre> | ||
{{Attack|e}} | {{Attack|e}} |
Latest revision as of 22:03, 29 December 2022
Usage and example[edit source]
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}}
{{Attack|Hard}}
Hard attack
{{Attack|Special|literally any text}}
{{Attack|l}}
light attack
{{Attack|H|yep}}
{{Attack|e}}
extra attack