Template:Se: Difference between revisions
From Elwiki
m
no edit summary
No edit summary |
mNo edit summary |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{{#vardefine: type | | {{#vardefine: type | | ||
{{#if: {{{4|{{{type|}}}}}} | {{#if: {{{4|{{{type|}}}}}} | ||
|{{#switch:{{#var:type_arg}}|pb=Party Buff|aob=Ally Only Buff|pd=Party Debuff|aod=Ally Only Debuff|sapb=Self/Ally Pick-up Buff|sb=Self Buff|sd=Self Debuff|eb=Enemy Buff|ed=Enemy Debuff|sapd=Self/Ally Pick-up Debuff|cb=Couple Buff|#default=Self Buff}} | |{{#switch:{{#var:type_arg}}|pb=Party Buff|aob=Ally Only Buff|pd=Party Debuff|aod=Ally Only Debuff|sapb=Self/Ally Pick-up Buff|sb=Self Buff|sd=Self Debuff|eb=Enemy Buff|ed=Enemy Debuff|sapd=Self/Ally Pick-up Debuff|cb=Couple Buff|aoeb=Ally Only & Enemy Buff|aoed=Ally Only & Enemy Debuff|#default=Self Buff}} | ||
|{{#switch: {{{2|{{{name|}}}}}}|Freeze|Burn|Faint|Conviction|Power Faint|Poison|Wound|Flattened|Extreme Coldness|Confusion|Bleed|Lethargy|Mana Pollution|Anti-Magic|Groggy|Move Slowdown|Leg Injury|Silence|Panic|Curse=Enemy Debuff|#default=Self Buff}} | |{{#switch: {{{2|{{{name|}}}}}}|Freeze|Burn|Faint|Conviction|Power Faint|Poison|Wound|Flattened|Extreme Coldness|Confusion|Bleed|Lethargy|Mana Pollution|Anti-Magic|Groggy|Move Slowdown|Leg Injury|Silence|Panic|Curse=Enemy Debuff|#default=Self Buff}} | ||
}} | }} | ||
Line 17: | Line 17: | ||
}} | }} | ||
{{#vardefine: link | | |||
Status Effects{{#if:{{{2|{{{name|}}}}}} | |||
|{{#ifexist:Status Effects/{{{2|{{{name|}}}}}}|/{{{2|{{{name|}}}}}}}} | |||
}} | |||
}} | |||
{{#vardefine: alt | | |||
{{#if: {{{3|{{{alt|}}}}}} | |||
|{{{3|{{{alt|}}}}}} | |||
|{{{2|{{{name}}}}}} | |||
}} | |||
}} | }} | ||
< | |||
}}</ | {{#vardefine: text | | ||
{{#ifeq: {{{tt|}}} | |||
|no|[[{{#var:link}}|{{#var:alt}}]] | |||
|{{tt|[[{{#var:link}}|{{#var:alt}}]]|'''{{#var:type}}'''|span=span}} | |||
}} | |||
}} | |||
}}{{#if:{{{prefix|}}}|{{{prefix|}}} }}<span class="status" style="display:inline;">{{#ifeq:{{{icon|}}}|no|{{#var:text}}|[[File:{{#if:{{#var:id}}|Status_{{#var:id}}|Dunno}}.png|20px|link={{#var:link}}]]{{#if:{{{2|{{{name|}}}}}}|{{#ifeq:{{{label|}}}|no|| {{#if:{{{font|}}}|<span style="{{#ifeq:{{{font|}}}|bold|font-weight:bold;|{{#ifeq:{{{font|}}}|italic|font-style:italic;|{{#ifeq:{{{font|}}}|bold italic|font-weight:bold;font-style:italic;}}}}}}">}}{{#var:text}}{{#if:{{{font|}}}|</span>}}}}}}}}</span>{{#if:{{{suffix|}}}| {{{suffix|}}}}}</includeonly><noinclude>{{Doc}}</noinclude> |