Information: If you want to test this page, please use Sandbox.
The documentation does not exist, you can click here to create.
User:Bluhen/Sandbox3: Difference between revisions
From Elwiki
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{trim2|{{#vardefine: | <includeonly>{{trim2| | ||
{{#vardefine: type_arg |{{{4|{{{type|}}}}}}}} | |||
{{#vardefine: 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|stb=Selective Target 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}} | |||
}} | |||
}} | }} | ||
{{#vardefine: id | | |||
{{#if: {{{1|{{{id|}}}}}} | |||
|{{{1|{{{id|}}}}}} | |||
|{{#switch: {{{2|{{{name|}}}}}} | Freeze=081 | Burn=071 | Faint|Conviction|Power Faint=087 | Poison=076 | Wound=085 | Flattened=070 | Extreme Coldness=094 | Confusion=095 | Bleed=116 | Lethargy=129 | Mana Pollution=236 | Anti-Magic=074 | Groggy=458 | Super Armor=045 | Move Slowdown=092 | Leg Injury=090 | Silence=313 | Panic=088 | Curse=079 | #default={{{1|{{{id|}}}}}} | |||
}} | |||
}} | |||
}} | |||
{{#vardefine: link | | |||
{{#vardefine: | Status Effects{{#if:{{{2|{{{name|}}}}}} | ||
{{# | |{{#ifexist:Status Effects/{{{2|{{{name|}}}}}}|/{{{2|{{{name|}}}}}}}} | ||
}} | |||
}} | |||
| | |||
{{#vardefine: alt | | |||
{{#vardefine: | {{#if: {{{3|{{{alt|}}}}}} | ||
|{{{3|{{{alt|}}}}}} | |||
|{{{2|{{{name}}}}}} | |||
}} | |||
}} | |||
{{#vardefine: text | | |||
{{#vardefine: | {{#ifeq: {{{tt|}}} | ||
{{ | |no|[[{{#var:link}}|{{#var:alt}}]] | ||
|{{tt|[[{{#var:link}}|{{#var:alt}}]]|'''{{#var:type}}'''|span=span}} | |||
}} | |||
}} | |||
{{#vardefine: textmobile | | |||
{{#ifeq: {{{tt|}}} | |||
|no|{{#var:alt}} | |||
|{{tt|{{#var:alt}}|'''{{#var:type}}'''|span=span}} | |||
}} | |||
}} | |||
{{#vardefine: dunno | | |||
{{#if: {{{4|{{{type|}}}}}} | |||
|{{#switch:{{#var:type_arg}}| | |||
|pb|aob|sapb|sb|eb|stb|aoeb=DunnoBuff | |||
|pd|aod|sd|ed|sapd|aoed=DunnoDebuff | |||
|#default=DunnoBuff | |||
}} | |||
|DunnoBuff | |||
}} | }} | ||
}} | |||
}}{{#if:{{{prefix|}}}|{{{prefix|}}} }}<span class="status" style="display:inline;">{{#ifeq:{{{icon|}}}|no|<span class="nomobile">{{#var:text}}</span><span class="mobileonly">{{#var:textmobile}}</span>|[[File:{{#if:{{#var:id}}|Status_{{#var:id}}|{{#var: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;}}}}}}">}}<span class="nomobile">{{#var:text}}</span><span class="mobileonly">{{#var:textmobile}}</span>{{#if:{{{font|}}}|</span>}}}}}}}}</span>{{#if:{{{suffix|}}}| {{{suffix|}}}}}</includeonly><noinclude>{{Doc}}</noinclude> | |||
< | |||
}}</includeonly><noinclude>{{Doc}}</noinclude> |