Template:ItemBorder: Difference between revisions

From Wiki The-West EN
Jump to navigation
No edit summary
No edit summary
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="item_container" style="display:inline-block; background-color:#917F63; width:74px; height:74px; border-right:outset 2px; border-bottom:outset 2px; border-color:#000000; border-radius:8px;">
<includeonly><div class="item_border">{{Item {{{2|}}}}}<p class="amount">{{{3|}}}</p></div></includeonly><noinclude>
<div class="item_image" style="position:absolute;">[[File:{{{filename}}}.png|center|link={{{product}}}|alt={{{product}}}]]</div>
'''Template for displaying items in inventory style containers.'''
<span class="item_number" style="position:relative; top:48px; left:5px; text-shadow: black 1px 1px 1px; font-size:18px; color:white; font-weight:40;">{{{number}}}</span>
 
</div>
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}}