Difference between revisions of "Template:Item infobox"
(Added Czech translation.) |
(Updated/Added the sections for the Dutch language. (Please refrain from translating pages if your eglish and dutch skills are insufficient)) |
||
Line 199: | Line 199: | ||
| ja = キルアイコン | | ja = キルアイコン | ||
| ko = 사살 표시{{#if:{{{kill-icon-2|}}}|s}} | | ko = 사살 표시{{#if:{{{kill-icon-2|}}}|s}} | ||
− | | nl = | + | | nl = Moord icoon{{#if:{{{kill-icon-2|}}}|s}} |
| no = Draps Ikon{{#if:{{{kill-icon-2|}}}|s}} | | no = Draps Ikon{{#if:{{{kill-icon-2|}}}|s}} | ||
| pl = Ikon{{#if:{{{kill-icon-2|}}}|y|a}} zabicia | | pl = Ikon{{#if:{{{kill-icon-2|}}}|y|a}} zabicia | ||
Line 278: | Line 278: | ||
| ja = 使用クラス: | | ja = 使用クラス: | ||
| ko = 사용 클래스 | | ko = 사용 클래스 | ||
− | | nl = | + | | nl = Gebruikt door: |
| no = Brukt av: | | no = Brukt av: | ||
| pl = Klasa: | | pl = Klasa: | ||
Line 302: | Line 302: | ||
| ja = 装備: | | ja = 装備: | ||
| ko = 착용 클래스: | | ko = 착용 클래스: | ||
+ | | nl = Gedragen door: | ||
| no = Båret av: | | no = Båret av: | ||
| pl = Klasa: | | pl = Klasa: | ||
Line 406: | Line 407: | ||
| ja = その他の装飾品 | | ja = その他の装飾品 | ||
| ko = 기타 | | ko = 기타 | ||
− | | nl = | + | | nl = Diversen |
| no = Diverse | | no = Diverse | ||
| fr = Objets divers | | fr = Objets divers | ||
Line 427: | Line 428: | ||
| it = Azione | | it = Azione | ||
| ja = アクション | | ja = アクション | ||
+ | | nl = Actie | ||
| no = Kamp | | no = Kamp | ||
| pl = Działanie | | pl = Działanie | ||
Line 530: | Line 532: | ||
| ja = 入手方法: | | ja = 入手方法: | ||
| ko = 획득방법 | | ko = 획득방법 | ||
− | | nl = | + | | nl = Verkrijgbaarheid: |
| no = Tilgjengelighet: | | no = Tilgjengelighet: | ||
| pl = Dostępność: | | pl = Dostępność: | ||
Line 594: | Line 596: | ||
| ja = {{tooltip|価格|Mann Co. Store/ja}} | | ja = {{tooltip|価格|Mann Co. Store/ja}} | ||
| ko = {{tooltip|가격|만사 스토어 가격}} | | ko = {{tooltip|가격|만사 스토어 가격}} | ||
+ | | nl = {{tooltip|Prijs|Prijs van het item in de Mann Co. Store.}} | ||
| no = {{tooltip|Pris|Gjenstandens pris i Mann Co. Butikken.}} | | no = {{tooltip|Pris|Gjenstandens pris i Mann Co. Butikken.}} | ||
| pl = {{tooltip|Cena|Cena przedmiotu w Sklepie Mann Co.}} | | pl = {{tooltip|Cena|Cena przedmiotu w Sklepie Mann Co.}} | ||
Line 629: | Line 632: | ||
| ja = {{tooltip|交換|Trading/ja}} | | ja = {{tooltip|交換|Trading/ja}} | ||
| ko = {{tooltip|교환 여부|아이템이 교환 가능할 시}} | | ko = {{tooltip|교환 여부|아이템이 교환 가능할 시}} | ||
+ | | nl = {{tooltip|Ruilbaar|Of je het item kan Ruilen.}} | ||
| no = {{tooltip|Byttbar|Om gjenstanden kan brukes i bytting.}} | | no = {{tooltip|Byttbar|Om gjenstanden kan brukes i bytting.}} | ||
| pl = {{tooltip|Wymiana|Czy przedmiot jest wymienialny?}} | | pl = {{tooltip|Wymiana|Czy przedmiot jest wymienialny?}} | ||
Line 662: | Line 666: | ||
| ja = {{tooltip|ギフト|Gift Wrap/ja}} | | ja = {{tooltip|ギフト|Gift Wrap/ja}} | ||
| ko = {{tooltip|선물 여부|선물 포장이 가능할 시}} | | ko = {{tooltip|선물 여부|선물 포장이 가능할 시}} | ||
+ | | nl = {{tooltip|Schenkbaar|Of je dit item kunt inpakken met Geschenk Papier.}} | ||
| no = {{tooltip|Pakkbar|Om gjenstanden kan bli pakket in med gavepapir.}} | | no = {{tooltip|Pakkbar|Om gjenstanden kan bli pakket in med gavepapir.}} | ||
| pl = {{tooltip|Prezent|Czy przedmiot może zostać spakowany jako prezent?}} | | pl = {{tooltip|Prezent|Czy przedmiot może zostać spakowany jako prezent?}} | ||
Line 700: | Line 705: | ||
| ja = {{tooltip|作成|Crafting/ja}} | | ja = {{tooltip|作成|Crafting/ja}} | ||
| ko = {{tooltip|제작 여부|아이템이 제작 가능할 시.}} | | ko = {{tooltip|제작 여부|아이템이 제작 가능할 시.}} | ||
+ | | nl = {{tooltip|Smeedbaar|Of je het item kunt Smeden.}} | ||
| no = {{tooltip|Konstruerbar|Om gjenstanden kan brukes i konstruering.}} | | no = {{tooltip|Konstruerbar|Om gjenstanden kan brukes i konstruering.}} | ||
| pl = {{tooltip|Wytwarzanie|Czy przedmiot można używać w wytwarzaniu?}} | | pl = {{tooltip|Wytwarzanie|Czy przedmiot można używać w wytwarzaniu?}} | ||
Line 734: | Line 740: | ||
| ja = {{tooltip|ペイント缶|Paint Can/ja}} | | ja = {{tooltip|ペイント缶|Paint Can/ja}} | ||
| ko = {{tooltip|색칠 여부|아이템이 페인트 사용이 가능할 시}} | | ko = {{tooltip|색칠 여부|아이템이 페인트 사용이 가능할 시}} | ||
+ | | nl = {{tooltip|Verfbaar|Of je het item kunt verven met Verf.}} | ||
| no = {{tooltip|Malbar|Om gjenstanden kan bli malt med et malingsspann.}} | | no = {{tooltip|Malbar|Om gjenstanden kan bli malt med et malingsspann.}} | ||
| pl = {{tooltip|Kolorowanie|Czy przedmiot może być przemalowany?}} | | pl = {{tooltip|Kolorowanie|Czy przedmiot może być przemalowany?}} | ||
Line 786: | Line 793: | ||
| ja = {{tooltip|名前タグ|Nametag/ja}} | | ja = {{tooltip|名前タグ|Nametag/ja}} | ||
| ko = {{tooltip|작명 여부|아이템에 이름표 사용이 가능할 시}} | | ko = {{tooltip|작명 여부|아이템에 이름표 사용이 가능할 시}} | ||
+ | | nl = {{tooltip|Benoembaar|Of je het item ene naam kan geven met het Naam Label.}} | ||
| no = {{tooltip|Navnbar|Om gjenstanden kan bli omkalt med en navnelapp.}} | | no = {{tooltip|Navnbar|Om gjenstanden kan bli omkalt med en navnelapp.}} | ||
| pl = {{tooltip|Nazywanie|Czy przedmiot może mieć zmienioną nazwę?}} | | pl = {{tooltip|Nazywanie|Czy przedmiot może mieć zmienioną nazwę?}} | ||
Line 818: | Line 826: | ||
| fr = {{tooltip|Médiéval|Si l'objet peut être utilisé durant le mode Médiéval.}} | | fr = {{tooltip|Médiéval|Si l'objet peut être utilisé durant le mode Médiéval.}} | ||
| ja = {{tooltip|Medieval|メディーバル・モードで使えるかどうか}} | | ja = {{tooltip|Medieval|メディーバル・モードで使えるかどうか}} | ||
+ | | nl = {{tooltip|Middeleeuws|Of je het item kunt gebruiken in de Middeleeuwse modus.}} | ||
| pl = {{tooltip|Średniowiecze|Czy przedmiot może być używany w Trybie Średniowiecznym?}} | | pl = {{tooltip|Średniowiecze|Czy przedmiot może być używany w Trybie Średniowiecznym?}} | ||
| pt-br = {{tooltip|Medieval|Se o item pode ser utilizado no Modo Medieval.}} | | pt-br = {{tooltip|Medieval|Se o item pode ser utilizado no Modo Medieval.}} | ||
Line 877: | Line 886: | ||
| hu = Lőszer | | hu = Lőszer | ||
| it = Munizioni | | it = Munizioni | ||
− | | nl = | + | | nl = Munitie |
| no = Ammunisjon | | no = Ammunisjon | ||
| pl = Amunicja | | pl = Amunicja | ||
Line 913: | Line 922: | ||
| ja = 装弾数: | | ja = 装弾数: | ||
| ko = 일회 탄환 수 : | | ko = 일회 탄환 수 : | ||
+ | | en = Munitie Geladen: | ||
| hu = Tárkapacitás: | | hu = Tárkapacitás: | ||
| it = Munizioni in canna: | | it = Munizioni in canna: | ||
Line 955: | Line 965: | ||
| hu = Lőszer | | hu = Lőszer | ||
| it = Munizioni trasportate: | | it = Munizioni trasportate: | ||
− | | nl = | + | | nl = Munitie Gehouden: |
| no = Ammo holdt: | | no = Ammo holdt: | ||
| pl = Amunicja zapasowa: | | pl = Amunicja zapasowa: | ||
Line 987: | Line 997: | ||
| hu = Lőszertípus: | | hu = Lőszertípus: | ||
| it = Tipo di munizioni: | | it = Tipo di munizioni: | ||
− | | nl = | + | | nl = Munitie type: |
| no = Type ammunisjon: | | no = Type ammunisjon: | ||
| pl = Rodzaj amunicji: | | pl = Rodzaj amunicji: | ||
Line 1,018: | Line 1,028: | ||
| hu = Újratöltés Típusa | | hu = Újratöltés Típusa | ||
| it = Tipo di ricarica: | | it = Tipo di ricarica: | ||
− | | nl = | + | | nl = Type lading: |
| no = Type lading: | | no = Type lading: | ||
| pl = Przeładowywanie: | | pl = Przeładowywanie: | ||
Line 1,056: | Line 1,066: | ||
| hu = Statisztikái | | hu = Statisztikái | ||
| it = Statistiche | | it = Statistiche | ||
− | | nl = | + | | nl = Uitrustings Statistieken: |
| no = Inventar Statistikk | | no = Inventar Statistikk | ||
| pl = Statystyki | | pl = Statystyki | ||
Line 1,106: | Line 1,116: | ||
| ja = レベル | | ja = レベル | ||
| ko = 레벨 | | ko = 레벨 | ||
− | | nl = | + | | nl = Niveau |
| no = Nivå | | no = Nivå | ||
| pl = Poziom | | pl = Poziom |
Revision as of 21:06, 19 February 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: all languages (add) |
This infobox template can be used to display images and basic information pertaining to items. For infoboxes for other uses, see Category:Infobox templates.
Contents
Supersession
{{Item infobox}}
deprecates the following templates:
{{Weapon infobox}}
{{Hat infobox}}
{{Tool infobox}}
Errors
This template places pages with incorrect use into tracking categories.
- Pages using
{{Item infobox}}
: 40,329 pages - Pages with errors: 920 pages
Usage
Please remove the parameters that are left blank. See Parameters section below for documentation of all parameters.
{{Item infobox | name = | game = (Only use this if the game is TFC) | type = | image = | team-colors = | team-colors-width = | two-models = | 3d-alt = | 3d-team-alt = | number-of-3d-images = | number-of-3d-team-images = | number-of-3d-alt-images = | view1name = ... | view6name = | displayed-price = | kill-icon-1 = ... | kill-icon-6 = | kill-tooltip-2 = ... | kill-tooltip-6 = | used-by = | slot = | contributed-by = | released = | released-major = | availability = | medieval = | taunt-kill = | trade = | marketable = | craft = | numbered = | paint = | rename = | ammo-loaded = | ammo-carried = | ammo-type = | reload-type = | loadout = | custom-icon = | level = | no-level = | att-1-positive = ... | att-6-negative = | item-description = }}
Parameters
Setup parameters
- name
- The displayed title of the infobox. Not necessary for most English pages as the title is collected from the page's name itself. This is also the name displayed in the loadout stats if enabled (overridden by
loadout-name
). It also overwrites the displaytitle template and changes the article name into the displayed title of the infobox. The following parameters are also aliases forname
, and function in the exact same way:NAME, title, name-override, item-name-override
- type[1]
- Changes the display of information and the categorization of the page based on type.
weapon, cosmetic, taunt, special taunt, action, tool, ingredient
- unused
- Set to anything to mark the item as "unused". This will hide the "Trading", "Crafting", etc, fields that appear by default, and also removes slot categorization. Also sets slot to "Unknown" if one is not defined.
- game[1]
- Not necessary for the majority of items. Team Fortress Classic weapon pages need to set this parameter to "
tfc
".
Image parameters
- image
- The main infobox image to be displayed directly underneath the title.
- Example:
File name.png
- Example:
- imagewidth
- The width of the image, defaults to
250px
. Use this only if the image does not display well at the default size.- Example:
96px
- Example:
- team-colors
- Set to "
yes
" if the item has team-based color variations. The images will be displayed using the syntax "File:RED <Item Name>.png
" (where <Item Name> is collected from the page's actual name). This can be overridden with different filenames usingskin-image-blu
andskin-image-red
(see below).
- team-colors-width
- Sets custom width for the team-based color variation images. Default is 95px.
- team-colors-class1, team-colors-class2 and team-colors-class3
- If item has class specific team colours, specify those classes here. Set to other for "Other classes".
- skin-image-blu and skin-image-red
- The filenames for team-color images. Overrides defaults (see above).
3d model parameters
For a more complete explanation with examples, see Module:3D viewer advanced.
- 3d-team
- If the weapon has >2 team coloured models set to
yes
.
- 3d-alt
- If the weapon has alternate models set to
yes
.
- 3d-team-alt
- If the weapon has both team coloured and non team coloured alt models set to
yes
.
- number-of-3d-team-images
- If 3d-team-alt is true set to the number of team coloured models.
- number-of-3d-alt-images
- If 3d-team-alt is true set to the number of non-team coloured alternate models.
- viewnname
- The name to display for the nth 3D image.
- viewn
- Optional overide for model image filename.
- Example:
Scattergun 3D temp.jpg
- Example:
Buy now button parameters
- displayed-price
- The name of the item to display the price of from the price dictionary, if not the same as the page name.
Kill icon parameters
Main templates:
{{Icon killicon}}
and {{Kill notice}}
The following parameters can only be used if type
has been set to weapon
or taunt
(see above). Up to 6 of each are allowed.
- hide-kill-icon
- Setting to
off
orhide
will hide the kill icon section from the infobox, even iftype
is set toweapon
ortaunt
. Common usage: weapons that do not have a kill icon (e.g. Medi Gun).
- kill-icon-n
- The weapon's kill icons. See
{{Icon killicon}}
for exact naming. By default,kill-icon-1
will be displayed using the page's name; thus in most circumstances, definingkill-icon
parameters is not necessary unless the weapon has additional kill icons (e.g.backstab
orflaming arrow
).
- kill-tooltip-n
- The weapons kill icons with an added tooltip (e.g.
Flaregun
hadouken would have the tooltip "Taunting") . Not a required parameter.
- kill-text-n
- The kill text displayed within the kill notice. If it does not display properly (i.e. the text is too big), wrap the text in
tags.
- Example:
FISH KILL!
- Example:
Information parameters
- used-by
- The class or classes that can use the item. Basic text parameter. Please use
{{Used by}}
instead of plain text.
- slot[1] [
primary, secondary, melee, pda1, pda2
] - Can only be defined when
type
is set toweapon
ortaunt
(see above). Other variations:- primary:
slot1, slot 1, 1
- secondary:
slot2, slot 2, 2
- melee:
slot3, slot 3, 3
- pda1:
pda1, pda 1, disguise kit
- pda2:
pda2, pda 2, watch, cloak
- primary:
- This template will also categorize based on these values.
- The default text displayed by these values can also be overridden by setting
slot
to any other specified value. - Note: this behaviour will disable the automatic categorization based on slot types. Categories will need to be applied to the bottom of the article manually.
- The custom-slot parameter can also be used when the slot type is non-standard (e.g. if the weapon has both Primary and Secondary slots).
- slot[1] [
- crafting-slot [
primary, secondary
] - For weapons that have a different crafting slot to their loadout slot.
- primary:
slot1, slot 1, 1
- secondary:
slot2, slot 3, 3
- primary:
- crafting-slot [
- equip-region and equip-region-2 [
whole head, hat, face, glasses, ears, beard, shirt, medal, arms, back, feet, heavy pocket, engineer belt, engineer pocket, scout necklace, sniper necklace, scout backpack, demoman bombs, medic backpack, medic necklace
] - The item's equip region according to items_game.txt
- equip-region and equip-region-2 [
- contributed-by
- The person(s) who contributed the item to the game. Basic text parameter. Not displayed unless defined specifically. Categorizes the pages into Category:Community-contributed items.
- released
- When the item was released. Basic text parameter. Not displayed unless defined specifically. Please use
{{Patch name}}
instead of plain text.
- released-major
- The named patch the item was released in. Basic text parameter. Not displayed unless defined specifically. Check Template:Dictionary/common_strings#major_update_titles for a list of parameters.
- availability
- The means of obtaining the item. Basic text parameter. Not displayed unless defined specifically. Please use
{{avail}}
instead of plain text.
- show-price
- Used to disable the display of the price if in error. Prices themselves are stored inside
{{Item price/core}}
.- Example:
off
- Example:
- trade[1] [
yes, no
] - If the item can obtained through Trading. Items are marked as tradable by default. Pages with
trade
set tono
are categorized into Category:Untradeable items.
- trade[1] [
gift- Deprecated: Since the February 29, 2016 Patch, only tradable items can be wrapped using the Gift Wrap or Giftapult. The only tradable unwrappable items are the aforementioned tools and the Description Tag. The template handles everything automatically. Not displayed if item is untradable.
- marketable[1] [
yes, no
] - If the item can be sold on the Steam Community Market.
- marketable[1] [
- rename[1] [
yes, no
] - If the item can be used with the Name Tag or Description Tag.
- rename[1] [
- medieval[1] [
yes, no
] - If the item can be used in Medieval Mode. All melee weapons default to yes.
- medieval[1] [
- taunt-kill[1] [
yes, no
] - If the item can Taunt Kill. All weapons default to no.
- taunt-kill[1] [
Ammo parameters
These parameters are only available if type
is set to weapon
or taunt
(see above).
- ammo-loaded
- The amount of ammo available in the clip (or magazine?). Basic text parameter. Hidden if set to "
N/A
" or "∞
".
- ammo-carried
- The amount of additional ammo carried by the player. Basic text parameter. Hidden if set to "
N/A
" or "∞
".
- ammo-type
- The ammo's type. Optional basic text parameter.
- reload-type
- The reloading type. Basic text parameter.
- Common uses: Single, No Reload
- show-ammo
- Set to
off
to disable the display of ammunition stats. Some example uses would be the Razorback, Darwin's Danger Shield, or the Electro Sapper.
Loadout parameters
Main template:
{{Backpack item}}
- loadout
- Set to
yes
to display loadout information as it is displayed in the backpack. Is not displayed by default.
- quality[1] [
normal, unique, community, unusual, self-made, valve
] - Item quality. Defaults to "unique" yellow. (See Rarity#Colors and documentation of
{{Backpack item}}
for full list of parameters).
- quality[1] [
- loadout-name
- The name displayed. Defaults to either the page's name itself or the displayed name (set by
name
, see above). Use this parameter when the infobox name differs to the loadout name (for example, adding the rarity prefix on non-English pages):- Example:
Необычный Призрачный металлолом
(Unusual Haunted Metal Scrap)
- Example:
- loadout-prefix
- English pages will have their loadout name preceded by "The" unless this parameter is set to "none". This will be overridden if 'loadout-name' above is defined.
- custom-icon
- Custom backpack icon for users' own purposes. Usage: entering usual file link without File: prefix.
- level
- The level and type of the item. Basic text parameter. Defaults to "Level 1-100".
- att-n-positive
- Positive attributes. Up to 6 basic text parameters.
- att-n-negative
- Negative attributes. Up to 6 basic text parameters.
- att-n-neutral
- Neutral attributes. Up to 6 basic text parameters. Use
item-description
for weapon or cosmetic descriptions instead.
- item-description
- The item's description. Basic text parameter. Displays the description with a smaller font size and lower line height so it fits neatly and stands out from the item's other attributes. Please use
{{item description}}
instead of plain text.
- item-uses
- The amount of uses the item has. Basic text parameter.
- item-flags
- The flags attached to the item. Basic text parameter.
- prefix
- suffix
- Set to "none" to hide the "Vintage" or "Community", etc, prefix/suffix but keeping the colour. Can also use a custom value, e.g. "prefix/suffix = The Best" will generate "The Best Flare Gun" or "Flare Gun The Best".
Non-article maintenance parameters
These parameters should only be used in certain circumstances.
- cat
- Disables all automatic categorization (i.e. slot categorization, etc). Does not disable maintenance tracking categories.
- override
- Overrides Polycount Pack categorization. Will not be around for much longer.