Template:Se: Difference between revisions

no edit summary
(Undo revision 743511 by Ritsu (talk))
Tag: Undo
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_{{{1|{{{id|}}}}}}.png|link={{#if:{{{2|{{{name|}}}}}}
<includeonly>{{trim2|
{{#vardefine: type_arg |{{{3|{{{type|}}}}}}}}
 
{{#vardefine: type |
    {{#if: {{#var:type_arg}}
        ||{{#switch: {{{2|{{{name|}}}}}}| 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_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: 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|}}}}}}
    }}
}}
 
}}<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}}}}