Template:Infobox pikmin: Difference between revisions

m
Text replacement - "{{#if:{{{nocat|}}}||[[Category:" to "{{#if:{{{nocat|{{NAMESPACE}}}}}||[[Category:"
(New documentation style.)
m (Text replacement - "{{#if:{{{nocat|}}}||[[Category:" to "{{#if:{{{nocat|{{NAMESPACE}}}}}||[[Category:")
(30 intermediate revisions by 7 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|}}}|[[File:{{{image|}}}{{!}}{{{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 }}
|-
{{per-game field | n = [[Carry]]ing capacity | v = {{{carry|}}} | v2 = {{{carry2|}}} | v3 = {{{carry3|}}} | v4 = {{{carry4|}}} | vh = {{{carryh|}}} | vb = {{{carryb|}}} | dv = Unknown }}
|-
{{#if:{{{psize|}}}|! {{tt|Size|Value listed on its e-card.}}
{{!}} {{{psize}}} }}
|-
{{#if:{{{piklopedia4|}}}|! ''Pikmin 4'' [[Piklopedia (Pikmin 4)|Piklopedia]] number
{{!}} {{{piklopedia4}}} }}
|-
|-
! style="background: #e6e9ff;" | [[Carrying]] capacity
{{#if:{{{va|}}}|! Voice actor
| {{{carry}}}{{#if:{{{height|}}}|<br />
{{!}} {{{va}}} }}
{{!}}-
|}<includeonly>{{#if:{{{nocat|{{NAMESPACE}}}}}||[[Category:Pikmin family]]}}</includeonly><noinclude>
! style="background: #e6e9ff;" {{!}} Size
{{!}} {{{height|}}}mm|}}
|}<noinclude>


{{clear}}
{{clear}}
==Info==
==Info==
Place this template at the top of [[Pikmin family|Pikmin type]] articles. This will create an information box with data about the Pikmin type.
Place this template at the top of [[Pikmin family|Pikmin type]] articles. This will create an information box with data about the Pikmin type.
Articles with this template are automatically categorized under [[:Category:Pikmin family]].


==Parameters==
==Parameters==
Line 41: Line 58:
! caption
! caption
| No ||  || Caption for the image, if needed.
| 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
! resistance
| '''Yes''' ||  || Lethal [[hazards]] the Pikmin type is resistant to.
| '''Yes''' ||  || Lethal [[hazards]] the Pikmin type is resistant to.
|-
|-
! strength
! 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.
| '''Yes''' ||  || Relative attack strength. This is qualitative, so "Normal", "High" or "Low" should work.
|-
|-
Line 51: Line 77:
| '''Yes''' ||  || Relative movement speed. This is qualitative, so "Normal", "Fast" or "Slow" should work.
| '''Yes''' ||  || Relative movement speed. This is qualitative, so "Normal", "Fast" or "Slow" should work.
|-
|-
! throw
! throw<ref name="pgf" />
| '''Yes''' ||  || Throw angle. This is qualitative, so "Normal", "High" or "Low" should work.
| '''Yes''' ||  || Throw angle. This is qualitative, so "Normal", "High" or "Low" should work.
|-
|-
! carry
! carry<ref name="pgf" />
| '''Yes''' ||  || Carrying capacity.
| '''Yes''' ||  || Carrying capacity.
|-
|-
! height
! digging<ref name="pgf" />
| No ||  || Size in mm, as given by the [[e-Reader]] cards.
| '''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>".
|-
! piklopedia4
| No ||  || Number in the [[Piklopedia (Pikmin 4)|''Pikmin 4'' Piklopedia]].
|-
! va
| No ||  || Voice actor/actress.
|-
|-
! name
! name
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' || If the Pikmin type's name is different from the page title's, specify the name here.
| 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/>


==Template==
==Skeleton==
<pre>
<pre>
{{infobox pikmin
{{infobox pikmin
|image     =  
|image       =  
|size       =  
|size       =  
|caption   =  
|caption     =
|resistance =  
|icon        =
|strength   =  
|scientific  =
|mobility   =  
|family      =
|throw     =  
|resistance =  
|carry     =  
|strength   =  
|height     =  
|mobility   =  
|name       =  
|throw       =  
|carry       =  
|digging     =
|psize      =
|piklopedia4 =
|va          =  
|name       =  
}}
}}
</pre>
</pre>


[[Category:Infobox templates]]
[[Category:Information boxes]]</noinclude>
</noinclude>