Template:Item infobox: Difference between revisions
Jump to navigation
Jump to search
(Work please) |
DoktorAkcel (talk | contribs) (sum lang) |
||
Line 6: | Line 6: | ||
{{#if:{{{team-colors|}}}|<div> | {{#if:{{{team-colors|}}}|<div> | ||
<div style="width: 50%; float: left; background: #d46f2a; font-weight: bold; text-align: center;">P-body</div> | <div style="width: 50%; float: left; background: #d46f2a; font-weight: bold; text-align: center;">{{lang | ||
<div style="width: 50%; float: right; background: #0090ff; font-weight: bold; text-align: center;">Atlas</div> | | en = P-body | ||
| ru =Пи-боди | |||
}}</div> | |||
<div style="width: 50%; float: right; background: #0090ff; font-weight: bold; text-align: center;">{{lang | |||
| en = Atlas | |||
| ru = Атлас | |||
}}</div> | |||
</div> | </div> | ||
<div> | <div> | ||
Line 18: | Line 24: | ||
</div>}} | </div>}} | ||
<div class="section">Basic Information</div> | <div class="section">{{lang | ||
| ar = معلومات أساسية | |||
| cs = Základní informace | |||
| da = Information | |||
| de = Informationen | |||
| en = Basic Information | |||
| es = Información básica | |||
| fi = Perustiedot | |||
| fr = Informations de base | |||
| hu = Alapvető információk | |||
| it = Informazioni di base | |||
| ja = インフォメーション | |||
| ko = 기본 정보 | |||
| nl = Basis informatie | |||
| no = Grunnleggende informasjon | |||
| pl = Podstawowe informacje | |||
| pt = Informações Básicas | |||
| pt-br = Informação Básica | |||
| ro = Informaţii de bază | |||
| ru = Информация | |||
| sv = Grundläggande Information | |||
| zh-hans = 基本信息 | |||
| zh-hant = 資訊 | |||
}}</div> | |||
<table style="text-align: left;"> | <table style="text-align: left;"> | ||
{{#if:{{{used-by|}}}|<tr><th> | {{#if:{{{used-by|}}}|<tr><th>{{lang | ||
{{#if:{{{slot|}}}|<tr><th>Slot:</th><td>{{{slot}}}</td></tr>}} | | ar = يلبسها: | ||
| cs = Používá: | |||
| da = Båret af: | |||
| de = Getragen von: | |||
| en = Worn by: | |||
| es = Usado por: | |||
| fr = Porté par : | |||
| fi = Käyttää: | |||
| it = Indossato da: | |||
| ja = 装備: | |||
| ko = 착용 클래스: | |||
| nl = Gedragen door: | |||
| no = Båret av: | |||
| pl = Klasa: | |||
| pt = Usado por: | |||
| pt-br = Usado por: | |||
| ro = Purtată de: | |||
| ru = Используется: | |||
| sv = Buren av: | |||
| zh-hans = 装备的兵种: | |||
| zh-hant = 裝備: | |||
}}</th><td>{{{used-by}}}</td></tr>}} | |||
{{#if:{{{slot|}}}|<tr><th>{{lang | |||
| ar = وضع | |||
| cs = Slot: | |||
| da = Position: | |||
| de = Position: | |||
| en = Slot: | |||
| es = Espacio: | |||
| fr = Emplacement : | |||
| fi = Paikka: | |||
| hu = Slot | |||
| ja = スロット: | |||
| ko = 슬롯 | |||
| nl = Slot: | |||
| no = Spalte: | |||
| pt = Ranhura: | |||
| pt-br = Posição: | |||
| ru = Слот: | |||
| sv = Position: | |||
| zh-hans = 类型: | |||
| zh-hant = 類型: | |||
}}</th><td>{{{slot}}}</td></tr>}} | |||
</table> | </table> | ||
<div class="section">Item</div> | <div class="section">{{lang | ||
| en = Item | |||
| ru = Предмет | |||
}}</div> | |||
{{Backpack item | {{Backpack item | ||
|item-name-local = {{#if:{{{name|}}}|{{{name}}}|{{uc:{{BASEPAGENAME}}}}}} | |item-name-local = {{#if:{{{name|}}}|{{{name}}}|{{uc:{{BASEPAGENAME}}}}}} |
Revision as of 18:27, 27 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) |
team-colors | yes | If set the infobox will link to two versions of a given team colored hat image. |
quality | genuine | Recolor the item name text to represent a different quality (unique by default) |