Difference between revisions of "Template:TileSheet"

From Fallen Sword Wiki
Jump to: navigation, search
(Created page with "<div style="display: inline-block; width: 40px; height: 40px; position: relative; overflow: hidden;"> <div style="position: absolute; top: 0px; left: -{{expr {{{2}}} * 40}}px;...")
 
 
(13 intermediate revisions by one user not shown)
Line 1: Line 1:
<div style="display: inline-block; width: 40px; height: 40px; position: relative; overflow: hidden;">
+
<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>
<div style="position: absolute; top: 0px; left: -{{expr {{{2}}} * 40}}px;">
+
https://cdn2.fallensword.com/realms/{{{1}}}_sheet.png
+
</div>
+
</div>
+

Latest revision as of 19:21, 5 February 2022