Difference between revisions of "Template:Pickup infobox"
m |
GrampaSwood (talk | contribs) m |
||
Line 4: | Line 4: | ||
| colspan=2 style="text-align:center;" | | | colspan=2 style="text-align:center;" | | ||
{{{!}}width="100%" class="transparent" | {{{!}}width="100%" class="transparent" | ||
− | {{!}} style="margin: 0 auto;"{{!}}[[ | + | {{!}} style="margin: 0 auto;"{{!}}[[File:{{{pickup-image|Screenshot needed.png}}}|150px|{{BASEPAGENAME}} image]]<br> |
{{!}}} | {{!}}} | ||
|- | |- |
Revision as of 00:02, 18 February 2024
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: en, ar, da, de, es, fi, fr, hu, it, ja, ko, nl, pl, pt, pt-br, ru, sv, tr, zh-hans, zh-hant (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. |