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
(Added a parameter for Side Stories locations.)
(Add a size to the icons since the new versions being uploaded now are not all the same size)
 
(4 intermediate revisions by 3 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}}}|Icon used to represent the fruit on the wiki.]]
  {{!}} 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>}}'' }}
|-
|-
Line 28: Line 27:
{{!}}}| {{!}} {{pokos|{{{value}}}|y}} }} }}
{{!}}}| {{!}} {{pokos|{{{value}}}|y}} }} }}
|-
|-
! [[Carry|Weight]]
! [[Weight]]
| {{#if:{{{weightp|}}}|
| {{#if:{{{weightp|}}}|
{{{!}}
{{{!}}
Line 36: Line 35:
{{!}}}| {{{weight}}} }}
{{!}}}| {{{weight}}} }}
|-
|-
! [[Carry|Max carriers]]
! Max. [[Carry|carriers]]
| {{#if:{{{max_pikminp|}}}|
| {{#if:{{{max_pikminp|}}}|
{{{!}}
{{{!}}
Line 56: Line 55:
| {{{sidestories|None}}}
| {{{sidestories|None}}}
|-
|-
|}<includeonly>[[Category:Fruits]]</includeonly><noinclude>
|}<includeonly>{{#if:{{{clash|}}}||{{game icons|pikmin3=y}}}} [[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.