Template:Infobox Pikmin: Difference between revisions

From Pikmin Fanon
mNo edit summary
m (Made slight changes that will temporarily slightly break a small number of pages until rectified.)
Line 2: Line 2:
! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | {{#if:{{{icon|}}} |
! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | {{#if:{{{icon|}}} |
  {{{!}} style = "min-width:100%;"
  {{{!}} style = "min-width:100%;"
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name|{{PAGENAME}} }}}''
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{customname|{{PAGENAME}} }}}''
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this Pikmin.]]
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this Pikmin.]]
  {{!}}} | ''{{{name|{{PAGENAME}} }}}'' }}
  {{!}}} | ''{{{customname|{{PAGENAME}} }}}'' }}
|-
|-
{{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{pipe}}{{{size}}}}}]]|}}
{{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{pipe}}{{{size}}}}}]]|}}
Line 10: Line 10:
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
|-
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Resistance
! width="40%" style="background: #eef;" {{pipe}} Scientific name
| {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}}
|-
! width="40%" style="background: #eef;" {{pipe}} Resistance
{{!}} {{{resistance|None}}}
{{!}} {{{resistance|None}}}
|-
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Attack
! width="40%" style="background: #eef;" {{pipe}} Attack
{{!}} {{{strength|Average}}}
{{!}} {{{strength|Average}}}
|-
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Digging Speed
! width="40%" style="background: #eef;" {{pipe}} Mobility
{{!}} {{{digging|Average}}}
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Mobility
{{!}} {{{mobility|Average}}}
{{!}} {{{mobility|Average}}}
|-
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Throw
! width="40%" style="background: #eef;" {{pipe}} Throw
{{!}} {{{throw|Average}}}
{{!}} {{{throw|Average}}}
|-
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Carrying capacity
! width="40%" style="background: #eef;" {{pipe}} Digging speed
{{!}} {{{digging|Average}}}
|-
! width="40%" style="background: #eef;" {{pipe}} Carrying capacity
{{!}} {{{carry|1}}}
{{!}} {{{carry|1}}}
|-
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Candypop
! width="40%" style="background: #eef;" {{pipe}} Candypop
{{!}} {{{candypop|None}}}
{{!}} {{{candypop|None}}}
|}{{#if:{{{nocat|}}}||<includeonly>[[Category:Pikmin family]]</includeonly>}}<noinclude>
|}{{#if:{{{nocat|}}}||<includeonly>[[Category:Pikmin family]]</includeonly>}}<noinclude>
Line 55: Line 58:
|-
|-
! 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>[[File:Dummy Pikmin icon.png]]</nowiki> here.
|-
! name
| Yes || Unknown || Scientific name.
|-
|-
! resistance
! resistance
Line 89: Line 95:
|caption=
|caption=
|icon=
|icon=
|name=
|resistance=
|resistance=
|strength=
|strength=

Revision as of 00:55, 21 January 2022

Infobox Pikmin
width="40%" style="background: #eef;" Template:Pipe Scientific name Unknown
width="40%" style="background: #eef;" Template:Pipe Resistance None
width="40%" style="background: #eef;" Template:Pipe Attack Average
width="40%" style="background: #eef;" Template:Pipe Mobility Average
width="40%" style="background: #eef;" Template:Pipe Throw Average
width="40%" style="background: #eef;" Template:Pipe Digging speed Average
width="40%" style="background: #eef;" Template:Pipe Carrying capacity 1
width="40%" style="background: #eef;" 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 [[File:Dummy Pikmin icon.png]] here.
name Yes Unknown Scientific name.
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=
|name=
|resistance=
|strength=
|digging=
|mobility=
|throw=
|carry=
|candypop=
|nocat=
}}