Difference between revisions of "Template:User item infobox"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 275: Line 275:
 
   | sv = {{tooltip|Kan bytas|Om objektet kan bytas med en annan spelare.}}:
 
   | sv = {{tooltip|Kan bytas|Om objektet kan bytas med en annan spelare.}}:
 
   | tr = {{tooltip|Takaslanabilir|Eşyanın takasta kullanılıp kullanılamayacağı.}}:
 
   | tr = {{tooltip|Takaslanabilir|Eşyanın takasta kullanılıp kullanılamayacağı.}}:
   | zh-hans = {{tooltip|交換|如果该项目能够交易。}}:
+
   | zh-hans = {{tooltip|可交易|该物品是否能够进行交易。}}:
 
   | zh-hant = {{tooltip|交換|該項目是否能夠交換。}}:
 
   | zh-hant = {{tooltip|交換|該項目是否能夠交換。}}:
 
}}]]''' {{!!}} {{#switch:{{lc:{{{trade|¬}}}}}
 
}}]]''' {{!!}} {{#switch:{{lc:{{{trade|¬}}}}}
Line 308: Line 308:
 
   | sv = {{tooltip|Kan ges bort|Om objektet slås in med hjälp av Presentpapper och skänkas bort.}}:
 
   | sv = {{tooltip|Kan ges bort|Om objektet slås in med hjälp av Presentpapper och skänkas bort.}}:
 
   | tr = {{tooltip|Hediye Edilebilir|Eşyanın Hediye Paketi ile kullanılıp kullanılamayacağı.}}:
 
   | tr = {{tooltip|Hediye Edilebilir|Eşyanın Hediye Paketi ile kullanılıp kullanılamayacağı.}}:
   | zh-hans = {{tooltip|礼物包装|该物品是否能够使用礼物包装来包装}}:
+
   | zh-hans = {{tooltip|礼物包装|该物品是否能够使用礼物包装进行包装。}}:
 
   | zh-hant = {{tooltip|禮品包裝|該項目是否能夠使用禮品包裝道具包裝。}}:
 
   | zh-hant = {{tooltip|禮品包裝|該項目是否能夠使用禮品包裝道具包裝。}}:
 
}}]]''' {{!!}} {{#switch:{{lc:{{{gift|¬}}}}}
 
}}]]''' {{!!}} {{#switch:{{lc:{{{gift|¬}}}}}
Line 340: Line 340:
 
   | sv = {{tooltip|Tillverkbar|Om objektet kan användas i Tillverkning.}}:
 
   | sv = {{tooltip|Tillverkbar|Om objektet kan användas i Tillverkning.}}:
 
   | tr = {{tooltip|İşlenebilir|Eşyanın İşlemede kullanılıp kullanılamayacağı}}:
 
   | tr = {{tooltip|İşlenebilir|Eşyanın İşlemede kullanılıp kullanılamayacağı}}:
   | zh-hans = {{tooltip|合成|该物品是否能够参与合成}}:
+
   | zh-hans = {{tooltip|可合成|该物品是否能够参与合成。}}:
 
   | zh-hant = {{tooltip|合成|該項目是否能夠進行合成。}}:
 
   | zh-hant = {{tooltip|合成|該項目是否能夠進行合成。}}:
 
}}]]''' {{!!}} {{#switch:{{lc:{{{craft|¬}}}}}
 
}}]]''' {{!!}} {{#switch:{{lc:{{{craft|¬}}}}}
Line 372: Line 372:
 
   | sv = {{tooltip|Kan målas|Om objektet kan målas med hjälp av en Färgburk.}}:
 
   | sv = {{tooltip|Kan målas|Om objektet kan målas med hjälp av en Färgburk.}}:
 
   | tr = {{tooltip|Boyanabilir|Eşyanın Boya Kutusu ile boyanıp boyanamayacağı.}}:
 
   | tr = {{tooltip|Boyanabilir|Eşyanın Boya Kutusu ile boyanıp boyanamayacağı.}}:
   | zh-hans = {{tooltip|可涂色|该物品是否能够使用油漆桶涂色}}:
+
   | zh-hans = {{tooltip|可染色|该物品是否能够使用油漆桶进行染色。}}:
 
   | zh-hant = {{tooltip|可塗色|該項目是否能夠使用油漆罐上色。}}:
 
   | zh-hant = {{tooltip|可塗色|該項目是否能夠使用油漆罐上色。}}:
 
}}]]''' {{!!}} {{#switch:{{lc:{{{paint|¬}}}}}
 
}}]]''' {{!!}} {{#switch:{{lc:{{{paint|¬}}}}}
Line 404: Line 404:
 
   | sv = {{tooltip|Namnbyte|Om objektet kan döpas om med en Namnlapp.}}:
 
   | sv = {{tooltip|Namnbyte|Om objektet kan döpas om med en Namnlapp.}}:
 
   | tr = {{tooltip|İsimlendirilebilir|Eşyaya, İsim Etiketi kullanılarak yeni isim verilip verilemeyeceği.}}:
 
   | tr = {{tooltip|İsimlendirilebilir|Eşyaya, İsim Etiketi kullanılarak yeni isim verilip verilemeyeceği.}}:
   | zh-hans = {{tooltip|可命名|该物品是否能够使用名称标签命名}}:
+
   | zh-hans = {{tooltip|可命名|该物品是否能够使用名称标签进行命名}}:
 
   | zh-hant = {{tooltip|改名稱|該項目是否能夠使用命名標籤改名稱。}}:
 
   | zh-hant = {{tooltip|改名稱|該項目是否能夠使用命名標籤改名稱。}}:
 
}}]]''' {{!!}} {{#switch:{{lc:{{{rename|¬}}}}}
 
}}]]''' {{!!}} {{#switch:{{lc:{{{rename|¬}}}}}
Line 432: Line 432:
 
   | pt-br = {{tooltip|Numeração|Se o item fabricado tem um número de fabricação.}}:
 
   | pt-br = {{tooltip|Numeração|Se o item fabricado tem um número de fabricação.}}:
 
   | tr = {{tooltip|İşleme No.?|Eğer eşyanın bir işleme numarası varsa}}:
 
   | tr = {{tooltip|İşleme No.?|Eğer eşyanın bir işleme numarası varsa}}:
   | zh-hans = {{tooltip|合成编号?|该物品是否可以拥有合成编号}}
+
   | zh-hans = {{tooltip|合成编号|该物品是否能够拥有合成编号}}
 
   | zh-hant = {{tooltip|合成編號|該項目是否有合成編號}}:
 
   | zh-hant = {{tooltip|合成編號|該項目是否有合成編號}}:
 
   | ko = {{tooltip|제작 번호|아이템이 제작 번호를 지닌 경우}}
 
   | ko = {{tooltip|제작 번호|아이템이 제작 번호를 지닌 경우}}
Line 469: Line 469:
 
     | sv = {{tooltip|Medeltid|Om föremålet kan användas under Medeltida läge.}}:
 
     | sv = {{tooltip|Medeltid|Om föremålet kan användas under Medeltida läge.}}:
 
     | tr = {{tooltip|Orta Çağ|Eşyanın, Orta Çağ modunda kullanılıp kullanılamayacağı.}}:
 
     | tr = {{tooltip|Orta Çağ|Eşyanın, Orta Çağ modunda kullanılıp kullanılamayacağı.}}:
     | zh-hans = {{tooltip|中世纪|该物品是否能中世纪模式下使用}}:
+
     | zh-hans = {{tooltip|中世纪|该物品是否能够在中世纪模式下使用。}}:
 
     | zh-hant = {{tooltip|中世紀|該物品是否可在中世紀模式下使用。}}:
 
     | zh-hant = {{tooltip|中世紀|該物品是否可在中世紀模式下使用。}}:
 
}}]]''' {{!!}} {{#switch:{{lc:{{{medieval|¬}}}}}
 
}}]]''' {{!!}} {{#switch:{{lc:{{{medieval|¬}}}}}
Line 620: Line 620:
 
     | sv = Laddningstyp
 
     | sv = Laddningstyp
 
     | tr = Dolduruş Tipi
 
     | tr = Dolduruş Tipi
     | zh-hans = 填充类型:
+
     | zh-hans = 填装类型:
 
     | zh-hant = 填充類型:
 
     | zh-hant = 填充類型:
 
}}''' {{!!}} {{{reload-type}}}
 
}}''' {{!!}} {{{reload-type}}}

