Template:Item infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Easier image override, use name override in backpack example) |
||
Line 3: | Line 3: | ||
<div class="section">{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}</div> | <div class="section">{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}</div> | ||
<div style="text-align: center;">{{#if:{{{image|}}}|{{{image}}}| | <div style="text-align: center;">[[Image:{{#if:{{{image|}}}|{{{image}}}|Item {{uc:{{BASEPAGENAME}}}}}}.png]]</div> | ||
<div class="section">Basic Information</div> | <div class="section">Basic Information</div> | ||
Line 13: | Line 13: | ||
<div class="section">Item</div> | <div class="section">Item</div> | ||
{{Backpack item | {{Backpack item | ||
|item-name = {{uc:{{BASEPAGENAME}}}} | |item-name = {{#if:{{{name|}}}|{{{name}}}|{{uc:{{BASEPAGENAME}}}}}} | ||
|item-level = {{{level|Level 1-100}}} | |item-level = {{{level|Level 1-100}}} | ||
|width = 254px | |width = 254px |
Revision as of 00:08, 26 April 2011
The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.
This is normal.
Documentation for Item infobox
This template is used to display information about an item.
Parameters
Parameter | Example | Description |
---|---|---|
name | Spud Hat | A name that will be displayed at the top of the infobox, usually this isn't necessary and will use the page title by default. |
image | Spudburger.png | A new image to use under the item's name at the top. Use this only if necessary and stick to the set convention as much as possible. |
slot | Head | The slot that the item is equipped in. |
used-by | Atlas, P-body | A list of classes that can equip the item. |
level | Level 100 Testing Apparatus | The level of the item (used in backpack example) |