Template:Infobox upgrade: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
|-
|-
! style="width: 30%;" | Games
! style="width: 30%;" | Games
| {{#if:{{{p2|}}}|{{p2}}{{#if:{{{p3|}}}{{{p4|}}}|,  }}}}{{#if:{{{p3|}}}|{{p3}}}}{{#if:{{{p4|}}}|,  }}}}{{#if:{{{p4|}}}|{{p4}}}}
| {{#if:{{{p2|}}}|{{p2}}{{#if:{{{p3|}}}{{{p4|}}}|,  }}}}{{#if:{{{p3|}}}|{{p3}}{{#if:{{{p4|}}}|,  }}}}{{#if:{{{p4|}}}|{{p4}}}}
|-
|-
! Function
! Function

Revision as of 11:25, August 20, 2023

{{{name}}}
[[File:{{{image}}}|160px]]
Games
Function {{{function}}}
Requirements Template:Requirements

Info

Place this on every gear's section. This creates an information box with data about the upgrade.

Parameters

Parameter Mandatory Default Detailed description
p2 No If this upgrade appears in Pikmin 2, give this a value, like "y".
p3 No If this upgrade appears in Pikmin 3, give this a value, like "y".
p4 No If this upgrade appears in Pikmin 4, give this a value, like "y".
icon No File name of the collectible's icon, with extension.
name Yes Name of the upgrade.
image Yes File name of the main image, with extension.
size No 160px Size of the image.
caption No Caption for the image, if needed.
function Yes Brief description of the upgrade's function.
requirements Yes What the player needs to do to get this, in brief.

Skeleton

{{infobox upgrade
|p2           = 
|p3           = 
|p4           = 
|icon         = 
|name         = 
|image        = 
|size         = 
|caption      = 
|function     = 
|requirements = 
}}