Template:Infobox upgrade: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Text replacement - "<noinclude> ==Info==" to "<noinclude> {{clear}} ==Info==")
(Updating it for P4.)
Line 11: Line 11:
|-
|-
! style="width: 30%;" | Games
! style="width: 30%;" | Games
| {{#if:{{{p2|}}}|{{p2}}{{#if:{{{p3|}}}|, &nbsp;}}}}{{#if:{{{p3|}}}|{{p3}}}}
| {{#if:{{{p2|}}}|{{p2}}{{#if:{{{p3|}}}{{{p4|}}}|, &nbsp;}}}}{{#if:{{{p3|}}}|{{p3}}}}{{#if:{{{p4|}}}|, &nbsp;}}}}{{#if:{{{p4|}}}|{{p4}}}}
|-
|-
! Function
! Function
| {{{function}}}
| {{{function}}}
|-
|-
! colspan="2" style="text-align: center;"| Object info
! Requirements
|-
| {{requirements}}
! style="width: 30%;" | Location
| {{{area}}}
|-
{{#if:{{{treasure|}}}|! [[Treasure]] name
{{!}} [[{{{treasure}}}]] }}
|-
{{per-game field | v = {{{weight|}}}| v2 = {{{weight2|}}} | v3 = {{{weight3|}}} | n = [[Weight]]}}
|-
{{per-game field | v = {{{max_carriers|}}}| v2 = {{{max_carriers2|}}} | v3 = {{{max_carriers3|}}} | n = Max. [[Carry|carriers]]}}
|}<noinclude>
|}<noinclude>


{{clear}}
{{clear}}
==Info==
==Info==
Place this on every [[upgrade]]'s section. This creates an information box with data about the upgrade.
Place this on every [[gear]]'s section. This creates an information box with data about the upgrade.


==Parameters==
==Parameters==
Line 42: Line 33:
! p3
! p3
| No ||  || If this upgrade appears in {{p3}}, give this a value, like "y".
| No ||  || If this upgrade appears in {{p3}}, give this a value, like "y".
|-
! p4
| No ||  || If this upgrade appears in {{p4}}, give this a value, like "y".
|-
|-
! icon
! icon
Line 57: Line 51:
! caption
! caption
| No ||  || Caption for the image, if needed.
| No ||  || Caption for the image, if needed.
|-
! area
| '''Yes''' ||  || Area(s) in which the upgrade's collectible is found.
|-
! treasure
| No ||  || If it's a ''Pikmin 2'' upgrade, specify what treasure gives the ability here.
|-
! weight
| '''Yes''' ||  || The collectible's weight.
|-
! weight2
| No ||  || The collectible's weight in ''Pikmin 2'', if different from ''Pikmin 3''.
|-
! weight3
| No ||  || The collectible's weight in ''Pikmin 3'', if different from ''Pikmin 2''.
|-
! max_carriers
| '''Yes''' ||  || Maximum number of carrier Pikmin on the object.
|-
! max_carriers2
| '''Yes''' ||  || Maximum number of carrier Pikmin on the object in ''Pikmin 2'', if different from ''Pikmin 3''.
|-
! max_carriers3
| '''Yes''' ||  || Maximum number of carrier Pikmin on the object in ''Pikmin 3'', if different from ''Pikmin 2''.
|-
|-
! function
! function
| '''Yes''' ||  || Brief description of the upgrade's function.
| '''Yes''' ||  || Brief description of the upgrade's function.
|-
! requirements
| '''Yes''' ||  || What the player needs to do to get this, in brief.
|}
|}


Line 89: Line 62:
<pre>
<pre>
{{infobox upgrade
{{infobox upgrade
|p2           =  
|p2           =  
|p3           =  
|p3           =
|icon         =  
|p4          =  
|name         =  
|icon         =  
|image         =  
|name         =  
|size         =  
|image       =  
|caption       =
|size         =  
|area          =
|caption      =  
|treasure     =  
|function    =  
|weight        =  
|requirements =  
|weight2      =
|weight3      =
|max_carriers  =
|max_carriers2 =
|max_carriers3 =
|function      =  
}}
}}
</pre>
</pre>


[[Category:Information boxes]]</noinclude>
[[Category:Information boxes]]</noinclude>

Revision as of 11:21, 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 = 
}}