Template:Infobox ship part: Difference between revisions
Jump to navigation
Jump to search
Trig Jegman (talk | contribs) mNo edit summary |
CortexCPU242 (talk | contribs) (Tweaked so Ionium Jet doesn't display the P1 icon) Tag: Mobile edit |
||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
|- | |- | ||
{{#if:{{{pikmin3deluxe|}}}||! colspan="2" style="text-align:center" {{!}} This ship part is {{#ifeq:{{{mandatory}}}|no|not }} required for the S.S. Dolphin to [[Pikmin (game)#Endings|escape the planet]].}} | {{#if:{{{pikmin3deluxe|}}}{{{pikmin4|}}}||! colspan="2" style="text-align:center" {{!}} This ship part is {{#ifeq:{{{mandatory}}}|no|not }} required for the S.S. Dolphin to [[Pikmin (game)#Endings|escape the planet]].}} | ||
|- | |- | ||
! style="width: 30%;" | [[Weight]] | ! style="width: 30%;" | [[Weight]] | ||
Line 19: | Line 19: | ||
|- | |- | ||
! {{#if:{{{pikmin3deluxe|}}}|Mission|Location}} | ! {{#if:{{{pikmin3deluxe|}}}|Mission|Location}} | ||
| [[{{{location}}}]] | | {{#if:{{{pikmin4|}}}||[[{{{location}}}]]}}{{#if:{{{pikmin4|}}}|{{{location}}}}} | ||
|}<includeonly> | |}<includeonly> | ||
{{#if:{{{noicons|}}}||{{game icons|p=y}}}}{{#if:{{{noicons|}}}||{{#if:{{{pikmin3deluxe|}}}|{{game icons|p3=y}}|}}}}{{#if:{{{noicons|}}}||{{#if:{{{pikmin4|}}}|{{game icons|p4=y}}|}}}}[[Category:Ship parts]]</includeonly><noinclude> | {{#if:{{{noicons|}}}||{{#if:{{{pikmin3deluxe|}}}{{{pikmin4|}}}||{{game icons|p=y}}}}}}{{#if:{{{noicons|}}}||{{#if:{{{pikmin3deluxe|}}}|{{game icons|p3=y}}|}}}}{{#if:{{{noicons|}}}||{{#if:{{{pikmin4|}}}|{{game icons|p4=y}}|}}}}[[Category:Ship parts]]</includeonly><noinclude> | ||
{{clear}} | {{clear}} | ||
Line 64: | Line 64: | ||
|- | |- | ||
! location | ! location | ||
| '''Yes''' || || Area it is found in. | | '''Yes''' || || Area it is found in. Needs to be linked manually for ship parts in ''Pikmin 4''. | ||
|- | |- | ||
! name | ! name |
Latest revision as of 05:01, February 21, 2024
Infobox ship part } | |
---|---|
This ship part is required for the S.S. Dolphin to escape the planet. | |
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.
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 or Pikmin 4. | |
pikmin3deluxe | No | "y" if the infobox is for the part's appearance in Pikmin 3 Deluxe. | |
pikmin4 | No | "y" if the infobox is for the part's appearance in Pikmin 4. | |
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. Needs to be linked manually for ship parts in Pikmin 4. | |
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 = |pikmin4 = |mandatory = |weight = |max_pikmin = |location = |name = |noicons = }}