Template:Infobox ship part: Difference between revisions
Jump to navigation
Jump to search
(Gave it a Pikmin 3 Deluxe option.) |
(Changed the format a bit.) |
||
Line 1: | Line 1: | ||
{{#if:{{{noicons|}}}||<includeonly>{{game icons|p=y | {{#if:{{{noicons|}}}||<includeonly>{{game icons|p=y|p3={{{pikmin1|}}}}}}} | ||
</includeonly>}} | </includeonly>}} | ||
{| class="infobox" | {| class="infobox" | ||
! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} | | ! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} | | ||
{{{!}} style = "min-width:100%;" | {{{!}} style = "min-width:100%;" | ||
{{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name|{{PAGENAME}} }}}'' | {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name|{{PAGENAME}} }}}''{{#if:{{{pikmin1|}}}|<br><small>(''Pikmin'')</small>}}{{#if:{{{pikmin3deluxe|}}}|<br><small>(''Pikmin 3 Deluxe'')</small>}} | ||
{{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|40px|Icon used to represent the ship part on the wiki.]] | {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|40px|Icon used to represent the ship part on the wiki.]] | ||
{{!}}} | ''{{{name|{{PAGENAME}} }}}'' }} | {{!}}} | ''{{{name|{{PAGENAME}} }}}'' }} | ||
Line 46: | Line 46: | ||
! icon | ! icon | ||
| No || || Icon image name, with extension. | | No || || Icon image name, with extension. | ||
|- | |||
! pikmin1 | |||
| No || || "y" if the infobox is for the part's appearance in {{p1}}, but only if the part also appears in {{p3d}}. | |||
|- | |- | ||
! pikmin3deluxe | ! pikmin3deluxe | ||
| No || || "y" if the infobox is for the part's appearance in | | No || || "y" if the infobox is for the part's appearance in ''Pikmin 3 Deluxe''. | ||
|- | |- | ||
! mandatory | ! mandatory | ||
| No || || "no" if the ship part is not mandatory | | No || || "no" if the ship part is not mandatory in ''Pikmin''. | ||
|- | |- | ||
! weight | ! weight | ||
Line 76: | Line 79: | ||
|caption = | |caption = | ||
|icon = | |icon = | ||
|pikmin3deluxe = | |pikmin1 = | ||
|pikmin3deluxe = | |||
|mandatory = | |mandatory = | ||
|weight = | |weight = |
Revision as of 13:12, November 26, 2020
Infobox ship part | |
---|---|
This is a mandatory ship part. | |
Weight | {{{weight}}} |
Location | [[{{{location}}}]] |
Info
Place this at the top of ship part articles. This creates an information box with data about the ship part.
Articles with this template are automatically categorized under Category:Ship parts, as well as either Category:Mandatory ship parts or Category:Optional ship parts.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
image | No | Image name, with extension. | |
size | No | 160px | Image size. |
caption | No | Caption for the image, if needed. | |
icon | No | Icon image name, with extension. | |
pikmin1 | No | "y" if the infobox is for the part's appearance in Pikmin, but only if the part also appears in Pikmin 3 Deluxe. | |
pikmin3deluxe | No | "y" if the infobox is for the part's appearance in Pikmin 3 Deluxe. | |
mandatory | No | "no" if the ship part is not mandatory in Pikmin. | |
weight | Yes | Ship part's weight. | |
max_pikmin | Yes | Maximum number of carriers. | |
location | Yes | Area it is found in. | |
name | No | If the ship part's name differs from the page's name, specify it here. | |
noicons | No | If this has a value, like "y", auto {{game icons}} is disabled (to avoid conflicts with other templates). |
Skeleton
{{infobox ship part |image = |size = |caption = |icon = |pikmin1 = |pikmin3deluxe = |mandatory = |weight = |max_pikmin = |location = |name = |noicons = }}