Template:Sandbox/VeryGoodDog/GridCell: Difference between revisions

From Vintage Story Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div style="width:40px; height:40px; background-color:#9C958B; outline: 2px solid #1D1B19; outline-offset: -1px;">
<includeonly><div style="width:40px; height:40px; background-color:#9C958B; outline: 2px solid #1D1B19; outline-offset: -1px;">
[[File:{{{Image|{{{1}}}.png}}}|link={{{Link|{{{1}}}}}}|40px]]{{ #if:{{{Count|{{{2|}}} }}} |
{{ #ifeq:{{{1|}}}||
<div style="bottom:22px; right: 2px; position:relative; text-align:right; color:white; font-size: large; font-weight: bold;">{{{Count|{{{2|}}}}}}</div>
[[File:{{{1}}}.png|link={{{3|}}}|40px]]{{ #if:{{{2|}}}|
<div style="bottom:22px; right: 2px; position:relative; text-align:right; color:white; font-size: large; font-weight: bold;">{{{2}}}</div>
}}
}}
}}
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>
{{Sandbox/VeryGoodDog/GridCell
{{Sandbox/VeryGoodDog/GridCell
|Bronze armlet|10|Link=Clothes}}
|Bronze armlet|10|Clothes}}
{{Sandbox/VeryGoodDog/GridCell
{{Sandbox/VeryGoodDog/GridCell|||}}
|Bronze armlet|10|Link=Clothes}}
</noinclude>
</noinclude>

Revision as of 17:39, 16 August 2020