Template:ItemBorder: Difference between revisions

From Wiki The-West EN
Jump to navigation
No edit summary
No edit summary
Line 1: Line 1:
<div style="background-color:#917F63; width:74px; height:74px; border-right:outset 2px; border-bottom:outset 2px; border-color:#000000; border-radius:8px; text-align:left;">
<div class="item_border">
{{#ifexist:Template:Item {{{2|}}}|<div style="position:absolute;">{{Item {{{2}}}||0}}</div>|<div style="position:absolute;">[[File:{{{1|Cereals}}}.png|center|link={{{2|Grain}}}|{{{2|Grain}}}]]</div>}}
{{#ifexist:Template:Item {{{2|}}}|<div style="position:absolute;">{{Item {{{2}}}||0}}</div>|<div style="position:absolute;">[[File:{{{1|Cereals}}}.png|center|link={{{2|Grain}}}|{{{2|Grain}}}]]</div>}}
<p style="position:relative; top:48px; left:5px; text-shadow: black 1px 1px 1px; font-size:18px; color:white; font-weight:40;">{{{3|1}}}</p>
<p class="number">{{{3|1}}}</p>
</div><noinclude>
</div><noinclude>



Revision as of 14:51, 13 February 2017

Grain

1

Template for displaying items in inventory style containers.

Syntax: {{ItemBorder|file name|item|number}}