Template:Infobox Pikmin: Difference between revisions

From Pikmin Fanon
No edit summary
No edit summary
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; font-size: 82%; text-align: left; border-style: solid; border-width: 2px; border-color: grey"
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{name|{{PAGENAME}}}}}''
! 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;" {{!}} ''{{{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.}}]]
{{!}}} | ''{{{name|{{PAGENAME}} }}}'' }}
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{#if: {{{size|}}}|{{pipe}}{{{size}}}}}]]|}}
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{#if: {{{size|300px}}}|{{pipe}}{{{size}}}}}]]|}}
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
Line 26: 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>[[Category:Infobox templates]]
|}<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
|digging=digging speed (qualitative)
|-
|mobility=mobility (qualitative)
! name
|throw=throw angle (qualitative)
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' || If the name of the Pikmin is different from the title of the page, specify it here.
|carry=carrying capacity (1, 10, etc.)
|-
|candypop=associated Candypop Bud
! image
}}</pre></noinclude>
| 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>Dummy-icon pikmin.png</nowiki> here.
|-
! dummyicon
| No ||  || If the icon for this Pikmin is a placeholder, give this a value like "y".
|-
! 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".
|}
 
==Skeleton==
<pre>{{infobox Pikmin
|name=
|image=
|size=
|caption=
|icon=
|dummyicon=
|resistance=
|strength=
|digging=
|mobility=
|throw=
|carry=
|candypop=
}}</pre>
[[Category:Infobox templates]]</noinclude>

Revision as of 08:25, 22 September 2020

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.
dummyicon No If the icon for this Pikmin is a placeholder, give this a value like "y".
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".

Skeleton

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