Template:Infobox upgrade: Difference between revisions
Jump to navigation
Jump to search
m (Espyo moved page Template:Infobox collectible to Template:Infobox upgrade without leaving a redirect: Serving a greater purpose.) |
(Updated to work for all upgrades.) |
||
Line 1: | Line 1: | ||
{| class="infobox" | {| class="infobox" | ||
! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} | | ! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} | | ||
{{{!}} 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 | {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Icon used to represent the upgrade on the wiki.]] | ||
{{!}}} | ''{{{name | {{!}}} | ''{{{name}}}'' }} | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | [[ | | 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 | |||
| {{#if:{{{p2|}}}|{{p2}}{{#if:{{{p3|}}}|, }}}}{{#if:{{{p3|}}}|{{p3}}}} | |||
|- | |||
! style="width: 30%;" | Location | ! style="width: 30%;" | Location | ||
| {{{area}}} | | {{{area}}} | ||
|- | |- | ||
{{#if:{{{treasure|}}}|! Associated treasure | |||
{{!}} [[{{{treasure}}}]] | |||
{{!}}- }} | |||
! Weight | ! Weight | ||
| {{{weight}}} | | {{{weight}}} | ||
Line 22: | Line 27: | ||
! Function | ! Function | ||
| {{{function}}} | | {{{function}}} | ||
|} | |}<noinclude> | ||
==Info== | ==Info== | ||
Place this | Place this on every [[upgrade]]'s section. This creates an information box with data about the upgrade. | ||
==Parameters== | ==Parameters== | ||
{| class = "wikitable" | {| class = "wikitable" | ||
! Parameter || Mandatory || Default || Detailed description | ! Parameter || Mandatory || Default || Detailed description | ||
|- | |||
! p2 | |||
| No || || ''Pikmin 2'' || If this upgrade appears in {{p2}}, give this a value, like "y". | |||
|- | |||
! p3 | |||
| No || || ''Pikmin 3'' || If this upgrade appears in {{p3}}, give this a value, like "y". | |||
|- | |- | ||
! icon | ! icon | ||
| No || || File name of the icon, with extension. | | No || || File name of the collectible's icon, with extension. | ||
|- | |- | ||
! name | ! name | ||
| '''Yes''' || || Name of the | | '''Yes''' || || Name of the upgrade. | ||
|- | |- | ||
! image | ! image | ||
Line 49: | Line 58: | ||
|- | |- | ||
! area | ! area | ||
| '''Yes''' || || Area in which the collectible is found. | | '''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 | ! weight | ||
Line 58: | Line 70: | ||
|- | |- | ||
! function | ! function | ||
| '''Yes''' || || Brief description of the | | '''Yes''' || || Brief description of the upgrade's function. | ||
|} | |} | ||
==Skeleton== | ==Skeleton== | ||
<pre> | <pre> | ||
{{infobox | {{infobox upgrade | ||
|p2 = | |||
|p3 = | |||
|icon = | |icon = | ||
|name = | |name = | ||
Line 73: | Line 84: | ||
|caption = | |caption = | ||
|area = | |area = | ||
|treasure = | |||
|weight = | |weight = | ||
|max_carriers = | |max_carriers = |
Revision as of 05:09, November 13, 2015
{{{name}}} | |
---|---|
[[File:{{{image}}}|160px]] | |
Games | |
Location | {{{area}}} |
Weight | {{{weight}}} |
Max. carriers | {{{max_carriers}}} |
Function | {{{function}}} |
Info
Place this on every upgrade's section. This creates an information box with data about the upgrade.
Parameters
Parameter | Mandatory | Default | Detailed description | |
---|---|---|---|---|
p2 | No | Pikmin 2 | If this upgrade appears in Pikmin 2, give this a value, like "y". | |
p3 | No | Pikmin 3 | If this upgrade appears in Pikmin 3, 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. | ||
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. | ||
max_carriers | Yes | Maximum number of carrier Pikmin on the object. | ||
function | Yes | Brief description of the upgrade's function. |
Skeleton
{{infobox upgrade |p2 = |p3 = |icon = |name = |image = |size = |caption = |area = |treasure = |weight = |max_carriers = |function = }}