Template:Infobox enemy: Difference between revisions
From Pikmin Fanon
Blower Pot (talk | contribs) No edit summary Tag: Reverted |
mNo edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | {{#if:{{{icon|}}} | | ! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | {{#if:{{{icon|}}} | | ||
{{{!}} style = "min-width:100%;" | {{{!}} style = "min-width:100%;" | ||
{{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} {{{customname|{{PAGENAME}} }}} | {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{customname|{{PAGENAME}} }}}'' | ||
{{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this enemy.]] | {{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this enemy.]] | ||
{{!}}} | {{{customname|{{PAGENAME}} }}} }} | {{!}}} | ''{{{customname|{{PAGENAME}} }}}'' }} | ||
|- | |- | ||
{{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]|}} | {{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]|}} | ||
Line 25: | Line 25: | ||
{{!}} {{{challenge|}}}|}} | {{!}} {{{challenge|}}}|}} | ||
|- | |- | ||
{{#if:{{{battle|}}}|! width="40%" style="background: #eef;" {{!}} Battle Mode stages | {{#if:{{{battle|}}}|! width="40%" style="background: #eef;" {{!}} [[Battle Mode]] stages | ||
{{!}} {{{battle|}}}|}} | {{!}} {{{battle|}}}|}} | ||
|- | |- | ||
Line 57: | Line 57: | ||
{{#if:{{{attacks|}}}|! width="40%" style="background: #eef;" {{!}} Attacks | {{#if:{{{attacks|}}}|! width="40%" style="background: #eef;" {{!}} Attacks | ||
{{!}} {{{attacks|None}}}|}} | {{!}} {{{attacks|None}}}|}} | ||
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Enemies]]}}</includeonly><noinclude> | |}<includeonly>{{#if:{{{nocat|}}}||[[Category:Enemies]]}}</includeonly><noinclude> | ||
Line 82: | Line 81: | ||
|- | |- | ||
! icon | ! icon | ||
| No || || If the enemy has an icon, specify its image here, extension included. If the icon is a placeholder, place <nowiki> | | No || || If the enemy has an icon, specify its image here, extension included. If the icon is a placeholder, place <nowiki>Enemy icon.png</nowiki> here. | ||
|- | |- | ||
! name | ! name | ||
Line 103: | Line 102: | ||
|- | |- | ||
! weight | ! weight | ||
| No || 1 || The weight of the creature's body | | No || 1 || The weight of the creature's body. | ||
|- | |- | ||
! max_pikmin | ! max_pikmin | ||
| No || 1 || The maximum amount of individual Pikmin that can carry the enemy's body at once | | No || 1 || The maximum amount of individual Pikmin that can carry the enemy's body at once. | ||
|- | |- | ||
! seeds | ! seeds | ||
| No || 1 || How many seeds an Onion produces when it absorbs the enemy's body | | No || 1 || How many seeds an Onion produces when it absorbs the enemy's body. | ||
|- | |- | ||
! value | ! value |
Latest revision as of 14:03, 23 April 2024
Infobox enemy | |
---|---|
Scientific name | Unknown |
Family | Unknown |
Info
This template is to be used at the top of enemy page sections. It places an information box on the top-right corner of the page.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
customname | No | {{PAGENAME}} | If the name of the enemy is different from the title of the page, specify it here. |
image | No | Image for the infobox, extension included. | |
size | No | The image's size. | |
caption | No | The image's caption, if needed. | |
icon | No | If the enemy has an icon, specify its image here, extension included. If the icon is a placeholder, place Enemy icon.png here. | |
name | Yes | Unknown | Scientific name. |
family | No | Unknown | Family name, without the word "family". If the family is unknown, omit it. |
areas | No | None | Areas in which it appears. |
underground | No | None | Caves in which it appears. |
challenge | No | None | Challenge Mode stages in which it appears. |
challenge | No | None | Battle Mode stages in which it appears. |
weight | No | 1 | The weight of the creature's body. |
max_pikmin | No | 1 | The maximum amount of individual Pikmin that can carry the enemy's body at once. |
seeds | No | 1 | How many seeds an Onion produces when it absorbs the enemy's body. |
value | No | 1 | How many Pokos the creature's body is worth. |
sparklium | No | 1 | How much Sparklium the creature drops when defeated. |
drops | No | N/A | Special items the enemy drops upon death. |
health | No | 1 | How much health the creature has. |
weakness | No | None | Hazards the enemy may be susceptible to. |
resistance | No | None | Hazards the enemy may be resistant to. |
attacks | No | None | The creature's attacks. |
nocat | No | Giving this a value like "y" makes the template not auto-categorize the enemy. |
Skeleton
{{infobox enemy |customname= |image= |size= |caption= |icon= |name= |family= |areas= |underground= |challenge= |battle= |weight= |max_pikmin= |seeds= |value= |sparklium= |drops= |health= |weakness= |resistance= |attacks= |nocat=y }}