Template:Infobox enemy: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Should fix it. I'll try to rewrite with simpler #ifs tomorrow.)
No edit summary
Line 2: Line 2:
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}''
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}''
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#ifeq:{{{image}}}|||[[Image:{{{image}}}|{{{size}}}]]}}
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image}}}|[[Image:{{{image}}}{{pipe}}{{{size}}}]]|}}
|-
|-
! width="30%" style="background: #e6e9ff;" | Scientific Name
! width="30%" style="background: #e6e9ff;" | Scientific Name
Line 11: Line 11:
|-
|-
! width="30%" style="background: #e6e9ff;" | [[Areas|<font style="color:black">Areas</font>]]
! width="30%" style="background: #e6e9ff;" | [[Areas|<font style="color:black">Areas</font>]]
| width = "70%" | {{{areas}}}{{#ifeq:{{{underground}}}|||<br>
| width = "70%" | {{{areas}}}{{#if:{{{underground}}}|<br>
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Cave{{Pipe}}<font style="color:black">Underground Areas</font>]]
! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Cave{{Pipe}}<font style="color:black">Underground Areas</font>]]
{{Pipe}} width = "70%" {{Pipe}} {{{underground}}}}}{{#ifeq:{{{weight}}}|||<br>
{{Pipe}} width = "70%" {{Pipe}} {{{underground}}}|}}{{#if:{{{weight}}}|<br>
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Weight
! width="30%" style="background: #e6e9ff;" {{Pipe}} Weight
{{Pipe}} width = "70%" {{Pipe}} {{{weight}}}}}{{#ifeq:{{{weight1}}}|||<br>
{{Pipe}} width = "70%" {{Pipe}} {{{weight}}}|}}{{#if:{{{weight1}}}|<br>
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Weight
! width="30%" style="background: #e6e9ff;" {{Pipe}} Weight
{{Pipe}} width = "70%" {{Pipe}} {{{weight1}}} in Pikmin 1
{{Pipe}} width = "70%" {{Pipe}} {{{weight1}}} in Pikmin 1
{{{weight2}}} in Pikmin 2}}{{#ifeq:{{{max_pikmin}}}|||<br>
{{{weight2}}} in Pikmin 2|}}{{#if:{{{max_pikmin}}}|<br>
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Max. Carriers
! width="30%" style="background: #e6e9ff;" {{Pipe}} Max. Carriers
{{Pipe}} width = "70%" {{Pipe}} {{{max_pikmin}}} Pikmin}}{{#ifeq:{{{max_pikmin1}}}|||<br>
{{Pipe}} width = "70%" {{Pipe}} {{{max_pikmin}}} Pikmin|}}{{#if:{{{max_pikmin1}}}|<br>
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Max. Carriers
! width="30%" style="background: #e6e9ff;" {{Pipe}} Max. Carriers
{{Pipe}} width = "70%" {{Pipe}} {{{max_pikmin1}}} Pikmin in Pikmin 1
{{Pipe}} width = "70%" {{Pipe}} {{{max_pikmin1}}} Pikmin in Pikmin 1
{{{max_pikmin2}}} Pikmin in Pikmin 2}}{{#ifeq:{{{seeds}}}|||<br>
{{{max_pikmin2}}} Pikmin in Pikmin 2|}}{{#if:{{{seeds}}}|<br>
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Seed Worth
! width="30%" style="background: #e6e9ff;" {{Pipe}} Seed Worth
{{Pipe}} width = "70%" {{Pipe}} {{{seeds}}}}}{{#ifeq:{{{value}}}|||<br>
{{Pipe}} width = "70%" {{Pipe}} {{{seeds}}}|}}{{#if:{{{value}}}|<br>
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} <font style="color:black">Treasure Value</font>
! width="30%" style="background: #e6e9ff;" {{Pipe}} <font style="color:black">Treasure Value</font>
{{Pipe}} width = "70%" {{Pipe}} {{{value}}} [[poko{{#ifeq:{{{value}}}|1||s}}]]}}{{#ifeq:{{{attacks}}}|||<br>
{{Pipe}} width = "70%" {{Pipe}} {{{value}}} [[poko{{#ifeq:{{{value}}}|1||s}}]]|}}{{#if:{{{attacks}}}|<br>
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Attacks
! width="30%" style="background: #e6e9ff;" {{Pipe}} Attacks
{{Pipe}} width = "70%" {{Pipe}} {{{attacks}}}}}
{{Pipe}} width = "70%" {{Pipe}} {{{attacks}}}|}}
|}<includeonly>{{#ifeq:{{{family}}}|Pikmin|[[Category:Pikmin species]]|{{#ifeq:{{{family}}}|Unknown|[[Category:Creatures with no known family]]|[[Category:{{{family}}}s]]}}}}</includeonly><noinclude>
|}<includeonly>{{#ifeq:{{{family}}}|Pikmin|[[Category:Pikmin species]]|{{#ifeq:{{{family}}}|Unknown|[[Category:Creatures with no known family]]|[[Category:{{{family}}}s]]}}}}</includeonly><noinclude>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>

Revision as of 14:23, February 28, 2008

Infobox enemy
[[Image:{{{image}}}Template:Pipe{{{size}}}]]
Scientific Name {{{name}}}
Family {{{family}}}
Areas {{{areas}}}

Template:Pipe-

width="30%" style="background: #e6e9ff;" Template:Pipe [[CaveTemplate:PipeUnderground Areas]]

Template:Pipe width = "70%" Template:Pipe {{{underground}}}
Template:Pipe-

width="30%" style="background: #e6e9ff;" Template:Pipe Weight

Template:Pipe width = "70%" Template:Pipe {{{weight}}}
Template:Pipe-

width="30%" style="background: #e6e9ff;" Template:Pipe Weight

Template:Pipe width = "70%" Template:Pipe {{{weight1}}} in Pikmin 1 {{{weight2}}} in Pikmin 2
Template:Pipe-

width="30%" style="background: #e6e9ff;" Template:Pipe Max. Carriers

Template:Pipe width = "70%" Template:Pipe {{{max_pikmin}}} Pikmin
Template:Pipe-

width="30%" style="background: #e6e9ff;" Template:Pipe Max. Carriers

Template:Pipe width = "70%" Template:Pipe {{{max_pikmin1}}} Pikmin in Pikmin 1 {{{max_pikmin2}}} Pikmin in Pikmin 2
Template:Pipe-

width="30%" style="background: #e6e9ff;" Template:Pipe Seed Worth

Template:Pipe width = "70%" Template:Pipe {{{seeds}}}
Template:Pipe-

width="30%" style="background: #e6e9ff;" Template:Pipe Treasure Value

Template:Pipe width = "70%" Template:Pipe {{{value}}} pokos
Template:Pipe-

width="30%" style="background: #e6e9ff;" Template:Pipe Attacks

Template:Pipe width = "70%" Template:Pipe {{{attacks}}}