Template:Infobox Pikmin: Difference between revisions

From Pikmin Fanon
m (Candypop Bud field had too long of a name for a small infobox.)
m (Text replacement - "Pikmin dummy icon.png" to "Pikmin icon.png")
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="infobox" align="right" style="width: 25em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; 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"
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{name}}}''
! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | {{#if:{{{icon|}}} |
{{{!}} style = "min-width:100%;"
{{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{customname|{{PAGENAME}} }}}''
{{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this Pikmin.]]
{{!}}} | ''{{{customname|{{PAGENAME}} }}}'' }}
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image}}}{{Pipe}}{{{size|200px}}}]] {{#if:{{{caption|}}}|{{clr}}{{{caption}}} }} }}
{{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]|}}
|-
|-
! style="width: 33%; background: #e6e9ff;" | Resistance
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
| {{{resistance}}}
|-
|-
! style="background: #e6e9ff;" | Attack
{{#if:{{{name|}}}|! width="40%" style="background: #eef;" {{!}} Scientific name
| {{{strength}}}
{{!}} {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}}|}}
|-
|-
! style="background: #e6e9ff;" | Mobility
! width="40%" style="background: #eef;" {{!}} Resistance
| {{{mobility}}}
{{!}} {{{resistance|None}}}
|-
|-
! style="background: #e6e9ff;" | Throw
! width="40%" style="background: #eef;" {{!}} Attack
| {{{throw}}}
{{!}} {{{strength|Average}}}
|-
|-
! style="background: #e6e9ff;" | Carrying capacity
! width="40%" style="background: #eef;" {{!}} Mobility
| {{{carry}}}
{{!}} {{{mobility|Average}}}
|-
|-
! style="background: #e6e9ff;" | Candypop Bud
! width="40%" style="background: #eef;" {{!}} Throw
| {{{candypop}}}
{{!}} {{{throw|Average}}}
|}<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]
|-
! width="40%" style="background: #eef;" {{!}} Digging speed
{{!}} {{{digging|Average}}}
|-
! width="40%" style="background: #eef;" {{!}} Carrying capacity
{{!}} {{{carry|1}}}
|-
! width="40%" style="background: #eef;" {{!}} Candypop
{{!}} {{{candypop|None}}}
|}{{#if:{{{nocat|}}}||<includeonly>[[Category:Pikmin family]]</includeonly>}}<noinclude>
{{clear}}
{{clear}}


==Use==
==Info==
<pre>{{infobox pikmin                            *optional field
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.
|name      = name of Pikmin
 
*|image     = image name with extension
Pages with this template are automatically categorized into the corresponding category: [[:Category:Pikmin family|Pikmin family]].
*|size     = image size
 
*|caption   = image caption
==Parameters==
|resistance = hazards resistant to
{| class = "wikitable"
|strength   = relative strength (qualitative)
! Parameter || Mandatory || Default || Detailed description
|mobility   = mobility
|-
|throw     = throw angle (qualitative)
! name
|carry     = carrying capacity
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' || If the name of the Pikmin is different from the title of the page, specify it here.
|candypop   = associated Candypop Bud
|-
}}</pre></noinclude>
! 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 <nowiki>[[File:Pikmin icon.png]]</nowiki> 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==
<pre>{{infobox Pikmin
|name=
|image=
|size=
|caption=
|icon=
|name=
|resistance=
|strength=
|digging=
|mobility=
|throw=
|carry=
|candypop=
|nocat=
}}</pre>
[[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=
}}