Difference between revisions of "Template:Pickup infobox"

From Team Fortress Wiki
Jump to: navigation, search
m (.hu added)
m (Add 3D viewer)
 
(6 intermediate revisions by 6 users not shown)
Line 3: Line 3:
 
|-
 
|-
 
| colspan=2 style="text-align:center;" |
 
| colspan=2 style="text-align:center;" |
{{{!}}width="100%" class="transparent"
+
{{{!}} width="100%" class="transparent"
{{!}} style="margin: 0 auto;"{{!}}[[Image:{{{pickup-image|Screenshot needed.png}}}|150px|{{BASEPAGENAME}} image]]<br>
+
{{!}} style="margin: 0 auto;" {{!}} {{#if: {{{3d-image-1|}}}
 +
  | {{#invoke:3D viewer advanced|viewer_new}}
 +
  | [[File:{{{image|{{{pickup-image|Screenshot needed.png}}}}}}|{{{imagewidth|150px}}}|alt={{BASEPAGENAME}}]]<br>
 +
  }}
 
{{!}}}
 
{{!}}}
 
|-
 
|-
Line 10: Line 13:
 
   | ar = نوع بيك أب:
 
   | ar = نوع بيك أب:
 
   | de = Art:
 
   | de = Art:
 +
  | da = Type:
 
   | en = Pickup Type:
 
   | en = Pickup Type:
 
   | es = Tipo de recogida:
 
   | es = Tipo de recogida:
Line 16: Line 20:
 
   | hu = Típus:
 
   | hu = Típus:
 
   | it = Tipo di raccolta:
 
   | it = Tipo di raccolta:
 +
  | ja = 種類
 
   | ko = 보급품 종류
 
   | ko = 보급품 종류
 
   | nl = Opraap type:
 
   | nl = Opraap type:
 
   | pl = Typ znajdźki:
 
   | pl = Typ znajdźki:
 
   | pt = Tipo de coletável:
 
   | pt = Tipo de coletável:
   | pt-br = Tipo de Coletável:
+
   | pt-br = Tipo de coletável:
 
   | ru = Внутри могут находиться:
 
   | ru = Внутри могут находиться:
 
   | sv = Uppplockningstyp:
 
   | sv = Uppplockningstyp:
 
   | tr = Tedarik Türü:
 
   | tr = Tedarik Türü:
 +
  | zh-hans = 拾取物类型:
 
   | zh-hant = 撿取類型:
 
   | zh-hant = 撿取類型:
   }}''' || {{{pickup-type}}}
+
   }}''' || {{{type|{{{pickup-type}}}}}}
 
|}<includeonly>{{#switch:{{lc:{{{game|}}}}}
 
|}<includeonly>{{#switch:{{lc:{{{game|}}}}}
 
  | tfc = {{lang cat|Pickups (Classic)}}
 
  | tfc = {{lang cat|Pickups (Classic)}}
Line 31: Line 37:
 
  }}</includeonly><noinclude>
 
  }}</includeonly><noinclude>
 
{{clr}}
 
{{clr}}
{{translation switching|ar, de, es, fi, fr, hu, it, ko, nl, pl, pt, pt-br, ru, sv, tr, zh-hant}}
+
{{translation switching|en, ar, da, de, es, fi, fr, hu, it, ja, ko, nl, pl, pt, pt-br, ru, sv, tr, zh-hans, zh-hant}}
 
{{Template doc}}
 
{{Template doc}}
 
[[Category:Infobox templates|Pickup infobox]]
 
[[Category:Infobox templates|Pickup infobox]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:44, 3 May 2024

Pickup infobox
Pickup infobox
Pickup Type: {{{pickup-type}}}

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

This template adds in information box to articles on pickups. It adds pages to Category:Pickups.

Usage

{{Pickup infobox
| name = (Only use this if the game is TFC)
| game = 
| image = 
| 3d-image-n = 
| 3d-button-n = 
| 3d-viewname-n = 
| type =
}}

Parameters

Parameter Required? Function
name No The name of the pickup if it is anything other than the page name. Use this on translated articles.
game No Team Fortress Classic pages need to set this parameter to "tfc".
image Yes Image of the pickup, resized to 144px wide. Defaults to File:Screenshot needed.png.
3d-[...] No See documentation at Module:3D viewer advanced.
type Yes The type of pickup.