Revision as of 05:20, 20 January 2020

User item infobox
User item infobox
Basic Information
Ammunition
Loadout Stats

User item infobox
Level 0-100


Template documentation [view] [edit] [history] [purge]

This infobox template can be used to display fake or personal items in user pages.

Usage

Please remove the parameters that are left blank. See Parameters section below for documentation of all parameters.

{{User item infobox
| title = 
| infoboxcolour = 
| image = 
| imagewidth = 
| kill-icon-1 = 
...
| kill-icon-6 = 

| basic-information = 
| wearable = 
| used-by = 
| slot = 
| equip-region-1 = 
| equip-region-2 = 
| contributed-by = 
| released = 
| availability = 
| trade = 
| gift = 
| craft = 
| paint = 
| rename = 
| numbered = 
| medieval = 
| taunt-kill = 

| ammo = 
| ammo-loaded = 
| ammo-carried = 
| ammo-type = 
| reload-type = 

| loadout = 
| base-item = 
| custom-name = 
| no-custom-name-quotes = 
| custom-icon = 
| quality = 
| prefix = 
| suffix = 
| paint-color = 
| no-level = 
| item-level = 
| att-1-positive = 
...
| att-8-negative = 
| item-description = 
| custom-description = 
| gift-from = 
| date-received = 
| item-expiration = 
| item-uses = 
| item-flags = 
}}

