Template:Enemy stats: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
(Fixed the hp4 parameter)
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="wikitable" style="margin: 5px auto 10px; text-align: center;"
{| class="wikitable" style="margin: 10px auto; text-align: center;"
{{#if:{{one|{{{weight1|}}}|{{{weight2|}}}|{{{weight3|}}}|{{{seedsh|}}}|{{{weight4|}}}}} | | ! Game }}
{{#if:{{one|{{{weight1|}}}|{{{weight2|}}}|{{{weight3|}}}|{{{seedsh|}}}|{{{weight4|}}}}} | | ! Game }}
! style="min-width: 48px;" | [[Weight]]
! style="min-width: 48px;" | [[Weight]]
! style="min-width: 48px;" | Max.<br>[[Carry|carriers]]
! style="min-width: 48px;" | Max.<br>[[Carry|carriers]]
! style="min-width: 48px;" | Seeds
! style="min-width: 48px;" | [[Sprout|Seed]]s
{{#if:{{{weight2|}}}{{{weight3|}}} | ! style="min-width: 48px;" {{!}} Value }}
! style="min-width: 48px;" | Value
! style="min-width: 48px;" | [[Health]]
! style="min-width: 48px;" | [[Health]]
{{#if:{{{weight1|}}}{{{weight2|}}}{{{seedsh|}}} | ! style="min-width: 48px;" {{!}} [[Health regeneration|Regen.]] }}
{{#if:{{{weight1|}}}{{{weight2|}}}{{{seedsh|}}} | ! style="min-width: 48px;" {{!}} [[Health regeneration|Regen.]] }}
|-
|-
{{#if:{{{weight1|}}}|
{{#if:{{{weight1|}}}|
{{#if:{{{weight2|}}}{{{weight3|}}}{{{seedsh|}}} | ! style="padding: 4px;" {{!}} [[File:Navigation Pikmin logo.png|96px|link=Pikmin (game)|Pikmin]] }}
{{#if:{{{weight2|}}}{{{weight3|}}}{{{seedsh|}}}{{{weight4|}}} | ! style="padding: 4px;" {{!}} [[File:Navigation Pikmin logo.png|96px|link=Pikmin (game)|Pikmin]] }}
{{!}} {{{weight1}}}
{{!}} {{{weight1}}}
{{!}} {{{carriers1}}}
{{!}} {{{carriers1}}}
{{!}} {{{seeds1}}}
{{!}} {{{seeds1}}}
{{#if:{{{weight2|}}}{{{weight3|}}} | {{!}} N/A }}
{{!}} N/A
{{!}} {{ifnumber|{{{hp1|}}}|{{tt|{{{hp1}}}|For reference, in Pikmin, a Dwarf Bulborb has 130 HP, and a Spotty Bulborb has 1100.}}|{{{hp1}}}}}
{{!}} {{ifnumber|{{{hp1|}}}|{{tt|{{{hp1}}}|For reference, in Pikmin, a Dwarf Bulborb has 130 HP, and a Spotty Bulborb has 1100.}}|{{{hp1}}}}}
{{!}} {{#ifeq:{{{regen1}}}|0|No|{{ifnumber|{{{regen1|}}}|{{tt|{{{regen1}}} HP/s|From 0 HP, the creature would fully regenerate in {{#expr:{{{hp1|0}}}/{{{regen1|0}}}}} seconds.}}|{{{regen1}}}}}}}
{{!}} {{#ifeq:{{{regen1}}}|0|No|{{ifnumber|{{{regen1|}}}|{{tt|{{{regen1}}} HP/s|From 0 HP, the creature would fully regenerate in {{#expr:{{{hp1|0}}}/{{{regen1|0}}}}} seconds.}}|{{{regen1}}}}}}}
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 39: Line 39:
}}
}}
{{#if:{{{weight4|}}}|
{{#if:{{{weight4|}}}|
{{#if:{{{weight1|}}}{{{weight2|}}}{{{weight3|}}}{{{seedsh|}}} | ! style="padding: 4px;" {{!}} [[File:Pikmin 4 logo.png|96px|link=Pikmin 4|Pikmin 4]] }}
{{#if:{{{weight1|}}}{{{weight2|}}}{{{weight3|}}}{{{seedsh|}}} | ! style="padding: 4px;" {{!}} [[File:Pikmin 4 Direct Logo.png|96px|link=Pikmin 4|Pikmin 4]] }}
{{!}} {{{weight4}}}
{{!}} {{{weight4}}}
{{!}} {{{carriers4}}}
{{!}} {{{carriers4}}}
{{!}} {{{seeds4}}}
{{!}} {{{seeds4}}}
{{!}} {{sparklium|p4|{{value4}}}}}
{{!}} {{ifnumber|{{{value4|}}}|{{sparklium|p4|{{{value4|}}}}}|{{{value4}}}}}
{{!}} {{{hp4|}}}
{{!}} {{ifnumber|{{{hp4|}}}|{{tt|{{{hp4}}}|For reference, in Pikmin 4, a Dwarf Bulborb has 100 HP, and a Bulborb has 1000.}}|{{{hp4}}}}}
{{#if:{{{weight1|}}}{{{weight2|}}}{{{seedsh|}}} | {{!}} No }}
{{#if:{{{weight1|}}}{{{weight2|}}}{{{seedsh|}}} | {{!}} No }}
{{!}}-
{{!}}-
}}
}}
{{#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
{{!}} N/A
{{!}} {{sparklium|hps|{{{seedsh}}}}}
{{!}} {{sparklium|hps|{{{seedsh}}}}}
{{#if:{{{weight2|}}}{{{weight3|}}} | {{!}} N/A }}
{{!}} {{{hph|}}}
{{!}} {{{hph|}}}
{{!}} {{#ifeq:{{{regenh}}}|0|No|{{{regenh|}}}}}
{{!}} {{#ifeq:{{{regenh}}}|0|No|{{{regenh|}}}}}

Latest revision as of 17:54, April 30, 2024

Game Weight Max.
carriers
Seeds Value 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    = 
}}