Template:Infobox upgrade: Difference between revisions

Added parameter for the Shipwreck Tale. I considered editing Template:Per-game field instead, but most differences are too small to justify another parameter there.
m (Simplifying template.)
(Added parameter for the Shipwreck Tale. I considered editing Template:Per-game field instead, but most differences are too small to justify another parameter there.)
Tag: Mobile edit
 
(12 intermediate revisions by 4 users not shown)
Line 3: Line 3:
{{{!}} style = "width:100%;"
{{{!}} style = "width:100%;"
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name}}}''
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name}}}''
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Icon used to represent the upgrade or its object on the wiki.]]
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Icon.|32px]]
  {{!}}} | ''{{{name}}}'' }}
  {{!}}} | ''{{{name}}}'' }}
|-
|-
Line 11: Line 11:
|-
|-
! style="width: 30%;" | Games
! style="width: 30%;" | Games
| {{#if:{{{p2|}}}|{{p2}}{{#if:{{{p3|}}}|,  }}}}{{#if:{{{p3|}}}|{{p3}}}}
| {{#if:{{{p2|}}}|{{p2}}{{#if:{{{p3|}}}{{{p4|}}}|,  }}}}{{#if:{{{p3|}}}|{{p3}}{{#if:{{{p4|}}}|,  }}}}{{#if:{{{p4|}}}|{{p4}}}}
|-
|-
! Function
! Function
| {{{function}}}
| {{{function}}}
|-
|-
! colspan="2" style="text-align: center;"| Object info
{{per-game field | n=How to obtain | v={{{requirements|}}} | v2={{{requirements2|}}} | v3={{{requirements3|}}} | v4={{{requirements4|}}}{{#if:{{{requirementsost|}}}|<br>[[Olimar's Shipwreck Tale]]: {{{requirementsost}}}}}}}
|-
! 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. carriers}}
|}<noinclude>
|}<noinclude>


{{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 41: Line 32:
! 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:
| No ||  || Caption for the image, if needed.
| No ||  || Caption for the image, if needed.
|-
|-
! area
! function
| '''Yes''' ||  || Area(s) in which the upgrade's collectible is found.
| '''Yes''' ||  || Brief description of the upgrade's function.
|-
! 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
! requirements
| No ||  || The collectible's weight in ''Pikmin 3'', if different from ''Pikmin 2''.
| No ||  || What the player needs to do to get this, in brief. Only use this if it is the same in all games, or if it only exists in one game. (''Pikmin 4''{{'s}} main story and Olimar's Shipwreck Tale are treated as separate games here.)
|-
|-
! max_carriers
! requirements2
| '''Yes''' ||  || Maximum number of carrier Pikmin on the object.
| No ||  || What the player needs to do to get this, in brief, in ''Pikmin 2''. Only use this if it is present in more games, and is not the same in all games.
|-
|-
! max_carriers2
! requirements3
| '''Yes''' ||  || Maximum number of carrier Pikmin on the object in ''Pikmin 2'', if different from ''Pikmin 3''.
| No ||  || What the player needs to do to get this, in brief, in ''Pikmin 3''. Only use this if it is present in more games, and is not the same in all games.
|-
|-
! max_carriers3
! requirements4
| '''Yes''' ||  || Maximum number of carrier Pikmin on the object in ''Pikmin 3'', if different from ''Pikmin 2''.
| No ||  || What the player needs to do to get this, in brief, in the main story of ''Pikmin 4''. Only use this if it is present in Olimar's Shipwreck Tale or other games, and is not the same in all games.
|-
|-
! function
! requirementsost
| '''Yes''' ||  || Brief description of the upgrade's function.
| No ||  || What the player needs to do to get this, in brief, in Olimar's Shipwreck Tale. Only use this if it is not acquired the same way as in ''Pikmin 4''{{'s}} main story.
|}
|}


Line 88: Line 73:
<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      =  
|requirements2  =  
|weight3      =  
|requirements3  =  
|max_carriers  =  
|requirements4  =  
|max_carriers2 =  
|requirementsost =
|max_carriers3 =
|function      =  
}}
}}
</pre>
</pre>


[[Category:Information boxes]]
[[Category:Information boxes]]</noinclude>
</noinclude>
1,151

edits