Template:Enemy stats: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Trying to add a tooltip to the "(normally)" link on Pikmin 3 max carriers.)
mNo edit summary
Line 31: Line 31:
{{#if:{{one|{{{weight1|}}}|{{{weight2|}}}|{{{weight3|}}}}} | | ! style="padding: 4px;" {{!}} [[File:Pikmin 3 logo.png|96px|link=Pikmin 3|Pikmin 3]] {{tt|(?)|These are the values defined in the game's files, but every specific instance of an enemy in an area can use specific values.}} }}
{{#if:{{one|{{{weight1|}}}|{{{weight2|}}}|{{{weight3|}}}}} | | ! style="padding: 4px;" {{!}} [[File:Pikmin 3 logo.png|96px|link=Pikmin 3|Pikmin 3]] {{tt|(?)|These are the values defined in the game's files, but every specific instance of an enemy in an area can use specific values.}} }}
{{!}} {{{weight3}}}
{{!}} {{{weight3}}}
{{!}} {{ifnumber|{{{carriers3}}}|{{#ifexpr:{{{carriers3}}} < 2 | {{{carriers3}}} | {{{carriers3}}} ([[Carrying#Winged Pikmin|{{tt|normally|Winged Pikmin can allow for more carriers.}}]])}}}}
{{!}} {{ifnumber|{{{carriers3}}}|{{#ifexpr:{{{carriers3}}} < 2 | {{{carriers3}}} | {{{carriers3}}} ([[Carrying#Winged Pikmin|<span title="Winged Pikmin can allow for more carriers.">normally</span>]])}}}}
{{!}} {{{seeds3}}}
{{!}} {{{seeds3}}}
{{!}} {{ifnumber|{{{value3|}}}|{{pokos|{{{value3}}}}}<br>{{bepoints|{{{value3}}}}}|{{{value3}}}}}
{{!}} {{ifnumber|{{{value3|}}}|{{pokos|{{{value3}}}}}<br>{{bepoints|{{{value3}}}}}|{{{value3}}}}}

Revision as of 17:55, July 21, 2016

Game Weight Max.
carriers
Seeds Health

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. The Pikmin 3 version of this parameter doesn't exist.

Skeleton

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