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>{{#vardefine: type | {{#switch:{{{3|{{{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}}}}<div style="display: inline-block;">[[File:Status_{{ | <includeonly><dfn> | ||
{{#vardefine: type | {{#switch: {{{3|{{{type|}}}}}}| 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={{{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: 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|}}}}}} | |||
<!--yes-->|{{#ifexist:Status Effects/{{{2|{{{name|}}}}}} | <!--yes-->|{{#ifexist:Status Effects/{{{2|{{{name|}}}}}} | ||
<!--if it exists-->|Status Effects/{{{2|{{{name}}}}}}]]</div> {{tt|[[Status Effects/{{{2|{{{name}}}}}}|{{#if:{{{alt|}}}|{{{alt|}}}|{{{2|{{{name}}}}}}}}]]|{{#var:type}}}} | <!--if it exists-->|Status Effects/{{{2|{{{name}}}}}}]]</div> {{tt|[[Status Effects/{{{2|{{{name}}}}}}|{{#if:{{{alt|}}}|{{{alt|}}}|{{{2|{{{name}}}}}}}}]]|{{#var:type}}}} |