Template:RitsuTest: Difference between revisions

From Elwiki
No edit summary
No edit summary
Tag: Manual revert
 
(366 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#arraydefine: coords |
<includeonly>
{{#switch:{{{2|}}}
{{#vardefine: character |
|base|#default=1, 1
{{#switch:{{{1|}}}
|1x1=2, 1
|Elsword|#default=1
|2x1=3, 1
|Aisha=2
|3x1=4, 1
|Rena=3
|1x2=1, 2
|Raven=4
|2x2=2, 2
|Eve=5
|3x2=3, 2
|Chung=6
|1t=4, 2
|Ara=7
|2t=1, 3
|Elesis=8
|3t=2, 3
|Add=9
|1x3=3, 3
|LuCiel=10
|2x3=4, 3
|Rose=11
|3x3=1, 4
|Ain=12
|1x4=2, 4
|Laby=13
|2x4=3, 4
|Noah=14
|4t=4, 4
|Lithia=15
|3x4=1, 5
}}
}}
}}
}}{{#vardefine:lang|{{#if:{{{lang|}}}|/{{{lang|}}}}}}}
<div class="image-cropped" style="width: 108px; height: 61px; position: relative; overflow: hidden;">
<div class="image-cropped">
<div class="image-wrap" style="position: absolute;
<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>
left: -{{#expr: (( {{#arrayindex:coords|0}} -1)*118)+1 }}px;
{{Doc}}</noinclude>
top: -{{#expr: (( {{#arrayindex:coords|1}} -1)*62)+1 }}px;"
 
">[[File:Face - {{{1|Elsword}}}.png]]</div>
</div></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.