Template:ItemBorder: Difference between revisions

From Wiki The-West EN
Jump to navigation
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
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;">
<includeonly><div class="item_border">{{Item {{{2|}}}}}<p class="amount">{{{3|}}}</p></div></includeonly><noinclude>
{{#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>
</div><noinclude>
 
'''Template for displaying items in inventory style containers.'''
'''Template for displaying items in inventory style containers.'''


Syntax: <nowiki>{{ItemBorder|file name|item|number}}</nowiki></noinclude>
Syntax: <nowiki>{{ItemBorder|file name|item|number}}</nowiki></noinclude>

Latest revision as of 06:34, 8 August 2021

Template for displaying items in inventory style containers.

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