Difference between revisions of "Template:Pickup infobox"
Line 16: | Line 16: | ||
| ru = Тип: | | ru = Тип: | ||
}}''' || {{{pickup-type}}} | }}''' || {{{pickup-type}}} | ||
− | |}<includeonly>{{lang cat|Pickups}}</includeonly><noinclude> | + | |}<includeonly>{{#switch:{{lc:{{{game|}}}}} |
+ | | tfc = {{lang cat|Pickups (Classic)}} | ||
+ | | tf2 | #default = {{lang cat|Pickups}} | ||
+ | }}</includeonly><noinclude> | ||
{{clr}} | {{clr}} | ||
{{translation switching|de, es, fr, pl, pt, ru}} | {{translation switching|de, es, fr, pl, pt, ru}} |
Revision as of 19:49, 24 November 2010
Pickup infobox | ||
---|---|---|
| ||
Pickup Type: | {{{pickup-type}}} |
![]() | This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Pickup infobox/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: de, es, fr, pl, pt, ru (add) |
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. |