Template:RitsuTest: Difference between revisions

From Elwiki
No edit summary
No edit summary
Tag: Manual revert
 
(441 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{trim2|
<includeonly>
{{#vardefine: type_arg | {{{3|{{{type|}}}}}}}}
{{#vardefine: character |
 
{{#switch:{{{1|}}}
{{#vardefine: type |
|Elsword|#default=1
    {{#if: {{var:type_arg}}
|Aisha=2
        ||{{#switch: {{{2|{{{name|}}}}}}| Freeze|Burn|Faint|Condemnation|Power Faint|Poison|Wound|Flattened|Ice|Confusion|Bleed|Lethargy|Mana Pollution|Groggy=ed | #default={{var:type_arg}} }}
|Rena=3
    }}
|Raven=4
|Eve=5
|Chung=6
|Ara=7
|Elesis=8
|Add=9
|LuCiel=10
|Rose=11
|Ain=12
|Laby=13
|Noah=14
|Lithia=15
}}
}}
 
}}{{#vardefine:lang|{{#if:{{{lang|}}}|/{{{lang|}}}}}}}
{{#vardefine: type |
<div class="image-cropped">
    {{#switch:{{#var: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 class="image-wrap">[[File:Character Face {{#var:character}}-FACE {{{2|1}}}LINE 0{{{3|1}}}.png||{{#if:{{{link|}}}|link={{#ifeq:{{{link|}}}|base|{{{1|Elsword}}}{{#var:lang}}|{{{link|}}}{{#var:lang}}}}}}]]</div>
}}
</div></includeonly><noinclude>
 
{{Doc}}</noinclude>
{{#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|}}}}}}
<!--if it exists-->|Status Effects/{{{2|{{{name}}}}}}]]</div> {{tt|[[Status Effects/{{{2|{{{name}}}}}}|{{#if:{{{alt|}}}|{{{alt|}}}|{{{2|{{{name}}}}}}}}]]|{{#var:type}}}}
<!--if it doesnt-->|Status Effects]]</div> {{tt|[[Status Effects|{{#if:{{{alt|}}}|{{{alt|}}}|{{{2|{{{name}}}}}}}}]]|{{#var:type}}}}
}}
<!--no-->|Status Effects]]
}}</includeonly><noinclude>{{Doc}}</noinclude>

Latest revision as of 00:14, 29 January 2024

Information: If you want to test this template, please use Sandbox.
The documentation does not exist, you can click here to create.