Template:Item infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(fix lang cat, fix broken characters (Please don't paste from Notepad)) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="infobox"> | <div class="infobox"> | ||
Line 26: | Line 25: | ||
}} | }} | ||
<div class="section">{{lang | <div class="section">{{lang | ||
| ar = | | ar = معلومات أساسية | ||
| cs = Základní informace | | cs = Základní informace | ||
| da = Information | | da = Information | ||
Line 34: | Line 33: | ||
| fi = Perustiedot | | fi = Perustiedot | ||
| fr = Informations de base | | fr = Informations de base | ||
| hu = | | hu = Alapvető információk | ||
| it = Informazioni di base | | it = Informazioni di base | ||
| ja = | | ja = インフォメーション | ||
| ko = | | ko = 기본 정보 | ||
| nl = Basis informatie | | nl = Basis informatie | ||
| no = Grunnleggende informasjon | | no = Grunnleggende informasjon | ||
Line 43: | Line 42: | ||
| pt = Informações Básicas | | pt = Informações Básicas | ||
| pt-br = Informação Básica | | pt-br = Informação Básica | ||
| ro = | | ro = Informaţii de bază | ||
| ru = Информация | | ru = Информация | ||
| sv = Grundläggande Information | | sv = Grundläggande Information | ||
| zh-hans = | | zh-hans = 基本信息 | ||
| zh-hant = | | zh-hant = 資訊 | ||
}}</div> | }}</div> | ||
<table style="text-align: left;"> | <table style="text-align: left;"> | ||
{{#if:{{{used-by|}}}|<tr><th>{{lang | {{#if:{{{used-by|}}}|<tr><th>{{lang | ||
| ar = | | ar = يلبسها: | ||
| cs = Používá: | | cs = Používá: | ||
| da = Båret af: | | da = Båret af: | ||
Line 60: | Line 59: | ||
| fi = Käyttää: | | fi = Käyttää: | ||
| it = Indossato da: | | it = Indossato da: | ||
| ja = | | ja = 装備: | ||
| ko = | | ko = 착용 클래스: | ||
| nl = Gedragen door: | | nl = Gedragen door: | ||
| no = Båret av: | | no = Båret av: | ||
| pl = | | pl = Klasa: | ||
| pt = Usado por: | | pt = Usado por: | ||
| pt-br = Usado por: | | pt-br = Usado por: | ||
| ro = | | ro = Purtată de: | ||
| ru = Используется: | | ru = Используется: | ||
| sv = Buren av: | | sv = Buren av: | ||
| zh-hans = | | zh-hans = 装备的兵种: | ||
| zh-hant = | | zh-hant = 裝備: | ||
}}</th><td>{{{used-by}}}</td></tr>}} | }}</th><td>{{{used-by}}}</td></tr>}} | ||
{{#if:{{{shared-from|}}}|<tr><th>{{lang | {{#if:{{{shared-from|}}}|<tr><th>{{lang | ||
Line 85: | Line 84: | ||
}}</td></tr>}} | }}</td></tr>}} | ||
{{#if:{{{slot|}}}|<tr><th>{{lang | {{#if:{{{slot|}}}|<tr><th>{{lang | ||
| ar = | | ar = وضع | ||
| cs = Slot: | | cs = Slot: | ||
| da = Position: | | da = Position: | ||
Line 94: | Line 93: | ||
| fi = Paikka: | | fi = Paikka: | ||
| hu = Slot | | hu = Slot | ||
| ja = | | ja = スロット: | ||
| ko = | | ko = 슬롯 | ||
| nl = Slot: | | nl = Slot: | ||
| no = Spalte: | | no = Spalte: | ||
Line 102: | Line 101: | ||
| ru = Слот: | | ru = Слот: | ||
| sv = Position: | | sv = Position: | ||
| zh-hans = | | zh-hans = 类型: | ||
| zh-hant = | | zh-hant = 類型: | ||
}}</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 | ||
Line 145: | Line 144: | ||
</div> | </div> | ||
</includeonly> | {{lang cat|Items}}</includeonly><noinclude> | ||
<noinclude> | {{Translation switching|fi, fr, pt-br, ru, pl, zh-hant}} | ||
{{Translation switching| | |||
{{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 03:14, 10 July 2011
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Item infobox/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: fi, fr, pt-br, ru, pl, zh-hant (add) |
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 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) |