Anonymous

Template:Se: Difference between revisions

From Elwiki
m
no edit summary
mNo edit summary
mNo edit summary
Tag: Manual revert
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{trim2|
<includeonly>{{#css:
 
.nomobile {
    display: inline !important;
}
 
.skin-minerva span .nomobile {
    display: none !important;
}
 
}}{{trim2|
{{#vardefine: type_arg |{{{4|{{{type|}}}}}}}}
{{#vardefine: type_arg |{{{4|{{{type|}}}}}}}}


{{#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|aoeb=Ally Only & Enemy Buff|aoed=Ally Only & Enemy Debuff|#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|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}}
         |{{#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 37: Line 47:
}}
}}


}}{{#if:{{{prefix|}}}|{{{prefix|}}}&nbsp;}}<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||&nbsp;{{#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|}}}|&nbsp;{{{suffix|}}}}}</includeonly><noinclude>{{Doc}}</noinclude>
{{#vardefine: textmobile |
    {{#ifeq: {{{tt|}}}
        |no|'''{{#var:alt}}'''
        |{{tt|'''{{#var:alt}}'''|'''{{#var:type}}'''|span=span}}
    }}
}}
 
{{#vardefine: font |
    {{#switch:{{{font|}}}
        |bold|b=font-weight:bold;|italic|i=font-style:italic;|bold italic|italic bold|bi|ib=font-weight:bold;font-style:italic;
    }}
}}
 
{{#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|}}}&nbsp;}}<span class="status" style="display:inline;">{{#ifeq:{{{icon|}}}|no|{{#if:{{{font|}}}|<span style="{{#var:font}}">}}<span class="nomobile">{{#var:text}}</span><span class="mobileonly">{{#var:textmobile}}</span>{{#if:{{{font|}}}|</span>}}|[[File:{{#if:{{#var:id}}|Status_{{#var:id}}|{{#var:dunno}}}}.png|20px|link={{#var:link}}]]{{#if:{{{2|{{{name|}}}}}}|{{#ifeq:{{{label|}}}|no||&nbsp;{{#if:{{{font|}}}|<span style="{{#var:font}}">}}<span class="nomobile">{{#var:text}}</span><span class="mobileonly">{{#var:textmobile}}</span>{{#if:{{{font|}}}|</span>}}}}}}}}</span>{{#if:{{{suffix|}}}|&nbsp;{{{suffix|}}}}}</includeonly><noinclude>{{Doc}}</noinclude>
ElEditors
8,317

edits