Template:ItemBorder: Difference between revisions

From Wiki The-West EN
Jump to navigation
mNo edit summary
No edit summary
Line 1: Line 1:
<div class="itemContainer" 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;">
<div class="itemContainer" 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;">
<div class="itemImage" style="position:absolute;">[[File:{{{filename}}}.png|center|link={{{item}}}|alt={{{item}}}]]</div>
<div class="itemImage" style="position:absolute;">[[File:{{{filename|Cereals}}}.png|center|link={{{item|Cereals}}}|alt={{{Cereals}}}]]</div>
<span class="itemNumber" style="position:relative; top:48px; left:5px; text-shadow: black 1px 1px 1px; font-size:18px; color:white; font-weight:40;">{{{number}}}</span>
<span class="itemNumber" style="position:relative; top:48px; left:5px; text-shadow: black 1px 1px 1px; font-size:18px; color:white; font-weight:40;">{{{number|1}}}</span>
</div>
</div><noinclude>
 
'''Template for displaying items in inventory style containers.'''
 
Syntax: <nowiki>{{File name|Item|Number}}</nowiki></noinclude>

Revision as of 03:20, 14 April 2014

{{{Cereals}}}

1

Template for displaying items in inventory style containers.

Syntax: {{File name|Item|Number}}