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.
(Fixed icon size.)
(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
 
(7 intermediate revisions by one other user 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.|32px]]
  {{!}} 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|}}}{{{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
| {{{function}}}
| {{{function}}}
|-
|-
! Requirements
{{per-game field | n=How to obtain | v={{{requirements|}}} | v2={{{requirements2|}}} | v3={{{requirements3|}}} | v4={{{requirements4|}}}{{#if:{{{requirementsost|}}}|<br>[[Olimar's Shipwreck Tale]]: {{{requirementsost}}}}}}}
| {{requirements}}
|}<noinclude>
|}<noinclude>


Line 56: Line 55:
|-
|-
! requirements
! requirements
| '''Yes''' ||  || What the player needs to do to get this, in brief.
| 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.)
|-
! requirements2
| 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.
|-
! requirements3
| 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.
|-
! requirements4
| 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.
|-
! requirementsost
| 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 62: Line 73:
<pre>
<pre>
{{infobox upgrade
{{infobox upgrade
|p2           =  
|p2             =  
|p3           =  
|p3             =  
|p4           =  
|p4             =  
|icon         =  
|icon           =  
|name         =  
|name           =  
|image       =  
|image           =  
|size         =  
|size           =  
|caption     =  
|caption         =  
|function     =  
|function       =  
|requirements =  
|requirements   =
|requirements2  =
|requirements3  =
|requirements4  =
|requirementsost =
}}
}}
</pre>
</pre>


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

edits