Template:Item infobox: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
m (cs)
No edit summary
Line 73: Line 73:
   }}</th><td>{{{used-by}}}</td></tr>}}
   }}</th><td>{{{used-by}}}</td></tr>}}
{{#if:{{{shared-from|}}}|<tr><th>{{lang
{{#if:{{{shared-from|}}}|<tr><th>{{lang
  | de = Geteilt von:
   | en = Shared from:
   | en = Shared from:
   | es = Procedente de:
   | es = Procedente de:
Line 106: Line 107:
   }}</th><td>{{{slot}}}</td></tr>}}
   }}</th><td>{{{slot}}}</td></tr>}}
{{#ifexist:Template:Dictionary/price/{{lc:{{BASEPAGENAME}}}}|<tr><th>{{lang
{{#ifexist:Template:Dictionary/price/{{lc:{{BASEPAGENAME}}}}|<tr><th>{{lang
  | de = Preis:
   | en = Price:
   | en = Price:
   | cs = Cena:
   | cs = Cena:
Line 118: Line 120:


<div class="section">{{lang
<div class="section">{{lang
  | de = Gegenstand
   | en = Item
   | en = Item
   | cs = Předmět
   | cs = Předmět
Line 149: Line 152:
</div>
</div>
{{lang cat|Items}}</includeonly><noinclude>
{{lang cat|Items}}</includeonly><noinclude>
{{Translation switching|cs, es, fi, fr, pt-br, ru, pl, zh-hant}}
{{Translation switching|cs, de, es, fi, fr, pt-br, ru, pl, zh-hant}}
{{doc begin}}
{{doc begin}}
This template is used to display information about an item.
This template is used to display information about an item.

Revision as of 13:20, 24 August 2013

The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
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 bots that can equip the item.
shared from tf2 The game that the item is shared from. Possible values: "tf2".
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)