Template:Se: Difference between revisions
From Elwiki
no edit summary
(agh i meant to change my own sandbox im dumb) Tag: Undo |
No edit summary |
||
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}}'''}} | |||
}} | |||
}} | |||
}}{{#if:{{{prefix|}}}|{{{prefix|}}} }}<span class="status">{{#ifeq:{{{icon|}}}|no|{{#var:text}}|[[File:{{#if:{{#var:id}}|Status_{{#var:id}}|Dunno}}.png|20px|link={{#var:link}}]]{{#if:{{{2|{{{name|}}}}}}|{{#ifeq:{{{label|}}}|no||{{#var:text}}}}}}}}</span>{{#if:{{{suffix|}}}| {{{suffix|}}}}}</includeonly><noinclude>{{Doc}}</noinclude> |