Template:Sandbox/VeryGoodDog/GridCell: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) mNo edit summary |
VeryGoodDog (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="width:40px; height:40px; background-color:#9C958B"> | <includeonly><div style="width:40px; height:40px; background-color:#9C958B"> | ||
[[File:{{{Image|{{{1}}}.png}}}|link={{{Link|{{{1}}}}}}|40px]]{{ #if:{{{Count|{{{2|}}} }}} | | [[File:{{{Image|{{{1}}}.png}}}|link={{{Link|{{{1}}}}}}|40px]]{{ #if:{{{Count|{{{2|}}} }}} | | ||
<div style="right:0; width:16px; height:16px; position:relative; overflow:hidden;">{{{Count|{{{2|}}} }}}</div> | <div style="right:0; width:16px; height:16px; position:relative; overflow:hidden; text-align:right;">{{{Count|{{{2|}}} }}}</div> | ||
}} | }} | ||
</div> | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Sandbox/VeryGoodDog/GridCell | {{Sandbox/VeryGoodDog/GridCell | ||
|Bronze armlet|10}} | |Bronze armlet|10|Link=Clothes}} | ||
</noinclude> | </noinclude> |