Template:Item infobox: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(Let's try dis again.... ready to revert)
No edit summary
Line 10: Line 10:
     | en = P-body
     | en = P-body
     | pt-br = P-body
     | pt-br = P-body
     | ru = Пи-боди
     | ru = ??-????
     }}</div>
     }}</div>
<div style="width: 50%; float: right; background: #0090ff; font-weight: bold; text-align: center;">{{lang
<div style="width: 50%; float: right; background: #0090ff; font-weight: bold; text-align: center;">{{lang
     | en = Atlas
     | en = Atlas
     | pt-br = Atlas
     | pt-br = Atlas
     | ru = Атлас
     | ru = ?????
     }}</div>
     }}</div>
</div>
</div>
Line 29: Line 29:
     | en = P-body
     | en = P-body
     | pt-br = P-body
     | pt-br = P-body
     | ru = Пи-боди
     | ru = ??-????
     }}</div>
     }}</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>
Line 35: Line 35:
     | en = Atlas
     | en = Atlas
     | pt-br = Atlas
     | pt-br = Atlas
     | ru = Атлас
     | ru = ?????
     }}</div>
     }}</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>
Line 42: Line 42:


<div class="section">{{lang
<div class="section">{{lang
   | ar = معلومات أساسية
   | ar = ??????? ??????
   | cs = Základní informace
   | cs = Základní informace
   | da = Information
   | da = Information
Line 50: Line 50:
   | fi = Perustiedot
   | fi = Perustiedot
   | fr = Informations de base
   | fr = Informations de base
   | hu = Alapvető információk
   | hu = Alapveto 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 59: Line 59:
   | pt = Informações Básicas
   | pt = Informações Básicas
   | pt-br = Informação Básica
   | pt-br = Informação Básica
   | ro = Informaţii de bază
   | ro = Informatii de baza
   | 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 76: Line 76:
   | 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:
Line 83: Line 83:
   | pt = Usado por:
   | pt = Usado por:
   | pt-br = Usado por:
   | pt-br = Usado por:
   | ro = Purtată de:
   | ro = Purtata 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:{{{slot|}}}|<tr><th>{{lang
{{#if:{{{slot|}}}|<tr><th>{{lang
   | ar = وضع
   | ar = ???
   | cs = Slot:
   | cs = Slot:
   | da = Position:
   | da = Position:
Line 99: Line 99:
   | fi = Paikka:
   | fi = Paikka:
   | hu = Slot
   | hu = Slot
   | ja = スロット:
   | ja = ????:
   | ko = 슬롯
   | ko = ??
   | nl = Slot:
   | nl = Slot:
   | no = Spalte:
   | no = Spalte:
   | pt = Ranhura:
   | pt = Ranhura:
   | pt-br = Compartimento:
   | pt-br = Compartimento:
   | 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
  | en = Price:
  }}</th><td>${{Dictionary/price/{{lc:{{BASEPAGENAME}}}}|usd}} / £{{Dictionary/price/{{lc:{{BASEPAGENAME}}}}|gbp}} / {{Dictionary/price/{{lc:{{BASEPAGENAME}}}}|eur}}€</td></tr>}}
</table>
</table>


Line 115: Line 118:
   | en = Item
   | en = Item
   | pt-br = Item
   | pt-br = Item
   | ru = Предмет
   | ru = ???????
   }}</div>
   }}</div>
{{Backpack item
{{Backpack item

Revision as of 13:21, 3 May 2011


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 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)