Template:Infobox Pikmin: Difference between revisions

From Pikmin Fanon
No edit summary
m (Text replacement - "Pikmin dummy icon.png" to "Pikmin icon.png")
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" align="right" style="width: 30em; font-size: 82%; text-align: left; border-style: solid; border-width: 2px; border-color: grey"
{| class="infobox" align="right" style="width: 30em; background-color:#fff; font-size: 80%; text-align: left; border-style: solid; border-width: 2px; border-color: grey"
! 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|{{#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}} }}}'' }}
  {{!}}} | ''{{{customname|{{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|}}}|{{!}}{{{size}}}}}]]|}}
|-
|-
{{#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
{{#if:{{{name|}}}|! width="40%" style="background: #eef;" {{!}} Scientific name
{{!}} {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}}|}}
|-
! width="40%" style="background: #eef;" {{!}} Resistance
{{!}} {{{resistance|None}}}
{{!}} {{{resistance|None}}}
|-
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Attack
! width="40%" style="background: #eef;" {{!}} Attack
{{!}} {{{strength|Average}}}
{{!}} {{{strength|Average}}}
|-
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Digging Speed
! width="40%" style="background: #eef;" {{!}} 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;" {{!}} Throw
{{!}} {{{throw|Average}}}
{{!}} {{{throw|Average}}}
|-
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Carrying capacity
! width="40%" style="background: #eef;" {{!}} Digging speed
{{!}} {{{digging|Average}}}
|-
! width="40%" style="background: #eef;" {{!}} Carrying capacity
{{!}} {{{carry|1}}}
{{!}} {{{carry|1}}}
|-
|-
! width="40%" style="background: #e6e9ff;" {{Pipe}} Candypop
! width="40%" style="background: #eef;" {{!}} Candypop
{{!}} {{{candypop|None}}}
{{!}} {{{candypop|None}}}
|}<includeonly>[[Category:Pikmin family]]</includeonly><noinclude>
|}{{#if:{{{nocat|}}}||<includeonly>[[Category:Pikmin family]]</includeonly>}}<noinclude>
{{clear}}
{{clear}}


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:Pikmin icon.png]]</nowiki> here.
|-
|-
! dummyicon
! name
| No || || If the icon for this Pikmin is a placeholder, give this a value like "y".
| No || Unknown || Scientific name.
|-
|-
! resistance
! resistance
Line 80: Line 83:
! 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 95:
|caption=
|caption=
|icon=
|icon=
|dummyicon=
|name=
|resistance=
|resistance=
|strength=
|strength=
Line 97: Line 103:
|carry=
|carry=
|candypop=
|candypop=
|nocat=
}}</pre>
}}</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 17:31, 7 March 2024

Infobox Pikmin
Resistance None
Attack Average
Mobility Average
Throw Average
Digging speed Average
Carrying capacity 1
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:Pikmin icon.png]] here.
name No 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=
}}