Template:Infobox pikmin: Difference between revisions

adding family due to rock, ice + bulbmin being regarded as parasitic and glow not even regarded as pikmin at all (???)
m (Linked to Throw and Carrying.)
(adding family due to rock, ice + bulbmin being regarded as parasitic and glow not even regarded as pikmin at all (???))
 
(29 intermediate revisions by 6 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"
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{name|{{PAGENAME}} }}}''
! class="infoboxTitle" colspan="2" | {{#if:{{{icon|}}} |
{{{!}} style = "min-width:100%;"
{{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name|{{PAGENAME}} }}}''
{{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|40px|{{#if:{{{custom_icon|}}}|Icon used to represent the pikmin on the wiki.|In-game icon.}}]]
{{!}}} | ''{{{name|{{PAGENAME}} }}}'' }}
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{Pipe}}{{{size|200px}}}]]|}}
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}{{{size|200px}}}]]|}}
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}}}
{{!}}- }}
|-
! style="background: #e6e9ff;" | Resistance
{{#if:{{{scientific|}}}|! Scientific name
{{!}} {{{scientific}}} }}
|-
{{#if:{{{family|}}}|! Family
{{!}} {{{family}}} }}
|-
! style="width: 30%;" | Resistance
| {{{resistance}}}
| {{{resistance}}}
|-
|-
! style="background: #e6e9ff;" | Attack
{{per-game field | n = [[Combat|Attack]] strength | v = {{{strength|}}} | v1 = {{{strength1|}}} | v2 = {{{strength2|}}} | v3 = {{{strength3|}}} | v4 = {{{strength4|}}} | vh = {{{strengthh|}}} | vb = {{{strengthb|}}} | dv = Unknown }}
| {{{strength}}}
|-
|-
! style="background: #e6e9ff;" | Mobility
! Mobility
| {{{mobility}}}
| {{{mobility}}}
|-
|-
! style="background: #e6e9ff;" | [[Throw]]
{{per-game field | n = [[Throw]] | v = {{{throw|}}} | v1 = {{{throw1|}}} | v2 = {{{throw2|}}} | v3 = {{{throw3|}}} | v4 = {{{throw4|}}} | dv = Unknown }}
| {{{throw}}}
|-
{{per-game field | n = [[Dig]]ging speed | v = {{{digging|}}} | v1 = {{{digging1|}}} | v2 = {{{digging2|}}} | v3 = {{{digging3|}}} | v4 = {{{digging4|}}} | dv = Unknown }}
|-
|-
! style="background: #e6e9ff;" | [[Carrying]] capacity
{{per-game field | n = [[Carry]]ing capacity | v = {{{carry|}}} | v2 = {{{carry2|}}} | v3 = {{{carry3|}}} | v4 = {{{carry4|}}} | vh = {{{carryh|}}} | vb = {{{carryb|}}} | dv = Unknown }}
| {{{carry}}}{{#if:{{{height|}}}|<br />
|-
{{Pipe}}-
{{#if:{{{psize|}}}|! {{tt|Size|Value listed on its e-card.}}
! style="background: #e6e9ff;" {{Pipe}} Size
{{!}} {{{psize}}} }}
{{Pipe}} {{{height|}}}mm|}}
|-
|}<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]
{{#if:{{{va|}}}|! Voice actor
{{!}} {{{va}}} }}
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Pikmin family]]}}</includeonly><noinclude>
 
{{clear}}
{{clear}}
==Use==
==Info==
<pre>{{infobox pikmin
Place this template at the top of [[Pikmin family|Pikmin type]] articles. This will create an information box with data about the Pikmin type.
|image     = image name with extension
 
|size       = image size (optional)
Articles with this template are automatically categorized under [[:Category:Pikmin family]].
|resistance = lethal hazards resistant to
 
|strength   = relative strength (qualitative)
==Parameters==
|mobility   = mobility
{| class = "wikitable"
|throw     = throw angle (qualitative)
! Parameter || Mandatory || Default || Detailed description
|carry     = carrying capacity
|-
|height    = size in mm as given by e-Reader cards (optional)
! image
}}</pre></noinclude>
| No ||  || Image name, with extension.
|-
! size
| No || 200px || Image size.
|-
! caption
| No ||  || Caption for the image, if needed.
|-
! icon
| No ||  || If the Pikmin has an icon, specify its image here, extension included.
|-
! scientific
| No ||  || Scientific name.
|-
! family
| No ||  || Family name. Field is used for clarification for parasitic types and Glow Pikmin.
|-
! resistance
| '''Yes''' ||  || Lethal [[hazards]] the Pikmin type is resistant to.
|-
! strength<ref name="pgf">This is a per-game field. If this field has the exact same value in all games, use this parameter. Otherwise, use the parameters named after it, but with a 1, 2, 3, h, or b at the end. Example: use "strength" when the strength is the same in all games, but "strength1", "strength2" and "strength3" when each game has a different one.</ref>
| '''Yes''' ||  || Relative attack strength. This is qualitative, so "Normal", "High" or "Low" should work.
|-
! mobility
| '''Yes''' ||  || Relative movement speed. This is qualitative, so "Normal", "Fast" or "Slow" should work.
|-
! throw<ref name="pgf" />
| '''Yes''' ||  || Throw angle. This is qualitative, so "Normal", "High" or "Low" should work.
|-
! carry<ref name="pgf" />
| '''Yes''' ||  || Carrying capacity.
|-
! digging<ref name="pgf" />
| '''Yes''' ||  || Digging speed relative to a Blue Pikmin. This is qualitative, so "Normal", "Fast" or "Slow" should work.
|-
! psize
| No ||  || Size as given by the [[e-Reader]] cards. For instance: "Length: <nowiki>{{mm|50}}</nowiki>".
|-
! va
| No ||  || Voice actor/actress.
|-
! name
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' || If the Pikmin type's name is different from the page title's, specify the name here.
|-
! nocat
| No ||  || Give this a value, like "y", to make it so that the page the template is on is not categorized.
|}
<references/>
 
==Skeleton==
<pre>
{{infobox pikmin
|image      =
|size      =
|caption    =
|icon      =
|scientific =
|family    =
|resistance =
|strength  =
|mobility  =
|throw      =
|carry      =
|digging    =
|psize      =
|va        =
|name      =
}}
</pre>
 
[[Category:Information boxes]]</noinclude>
144

edits