Template:Item infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
DoktorAkcel (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
</div> | </div> | ||
</div> | </div> | ||
| two-items = <div class="section" style="background: #d46f2a;">P-body</div> | | two-items = <div class="section" style="background: #d46f2a;">{{lang | ||
| en = P-body | |||
| ru = Пи-боди | |||
}}</div> | |||
<div style="text-align: center;">[[Image:P-body {{#if:{{{name-override|}}}|{{{name-override}}}|{{BASEPAGENAME}}}}.png|200px]]</div> | <div style="text-align: center;">[[Image:P-body {{#if:{{{name-override|}}}|{{{name-override}}}|{{BASEPAGENAME}}}}.png|200px]]</div> | ||
<div class="section" style="background: #0090ff;">Atlas</div> | <div class="section" style="background: #0090ff;">{{lang | ||
| en = Atlas | |||
| ru = Атлас | |||
}}</div> | |||
<div style="text-align: center;">[[Image:Atlas {{#if:{{{name-override|}}}|{{{name-override}}}|{{BASEPAGENAME}}}}.png|200px]]</div> | <div style="text-align: center;">[[Image:Atlas {{#if:{{{name-override|}}}|{{{name-override}}}|{{BASEPAGENAME}}}}.png|200px]]</div> | ||
| #default = <div style="text-align: center;">[[Image:{{#if:{{{image|}}}|{{{image}}}|Item {{uc:{{BASEPAGENAME}}}}.png}}|200px]]</div> | | #default = <div style="text-align: center;">[[Image:{{#if:{{{image|}}}|{{{image}}}|Item {{uc:{{BASEPAGENAME}}}}.png}}|200px]]</div> |
Revision as of 05:51, 1 May 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) |
team-colors | yes | If set to yes the infobox will link to two versions of a given team colored hat image under the item image, if set to two-items the item image will be removed and the team colored images replace it, stacked vertically. |
quality | genuine | Recolor the item name text to represent a different quality (unique by default) |