Template:Infobox Pikmin: Difference between revisions

From Pikmin Fanon
mNo edit summary
mNo edit summary
Line 3: Line 3:
  {{{!}} style = "min-width:100%;"
  {{{!}} style = "min-width:100%;"
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name|{{PAGENAME}} }}}''
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name|{{PAGENAME}} }}}''
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|{{#if:{{{dummyicon|}}}|The icon for this Pikmin hasn't yet been created.|The icon used to represent this Pikmin.}}]]
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this Pikmin.]]
  {{!}}} | ''{{{name|{{PAGENAME}} }}}'' }}
  {{!}}} | ''{{{name|{{PAGENAME}} }}}'' }}
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{#if: {{{size|300px}}}|{{pipe}}{{{size}}}}}]]|}}
{{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{pipe}}{{{size}}}}}]]|}}
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
Line 30: Line 30:
! width="40%" style="background: #e6e9ff;" {{Pipe}} Candypop
! width="40%" style="background: #e6e9ff;" {{Pipe}} Candypop
{{!}} {{{candypop|None}}}
{{!}} {{{candypop|None}}}
|}<includeonly>[[Category:Pikmin family]]</includeonly><noinclude>
|}{{#if:{{{nocat|}}}||<includeonly>[[Category:Pikmin family]]</includeonly>}}<noinclude>
{{clear}}
{{clear}}


Line 56: Line 56:
! icon
! icon
| No ||  || If the Pikmin has an icon, specify its image here, extension included. If the icon is a placeholder, place <nowiki>Dummy-icon pikmin.png</nowiki> here.
| No ||  || If the Pikmin has an icon, specify its image here, extension included. If the icon is a placeholder, place <nowiki>Dummy-icon pikmin.png</nowiki> here.
|-
! dummyicon
| No ||  || If the icon for this Pikmin is a placeholder, give this a value like "y".
|-
|-
! resistance
! resistance
Line 80: Line 77:
! candypop
! candypop
| Yes || None || The candypop bud associated with this Pikmin color. If no such candypop bud exists, type "None".
| Yes || None || The candypop bud associated with this Pikmin color. If no such candypop bud exists, type "None".
|-
! nocat
| No ||  || Giving this a value like "y" makes the template not auto-categorize the Pikmin.
|}
|}


Line 89: Line 89:
|caption=
|caption=
|icon=
|icon=
|dummyicon=
|resistance=
|resistance=
|strength=
|strength=
Line 97: Line 96:
|carry=
|carry=
|candypop=
|candypop=
|nocat=
}}</pre>
}}</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 23:52, 25 March 2021

Infobox Pikmin
width="40%" style="background: #e6e9ff;" Template:Pipe Resistance None
width="40%" style="background: #e6e9ff;" Template:Pipe Attack Average
width="40%" style="background: #e6e9ff;" Template:Pipe Digging Speed Average
width="40%" style="background: #e6e9ff;" Template:Pipe Mobility Average
width="40%" style="background: #e6e9ff;" Template:Pipe Throw Average
width="40%" style="background: #e6e9ff;" Template:Pipe Carrying capacity 1
width="40%" style="background: #e6e9ff;" Template:Pipe Candypop None

Info

This template is to be used at the top of Pikmin articles. It places an information box on the top-right corner of the page.

Pages with this template are automatically categorized into the corresponding category: Pikmin family.

Parameters

Parameter Mandatory Default Detailed description
name No {{PAGENAME}} If the name of the Pikmin is different from the title of the page, specify it here.
image No Image for the infobox, extension included.
size No The image's size.
caption No The image's caption, if needed.
icon No If the Pikmin has an icon, specify its image here, extension included. If the icon is a placeholder, place Dummy-icon pikmin.png here.
resistance Yes None What hazards the Pikmin is resistant to. If the Pikmin isn't immune to any hazards, type "None".
strength Yes Average The Pikmin's attack strength, qualitative. Examples: low, average, high.
digging Yes Average The Pikmin's digging speed, qualitative. Examples: low, average, high.
mobility Yes Average How quickly the Pikmin moves, qualitative. Examples: low, average, high.
throw Yes Average How high and far the Pikmin can be thrown, qualitative. Examples: low, average, high.
carry Yes 1 The Pikmin's carrying capacity, quantitative. Examples: 1, 5, 10.
candypop Yes None The candypop bud associated with this Pikmin color. If no such candypop bud exists, type "None".
nocat No Giving this a value like "y" makes the template not auto-categorize the Pikmin.

Skeleton

{{infobox Pikmin
|name=
|image=
|size=
|caption=
|icon=
|resistance=
|strength=
|digging=
|mobility=
|throw=
|carry=
|candypop=
|nocat=
}}