Template:Infobox fruit: Difference between revisions

Add a size to the icons since the new versions being uploaded now are not all the same size
(adding MM and BB parameters)
(Add a size to the icons since the new versions being uploaded now are not all the same size)
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#if:{{{clash|}}}||{{game icons|pikmin3=y}}}}
{| class="infobox"
{| class="infobox"
! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} |
! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} |
  {{{!}} style = "width:100%;"
  {{{!}} style = "width:100%;"
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{fruit_name|{{PAGENAME}}}}} {{#if:{{{tclash|}}}|<br><span style="font-size: 80%;">(fruit)</span>}}''
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{fruit_name|{{PAGENAME}}}}} {{#if:{{{tclash|}}}|<br><span style="font-size: 80%;">(fruit)</span>}}''
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Fruit File icon.]]
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|48px|Icon used to represent the fruit on the wiki.]]
  {{!}}} | ''{{{fruit_name|{{PAGENAME}} }}} {{#if:{{{tclash|}}}|<br><span style="font-size: 80%;">(fruit)</span>}}'' }}
  {{!}}} | ''{{{fruit_name|{{PAGENAME}} }}} {{#if:{{{tclash|}}}|<br><span style="font-size: 80%;">(fruit)</span>}}'' }}
|-
|-
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}{{{size|160px}}}]]}}
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}{{{size|160px}}}]]}}
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
{{!}}- }}
! style="width: 30%;" | Juice amount
! style="width: 30%;" | Juice amount
| {{#if:{{{juicep|}}}|
| {{#if:{{{juicep|}}}|
Line 18: Line 17:
{{!}}Each part:{{!!}}{{{juicep}}}
{{!}}Each part:{{!!}}{{{juicep}}}
{{!}}}| {{{juice}}} }}
{{!}}}| {{{juice}}} }}
|-
{{#if:{{{value|}}} |
! [[Mission Mode]] value
{{!}}-
| {{#if:{{{valuep|}}}|
! [[Mission Mode#Collect Treasure!|Mission Mode]] value
{{!}} {{#if:{{{valuep|}}}|
{{{!}}
{{{!}}
{{!}}Whole fruit:{{!!}}{{pokos|{{{value}}}}}
{{!}}Whole fruit:{{!!}}{{pokos|{{{value}}}|y}}
{{!}}-
{{!}}-
{{!}}Each part:{{!!}}{{pokos|{{{valuep}}}}}
{{!}}Each part:{{!!}}{{pokos|{{{valuep}}}|y}}
{{!}}}| {{pokos|{{{value}}}}} }}
{{!}}}| {{!}} {{pokos|{{{value}}}|y}} }} }}
|-
|-
! [[Carrying|Weight]]
! [[Weight]]
| {{#if:{{{weightp|}}}|
| {{#if:{{{weightp|}}}|
{{{!}}
{{{!}}
Line 35: Line 35:
{{!}}}| {{{weight}}} }}
{{!}}}| {{{weight}}} }}
|-
|-
! [[Carrying|Max carriers]]
! Max. [[Carry|carriers]]
| {{#if:{{{max_pikminp|}}}|
| {{#if:{{{max_pikminp|}}}|
{{{!}}
{{{!}}
{{!}}Whole fruit:{{!!}}{{{max_pikmin}}}
{{!}}Whole fruit:{{!!}}{{{max_pikmin}}} ([[Carry#Winged Pikmin|normally]])
{{!}}-
{{!}}-
{{!}}Each part:{{!!}}{{{max_pikminp}}}
{{!}}Each part:{{!!}}{{{max_pikminp}}} ([[Carry#Winged Pikmin|normally]])
{{!}}}| {{{max_pikmin}}} }}
{{!}}}| {{{max_pikmin}}} ([[Carry#Winged Pikmin|normally]]) }}
|-
|-
! Locations
! Locations
| {{{location}}}
| {{{location}}}
|-
|-
! [[Mission Mode#Collect treasure!|Mission Mode]] locations
! [[Mission Mode#Collect Treasure!|Mission Mode]] locations
| {{{mission}}}
| {{{mission|None}}}
|-
|-
! [[Bingo Battle]] locations
! [[Bingo Battle]] locations
| {{{bingo}}}
| {{{bingo|None}}}
|-
! [[Side Stories]] locations
| {{{sidestories|None}}}
|-
|-
|}
|}<includeonly>{{#if:{{{clash|}}}||{{game icons|pikmin3=y}}}} [[Category:Fruits]]</includeonly><noinclude>
<includeonly>[[Category:Fruits]]</includeonly><noinclude>
 
{{clear}}
{{clear}}
==Info==
==Info==
Place this at the top of [[fruit]] articles. This will create an information box with data about the fruit.
Place this at the top of [[fruit]] articles. This will create an information box with data about the fruit.
Line 81: Line 83:
|-
|-
! value<ref name="part"/>
! value<ref name="part"/>
| '''Yes''' ||  || Mission Mode value for the whole fruit.
| No ||  || Mission Mode value for the whole fruit.
|-
|-
! weight<ref name="part"/>
! weight<ref name="part"/>
Line 93: Line 95:
|-
|-
! mission
! mission
| '''Yes''' || || Mission Mode stages it can be found on. No fruits ever appear in Battle enemies!, so just link to the Collect treasure! stage.
| No || None || Mission Mode stages it can be found on. No fruits ever appear in Battle enemies!, so just link to the Collect treasure! section if it exists.
|-
|-
! bingo
! bingo
| '''Yes''' || || Bingo Battle stages it can be found on.
| No || None || Bingo Battle stages it can be found on.
|-
! sidestories
| No || None || Side Stories stages it can be found on.
|-
|-
! clash
! clash
Line 107: Line 112:
<references/>
<references/>


==Template==
==Skeleton==
<pre>
<pre>
{{infobox fruit
{{infobox fruit
Line 125: Line 130:
|mission    =
|mission    =
|bingo      =
|bingo      =
|sidestories =
|clash      =  
|clash      =  
|tclash      =  
|tclash      =