Template:Enemy stats: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
{{!}} {{{seeds1}}}
{{!}} {{{seeds1}}}
{{#if:{{only|{{{weight1|}}}|{{{weight2|}}}|{{{weight3|}}}}} | | {{!}} N/A }}
{{#if:{{only|{{{weight1|}}}|{{{weight2|}}}|{{{weight3|}}}}} | | {{!}} N/A }}
{{!}} {{tt|{{{hp1}}}|For reference, in Pikmin, a Dwarf Red Bulborb has 130 HP, and a Red Bulborb has 1100.}}
{{!}} {{ifnumber|{{{hp1|}}}|{{tt|{{{hp1}}}|For reference, in Pikmin, a Dwarf Red Bulborb has 130 HP, and a Red Bulborb has 1100.}}|{{{hp1}}}}}
{{!}} {{#ifeq:{{{regen1}}}|0|No| {{#ifeq:{{{regen1}}}|Unknown|Unknown| {{tt|{{{regen1}}} HP/s|The creature can fully regenerate in {{#expr:{{{hp1|0}}}/{{{regen1|0}}}}} seconds.}} }} }}
{{!}} {{#ifeq:{{{regen1}}}|0|No|{{ifnumber|{{{regen1|}}}|{{tt|{{{regen1}}} HP/s|The creature can fully regenerate in {{#expr:{{{hp1|0}}}/{{{regen1|0}}}}} seconds.}}|{{{regen1}}}}}}}
{{!}}-
{{!}}-
}}
}}
Line 23: Line 23:
{{!}} {{{carriers2}}}
{{!}} {{{carriers2}}}
{{!}} {{{seeds2}}}
{{!}} {{{seeds2}}}
{{!}} {{pokos|{{{value2}}}}}
{{!}} {{ifnumber|{{{value2|}}}|{{pokos|{{{value2}}}}}|{{{value2}}}}}
{{!}} {{tt|{{{hp2}}}|For reference, in Pikmin 2, a Dwarf Red Bulborb has 200 HP, and a Red Bulborb has 750.}}
{{!}} {{ifnumber|{{{hp2|}}}|{{tt|{{{hp2}}}|For reference, in Pikmin 2, a Dwarf Red Bulborb has 200 HP, and a Red Bulborb has 750.}}|{{{hp2}}}}}
{{!}} {{#ifeq:{{{regen2}}}|0|No| {{#ifeq:{{{regen2}}}|Unknown|Unknown| {{tt|{{{regen2}}} HP/s|The creature can fully regenerate in {{#expr:{{{hp2|0}}}/{{{regen2|0}}}}} seconds.}} }} }}
{{!}} {{#ifeq:{{{regen2}}}|0|No|{{ifnumber|{{{regen2|}}}|{{tt|{{{regen2}}} HP/s|The creature can fully regenerate in {{#expr:{{{hp2|0}}}/{{{regen2|0}}}}} seconds.}}|{{{regen2}}}}}}}
{{!}}-
{{!}}-
}}
}}
Line 31: Line 31:
{{#if:{{one|{{{weight1|}}}|{{{weight2|}}}|{{{weight3|}}}}} | | ! style="padding: 4px;" {{!}} [[File:Pikmin 3 logo (red).png|96px|link=Pikmin 3|Pikmin 3]] }}
{{#if:{{one|{{{weight1|}}}|{{{weight2|}}}|{{{weight3|}}}}} | | ! style="padding: 4px;" {{!}} [[File:Pikmin 3 logo (red).png|96px|link=Pikmin 3|Pikmin 3]] }}
{{!}} {{{weight3}}}
{{!}} {{{weight3}}}
{{!}} {{#ifeq:{{{carriers3}}}|N/A|N/A| {{#ifexpr:{{{carriers3}}} < 2 | {{{carriers3}}} | {{tm|{{{carriers3}}}|{{#expr:{{{carriers3}}} + ({{{weight3}}} - 1)}}}} }} }}
{{!}} {{ifnumber|{{{carriers3}}}|{{#ifexpr:{{{carriers3}}} < 2 | {{{carriers3}}} | {{tm|{{{carriers3}}}|{{#expr:{{{carriers3}}} + ({{{weight3}}} - 1)}}}}}}|{{{carriers3}}}}}
{{!}} {{{seeds3}}}
{{!}} {{{seeds3}}}
{{!}} {{pokos|{{{value3}}}}}<br>{{icon|Spirit||12px|v=BE enemy|l=Battle Enemies!|n=Points}} &times; {{{value3}}}
{{!}} {{ifnumber|{{{value3|}}}|{{pokos|{{{value3}}}}}<br>{{icon|Spirit||12px|v=BE enemy|l=Battle Enemies!|n=Points}} &times; {{{value3}}}|{{{value3}}}}}
{{!}} {{tt|{{{hp3}}}|For reference, in Pikmin 3, a Dwarf Red Bulborb has 100 HP, and a Red Bulborb has 1000. Rock Pikmin throws use their own damage calculation.}}
{{!}} {{ifnumber|{{{hp3|}}}|{{tt|{{{hp3}}}|For reference, in Pikmin 3, a Dwarf Red Bulborb has 100 HP, and a Red Bulborb has 1000. Rock Pikmin throws use their own damage calculation.}}|{{{hp3}}}}}
{{!}} {{#ifeq:{{{regen3}}}|0|No| {{#ifeq:{{{regen3}}}|Unknown|Unknown| {{tt|{{{regen3}}} HP/s|The creature can fully regenerate in {{#expr:{{{hp3|0}}}/{{{regen3|0}}}}} seconds.}} }} }}
{{!}} {{#ifeq:{{{regen3}}}|0|No|{{ifnumber|{{{regen3|}}}|{{tt|{{{regen3}}} HP/s|The creature can fully regenerate in {{#expr:{{{hp3|0}}}/{{{regen3|0}}}}} seconds.}}|{{{regen3}}}}}}}
{{!}}-
{{!}}-
}}
}}

Revision as of 04:59, September 8, 2015

Game Weight Max.
carriers
Seeds Health Regen.

Info

This template creates a table with an enemy's basic stats. It should be used on a "Stats" section near the start of the enemy's article.

Parameters

For each of these parameters' names, replace the asterisk with the number of the game (1, 2, or 3) for the value in that respective game. If the enemy appears in more than one game, simply add more parameters with the other numbers. The table will be automatically populated with the correct games' lines based on the parameters you feed it.

Parameter Mandatory Default Detailed description
weight* Yes How much its corpse weighs. If it doesn't drop a corpse, write "N/A".
carriers* Yes Maximum number of Pikmin that can carry its corpse. If it doesn't drop a corpse, write "N/A".
seeds* Yes Number of seeds it gives when its corpse is delivered to an Onion. If it doesn't drop a corpse, write "N/A".
value* Yes Poko or point value. Used in caves, Challenge Mode, and Mission Mode. The Pikmin version of this parameter doesn't exist. If it doesn't have a value, write "N/A".
hp* Yes Health value.
regen* Yes Regeneration rate, in health points per second. If it doesn't regenerate, write 0.

Skeleton

{{enemy stats
|weight1 =    |weight2 =    |weight3 = 
|carriers1 =  |carriers2 =  |carriers3 = 
|seeds1 =     |seeds2 =     |seeds3 = 
              |value2 =     |value3 = 
|hp1 =        |hp2 =        |hp3 = 
|regen1 =     |regen2 =     |regen3 = 
}}