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 3: | Line 3: | ||
{{#vardefine: type | | {{#vardefine: type | | ||
{{# | {{#switch:{{#var:type_arg}}|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 | | {{#vardefine: type | | ||
{{# | {{#if: {{{3|{{{type|}}}}}} | ||
||{{#switch: {{{2|{{{name|}}}}}}|Freeze|Burn|Faint|Condemnation|Power Faint|Poison|Wound|Flattened|Ice|Confusion|Bleed|Lethargy|Mana Pollution|Groggy=Enemy Debuff|#default={{var:type_arg}} }} | |||
}} | |||
}} | }} | ||
{{#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|}}}}}} | {{#if: {{{alt|}}} | ||
|{{{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|}}}}}} | |||
}} | |||
}} | }} | ||
}} | }} |