Information: If you want to test this page, please use Sandbox.
The documentation does not exist, you can click here to create.
User:Ritsu/Template: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="boss-image boss-sprite-{{#switch:{{{1|}}}|1|#default=1|2=2}}" style="height: 18px; width: 67px; | <includeonly><div class="boss-image boss-sprite-{{#switch:{{{1|}}}|1|#default=1|2=2}}" style="height: 18px; width: 67px; | ||
{{#switch: {{{1|}}} | 2= | {{#switch: {{{1|}}} | 2= | ||
background-position: -{{#expr: ({{{x|}}}*70)+ | background-position: -{{#expr: ({{{x|}}}*70)+6 }}px -{{#expr: {{{y|}}}*21 }}px" | ||
|1|#default= | |1|#default= | ||
background-position: -{{#expr: ({{{x|}}}*76)+16 }}px -{{#expr: ({{{y|}}}*22)+9 }}px" | background-position: -{{#expr: ({{{x|}}}*76)+16 }}px -{{#expr: ({{{y|}}}*22)+9 }}px" |