Difference between revisions of "Template:TileSheet"
From Fallen Sword Wiki
Lusterless (Talk | contribs) |
Lusterless (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | <div style="display: inline-block; width: 40px; height: 40px; position: relative; overflow: hidden; vertical-align: middle;"><div style="position: absolute; top: 0px; left: -{{#expr: ({{{2|0}}} | + | <div style="display: inline-block; width: 40px; height: 40px; position: relative; overflow: hidden; vertical-align: middle;"><div style="position: absolute; top: 0px; left: -{{#expr: ({{{2|0}}}mod{{{3|13}}}) * 40}}px; top: -{{#expr: floor({{{2|0}}} / 13) * 40}}px;">https://cdn2.fallensword.com/{{{1}}}_sheet.png</div></div> |