Template:Enemy stats: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Attempted fix for issues with enemies that appear in Pikmin 4 and only 1 other game.)
(Attempted fix for issues with enemies that appear in Pikmin 4 and only 1 other game.)
Line 19: Line 19:
}}
}}
{{#if:{{{weight2|}}}|
{{#if:{{{weight2|}}}|
{{#if:{{{weight1|}}}{{{weight3|}}}{{{seedsh|}}} | ! style="padding: 4px;" {{!}} [[File:Navigation Pikmin 2 logo.png|96px|link=Pikmin 2|Pikmin 2]] }}
{{#if:{{{weight1|}}}{{{weight3|}}}{{{seedsh|}}}{{{weight4|}}} | ! style="padding: 4px;" {{!}} [[File:Navigation Pikmin 2 logo.png|96px|link=Pikmin 2|Pikmin 2]] }}
{{!}} {{{weight2}}}
{{!}} {{{weight2}}}
{{!}} {{{carriers2}}}
{{!}} {{{carriers2}}}
Line 29: Line 29:
}}
}}
{{#if:{{{weight3|}}}|
{{#if:{{{weight3|}}}|
{{#if:{{{weight1|}}}{{{weight2|}}}{{{seedsh|}}} | ! 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:{{{weight1|}}}{{{weight2|}}}{{{seedsh|}}}{{{weight4|}}} | ! 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|<span title="Winged Pikmin can allow for more carriers.">normally</span>]])}}|N/A}}
{{!}} {{ifnumber|{{{carriers3}}}|{{#ifexpr:{{{carriers3}}} < 2 | {{{carriers3}}} | {{{carriers3}}} ([[Carrying#Winged Pikmin|<span title="Winged Pikmin can allow for more carriers.">normally</span>]])}}|N/A}}
Line 49: Line 49:
}}
}}
{{#if:{{{seedsh|}}}|
{{#if:{{{seedsh|}}}|
{{#if:{{{weight1|}}}{{{weight2|}}}{{{weight3|}}} | ! style="padding: 4px;" {{!}} [[File:Navigation Hey! Pikmin logo.png|96px|link=Hey! Pikmin|Hey! Pikmin]] }}
{{#if:{{{weight1|}}}{{{weight2|}}}{{{weight3|}}}{{{weight4|}}} | ! style="padding: 4px;" {{!}} [[File:Navigation Hey! Pikmin logo.png|96px|link=Hey! Pikmin|Hey! Pikmin]] }}
{{!}} N/A
{{!}} N/A
{{!}} N/A
{{!}} N/A

Revision as of 23:40, July 26, 2023

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, 3, or 4, or h for Hey! Pikmin) 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   = 
|carriers1 = 
|seeds1    = 
|hp1       = 
|regen1    = 
|weight2   = 
|carriers2 = 
|seeds2    = 
|value2    = 
|hp2       = 
|regen2    = 
|weight3   = 
|carriers3 = 
|seeds3    = 
|value3    = 
|hp3       = 
|weight4   = 
|carriers4 = 
|seeds4    = 
|value4    = 
|hp4       = 
|seedsh    = 
|hph       = 
|regenh    = 
}}