Template:RitsuTest: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#arraydefine: coords |
{{#invoke:Test|main
{{#switch:{{{2|}}}
|dmg=1569, 506
|base|#default=1, 1
|pvp_dmg=536, 173
|1x1=2, 1
|hits=,
|2x1=3, 1
|dump=true
|3x1=4, 1
|1x2=1, 2
|2x2=2, 2
|3x2=3, 2
|1t=4, 2
|2t=1, 3
|3t=2, 3
|1x3=3, 3
|2x3=4, 3
|3x3=1, 4
|1x4=2, 4
|2x4=3, 4
|4t=4, 4
|3x4=1, 5
}}
}}
}}
<div class="image-cropped" style="width: 108px; height: 61px; position: relative; overflow: hidden;">
<div class="image-wrap" style="position: absolute;
left: -{{#expr: (( {{#arrayindex:coords|0}} -1)*118)+1 }}px;
top: -{{#expr: (( {{#arrayindex:coords|1}} -1)*62)+1 }}px;"
">[[File:Face - {{{1|Elsword}}}.png]]</div>
</div></includeonly><noinclude>{{Doc}}</noinclude>

Revision as of 12:44, 14 May 2022