Parameters

All parameters are completely optional. As such, unused parameters should be cleared from the template.

Setup & Image parameters

title
The title displayed on the top of the infobox. If left blank, it'll show your userpage name.
infoboxcolour
Changes the infobox colour. Default is silver. It can be used as a word ("red") or hexadecimal code ("#FF0000).
image
The weapon image displayed under the title without the "File:" prefix. By default, it'll display a "Screenshot needed" image.
imagewidth
Sets the width of the image defined above. The max recommended value (set by default) is 248px.
kill-icon-n
Image for the item's kill icon(s), if any, without the "File:" prefix and ".png" suffix. These fields only support PNG files. Up to 6 kill icons can be used. Please add them in crescent order or they won't work otherwise. (eg. do not add a "4" without a "3")

Basic information parameters

basic-information
Setting this to no will hide the entire "Basic information" section.
wearable
Whether this item is worn (if it's a misc. item or a hat → yes) or not (if it's a weapon, a tool or an action item → no). Only accepts a yes or a no value. Default is no.
used-by
The class or classes that use the item. Basic text parameter.
slot
Item slot, as if it were a weapon. Basic text parameter.
equip-region-n
The item's equip region(s), as if it were a cosmetic item. Basic text parameter.
contributed-by
Creator of the item. Basic text parameter.
released
Item's release date. Basic text parameter.
availability
How the item can be obtained. Basic text parameter.
trade
If the item can be traded. Only accepts a yes or no value.
gift
If the item can be gifted. Only accepts a yes or no value.
craft
If the item can be used in Crafting. Only accepts a yes or no value.
paint
If the item can be painted. Only accepts a yes or no value.
rename
If a Name Tag can be used on the item. Only accepts a yes or no value.
numbered
If this item has a craft number. Only accepts a yes or no value.
medieval
If this item can be used in Medieval mode. Only accepts a yes or no value.
taunt-kill
If this item has a taunt kill. Only accepts a yes or no value.

Ammunition parameters

ammo
Setting this to no will hide the entire "Ammunition" section.
ammo-loaded
Quantity of ammo in the weapon's clip. Basic text parameter.
ammo-loaded
Quantity of ammo available outside of the weapon's clip. Basic text parameter.
ammo-type
Type of ammo used by the weapon. Basic text parameter.
reload-type
How the ammo is reloaded into the weapon's clip. Basic text parameter.

Loadout parameters

loadout
Setting this to no will hide the entire "Loadout stats" section.
base-item
English name of the item being used as a base for the one in the template. For example, setting this to "Flare Gun" without defining the custom-name or custom-icon parameters will display the Flare Gun icon and name. Similarly, setting this parameter to "Flare Gun" while changing custom-name to "Rocket Launcher" will display the Flare Gun icon and the Rocket Launcher name.
custom-name
Replaces the base-item name with a custom one. Basic text parameter.
no-custom-name-quotes
Removes quotation marks from custom names. Only accepts a yes or no value. Default is yes. When set to no, it'll make it look like the item was renamed with a Name Tag.
custom-icon
Replaces the base-item backpack icon with a custom one. Should be used with the "File:" prefix and the extension.
quality
The item's quality. Click here for a list of all accepted values.
prefix
Setting this to none will hide the quality name. Can also be a custom value, which adds this parameter to the beginning of the item's name. Default is none.
suffix
Adds the text entered as a value at the end of the item's name. Default is none.
paint-color
Adds a paint splat on the top right corner of the item, as if it were painted. This should be a hexadecimal code of the paint's color (without the #).
item-level
Indicates the item's level and, if the user defines it, the rank and primary stat tracker on a Strange weapon. Basic text parameter. Default is Level 0-100.
no-level
If set to yes, it'll hide the item's level.
strange-secondary
Secondary stat tracker for Strange weapons, where applicable. Basic text parameter.
att-strangerank-n
Displays up to 3 additional lines for tracking stats from Strange Parts that may have been applied to a weapon. Basic text parameter.
att-n-neutral
att-n-positive
att-n-negative
Displays up to 8 positive, negative and neutral values. Basic text parameter. See these examples for more help.
item-description
Displays a description, as it would in-game. Basic text parameter.
custom-description
Emulates a Description Tag custom description, with quotation marks surrounding it. Basic text parameter. Also replaces the item description field.
gift-from
Displays the source of a gifted item. Basic text parameter.
date-received
Displays the date when it was gifted, unless the gift-from parameter has a value. Basic text parameter.
item-expiration
Displays an expire text defined by the user. Basic text parameter.
item-uses
Shows how many limited uses the item has. Basic text parameter.
item-flags
Shows an item flag, for example Not Tradable or Usable in Crafting. Basic text parameter.

See also