Template:Item infobox: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
m (moved User:Lagg/Item infobox to Template:Item infobox: This is from scratch, the old one was table based and was getting too crufty.)
(Parameter adjustment)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">


<div class="section">{{BASEPAGENAME}}</div>
<div class="section">{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}</div>
<div style="text-align: center;">[[Image:Item {{uc:{{BASEPAGENAME}}}}.png]]</div>
<div style="text-align: center;">{{#if:{{{image|}}}|{{{image}}}|[[Image:Item {{uc:{{BASEPAGENAME}}}}}}.png]]</div>


<div class="section">Basic Information</div>
<div class="section">Basic Information</div>
<table>
<table>
<tr><th>Slot</th><td>{{{item-slot|}}}</td></tr>
<tr><th>Slot</th><td>{{{slot|}}}</td></tr>
</table>
</table>


Line 12: Line 12:
{{Backpack item
{{Backpack item
|item-name = {{uc:{{BASEPAGENAME}}}}
|item-name = {{uc:{{BASEPAGENAME}}}}
|item-level = {{{item-level|Level 1-100}}}
|item-level = {{{level|Level 1-100}}}
|width = 254px
|width = 254px
|style = margin: 2px auto 2px auto;
|style = margin: 2px auto 2px auto;

Revision as of 23:37, 25 April 2011

Item infobox
{{#if:|{{{image}}}|[[Image:Item ITEM INFOBOX}}.png]]
Basic Information
Slot
Item