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 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;">
{{#ifexist:Template:Item {{{2|}}}|{{Item {{{2}}}|0}}|<div style="position:absolute;">[[File:{{{1|Cereals}}}.png|center|link={{{2|Grain}}}|{{{2|Grain}}}]]</div>}}
{{#ifexist:Template:Item {{{2|}}}|{{Item {{{2}}}||0}}|<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 style="position:relative; top:48px; left:5px; text-shadow: black 1px 1px 1px; font-size:18px; color:white; font-weight:40;">{{{3|1}}}</p>
</div><noinclude>
</div><noinclude>

Revision as of 14:40, 13 February 2017

Grain

1

Template for displaying items in inventory style containers.

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