Information: If you want to test this template, please use Sandbox.
The documentation does not exist, you can click here to create.
Template:RitsuTest: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><dfn> | <includeonly><dfn> | ||
{{#vardefine: | {{#vardefine: type_arg | {{{3|{{{type|}}}}}}}} | ||
{{#vardefine: type | {{#switch:{{#var:type}}|pb=Party Buff|aob=Ally Only Buff|pd=Party Debuff|aod=Ally Only Debuff|sb=Self Buff|sd=Self Debuff|eb=Enemy Buff|ed=Enemy Debuff|#default=Self Buff}} }} | {{#vardefine: type | | ||
{{#if: {{var:type_arg}} | |||
{{#switch: {{#var:type_arg}}| Freeze|Burn|Faint|Condemnation|Power Faint|Poison|Wound|Flattened|Ice|Confusion|Bleed|Lethargy|Mana Pollution|Groggy=ed | #default={{#var:type_arg}} }} | |||
}} | |||
}} | |||
{{#vardefine: type | | |||
{{#switch:{{#var:type}}|pb=Party Buff|aob=Ally Only Buff|pd=Party Debuff|aod=Ally Only Debuff|sb=Self Buff|sd=Self Debuff|eb=Enemy Buff|ed=Enemy Debuff|#default=Self Buff}} | |||
}} | |||
{{#vardefine: id | | {{#vardefine: id | | ||
{{#switch: {{{2|{{{name|}}}}}} | Freeze=081 | Burn=071 | Faint|Condemnation|Power Faint=087 | Poison=076 | Wound=085 | Flattened=070 | Ice=094 | Confusion=095 | Bleed=116 | Lethargy=129 | Mana Pollution=236 | Groggy=458 | #default={{{1|{{{id|}}}}}} }} }} | {{#switch: {{{2|{{{name|}}}}}} | Freeze=081 | Burn=071 | Faint|Condemnation|Power Faint=087 | Poison=076 | Wound=085 | Flattened=070 | Ice=094 | Confusion=095 | Bleed=116 | Lethargy=129 | Mana Pollution=236 | Groggy=458 | #default={{{1|{{{id|}}}}}} | ||
}} | |||
}} | |||
</dfn><div style="display: inline-block;">[[File:Status_{{#var:id}}.png|link={{#if:{{{2|{{{name|}}}}}} | </dfn><div style="display: inline-block;">[[File:Status_{{#var:id}}.png|link={{#if:{{{2|{{{name|}}}}}} | ||
<!--yes-->|{{#ifexist:Status Effects/{{{2|{{{name|}}}}}} | <!--yes-->|{{#ifexist:Status Effects/{{{2|{{{name|}}}}}} |