Information: If you want to test this template, please use Sandbox.
The documentation does not exist, you can click here to create.
Template:RitsuTest: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{#switch:{{{2|}}} | {{#switch:{{{2|}}} | ||
|base|#default=1, 1 | |base|#default=1, 1 | ||
|1x1=1 | |1x1=2, 1 | ||
|1x2=1 | |1x2=3, 1 | ||
|1x3=1 | |1x3=4, 1 | ||
|2x1=2 | |2x1=1, 2 | ||
|2x2=2, 2 | |2x2=2, 2 | ||
|2x3=2 | |2x3=3, 2 | ||
|t1=2 | |t1=4, 2 | ||
|t2=3 | |t2=1, 3 | ||
|t3=3 | |t3=2, 3 | ||
|3x1=3, 3 | |3x1=3, 3 | ||
|3x2=3 | |3x2=4, 3 | ||
|3x3=4 | |3x3=1, 4 | ||
|4x1=4 | |4x1=2, 4 | ||
|4x2=4 | |4x2=3, 4 | ||
|t4=4, 4 | |t4=4, 4 | ||
|4x3=5 | |4x3=1, 5 | ||
}} | }} | ||
}} | }} | ||
Line 23: | Line 23: | ||
<div class="image-wrap" style="position: absolute; | <div class="image-wrap" style="position: absolute; | ||
left: -{{#expr: (( {{#arrayindex:coords| | left: -{{#expr: (( {{#arrayindex:coords|0}} -1)*118)+1 }}px; | ||
top: -{{#expr: (( {{#arrayindex:coords| | top: -{{#expr: (( {{#arrayindex:coords|1}} -1)*62)+1 }}px;" | ||
">[[File:Face - {{{1|Elsword}}}.png]]</div> | ">[[File:Face - {{{1|Elsword}}}.png]]</div> | ||
</div></includeonly><noinclude>{{Doc}}</noinclude> | </div></includeonly><noinclude>{{Doc}}</noinclude> |