Template:Infobox upgrade: Difference between revisions
Jump to navigation
Jump to search
(Updated to work for all upgrades.) |
mNo edit summary |
||
(19 intermediate revisions by 5 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 | {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|32px|Icon.]] | ||
{{!}}} | ''{{{name}}}'' }} | {{!}}} | ''{{{name}}}'' }} | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | [[File:{{{image}}}{{!}}{{{size|160px}}}]] | | colspan="2" style="text-align: center;" | [[File:{{{image}}}{{!}}{{{size|160px}}}]] | ||
|- | |- | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
|- | |||
! 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}}}} | ||
{{#if:{{{ | |||
{{ | |||
| {{ | |||
|- | |- | ||
! Function | ! Function | ||
| {{{function}}} | | {{{function}}} | ||
|- | |||
{{per-game field | n=How to obtain | v={{{requirements|}}} | v2={{{requirements2|}}} | v3={{{requirements3|}}} | v4={{{requirements4|}}}{{#if:{{{requirementsost|}}}|<br>[[Olimar's Shipwreck Tale]]: {{{requirementsost}}}}}}} | |||
|}<noinclude> | |}<noinclude> | ||
{{clear}} | |||
==Info== | ==Info== | ||
Place this on every [[ | Place this on every [[gear]]'s section. This creates an information box with data about the upgrade. | ||
==Parameters== | ==Parameters== | ||
Line 37: | Line 28: | ||
|- | |- | ||
! p2 | ! p2 | ||
| No || | | No || || If this upgrade appears in {{p2}}, give this a value, like "y". | ||
|- | |- | ||
! p3 | ! p3 | ||
| No || || | | 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. | ||
|- | |- | ||
! | ! function | ||
| '''Yes''' || || | | '''Yes''' || || Brief description of the upgrade's function. | ||
|- | |- | ||
! | ! requirements | ||
| No || || | | 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 76: | Line 73: | ||
<pre> | <pre> | ||
{{infobox upgrade | {{infobox upgrade | ||
|p2 | |p2 = | ||
|p3 | |p3 = | ||
|icon | |p4 = | ||
|name | |icon = | ||
|image | |name = | ||
|size = | |image = | ||
| | |size = | ||
| | |caption = | ||
| | |function = | ||
| | |requirements = | ||
| | |requirements2 = | ||
| | |requirements3 = | ||
|requirements4 = | |||
|requirementsost = | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Information boxes]] | [[Category:Information boxes]]</noinclude> | ||
</noinclude> |
Latest revision as of 12:20, July 16, 2024
{{{name}}} | |
---|---|
[[File:{{{image}}}|160px]] | |
Games | |
Function | {{{function}}} |
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 | 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. |
Skeleton
{{infobox upgrade |p2 = |p3 = |p4 = |icon = |name = |image = |size = |caption = |function = |requirements = |requirements2 = |requirements3 = |requirements4 = |requirementsost = }}