Template:Infobox enemy: Difference between revisions
From Pikmin Fanon
m (Reverting experimental changes.) Tag: Manual revert |
m (Updated. Now includes a "displayfam" field, which will soon be fixed. As always, report any bugs.) |
||
Line 4: | Line 4: | ||
{{{!}} style = "min-width:100%;" | {{{!}} style = "min-width:100%;" | ||
{{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{enemyname|{{PAGENAME}} }}}'' | {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{enemyname|{{PAGENAME}} }}}'' | ||
{{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px | {{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this enemy.]] | ||
{{!}}} | ''{{{enemyname|{{PAGENAME}} }}}'' }} | {{!}}} | ''{{{enemyname|{{PAGENAME}} }}}'' }} | ||
|- | |- | ||
Line 13: | Line 13: | ||
! width="40%" style="background: #eef;" {{pipe}} Scientific name | ! width="40%" style="background: #eef;" {{pipe}} Scientific name | ||
| {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | | {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | ||
|- | |||
|- | |- | ||
{{#if:{{{nofamily|}}}||! width="40%" style="background: #eef;" {{pipe}} Family | {{#if:{{{nofamily|}}}||! width="40%" style="background: #eef;" {{pipe}} Family | ||
{{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]{{#if:{{{af|}}}| {{tt|(assumed)|This canon creature's official family is not known but it can only be assumed that this is its family, given that it is so similar to other members.}}}}{{#if:{{{fanfam|}}}| {{tt|(unofficial)|This canon creature's family is fan-made or fan-given, and is not canonical or official.}}}}|Unknown}}}}}} | {{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|{{#if:{{{displayfam|}}}|[[{{{family}}} family|{{{displayfam}}}]]|[[{{{family}}} family|{{{family}}}]]}}{{#if:{{{af|}}}| {{tt|(assumed)|This canon creature's official family is not known but it can only be assumed that this is its family, given that it is so similar to other members.}}}}{{#if:{{{fanfam|}}}| {{tt|(unofficial)|This canon creature's family is fan-made or fan-given, and is not canonical or official.}}}}|Unknown}}}}}} | ||
|- | |- | ||
{{#if:{{{areas|}}}|! width="40%" style="background: #eef;" {{pipe}} [[Area]]s | {{#if:{{{areas|}}}|! width="40%" style="background: #eef;" {{pipe}} [[Area]]s | ||
Line 56: | Line 57: | ||
{{clear}} | {{clear}} | ||
{{infobox enemy | |||
|icon=Dummy enemy icon.png | |||
}} | |||
==Info== | ==Info== | ||
Line 95: | Line 100: | ||
! icon | ! icon | ||
| No || || If the enemy has an icon, specify its image here, extension included. If the icon is a placeholder, place <nowiki>Dummy enemy icon.png</nowiki> here. | | No || || If the enemy has an icon, specify its image here, extension included. If the icon is a placeholder, place <nowiki>Dummy enemy icon.png</nowiki> here. | ||
|- | |- | ||
! name | ! name | ||
Line 104: | Line 106: | ||
! family | ! family | ||
| No || Unknown || Family name, without the word "family". If the family is unknown, omit it. If nocat is defined, then nofamily should be also, if the family is unknown. | | No || Unknown || Family name, without the word "family". If the family is unknown, omit it. If nocat is defined, then nofamily should be also, if the family is unknown. | ||
|- | |||
! displayfam | |||
|No || || Displayed family name. If the enemy is part of a family but displaying the family with a different name is desired, type it here. | |||
|- | |- | ||
! af | ! af | ||
Line 169: | Line 174: | ||
|caption= | |caption= | ||
|icon= | |icon= | ||
|name= | |name= | ||
|family= | |family= | ||
|displayfam= | |||
|af= | |af= | ||
|fanfam= | |fanfam= |
Revision as of 21:20, 18 January 2022
Infobox enemy | |
---|---|
width="40%" style="background: #eef;" Template:Pipe Scientific name | Unknown |
width="40%" style="background: #eef;" Template:Pipe Family | Unknown |
| |||
---|---|---|---|
width="40%" style="background: #eef;" Template:Pipe Scientific name | Unknown | ||
width="40%" style="background: #eef;" Template:Pipe Family | Unknown |
Info
This template is to be used at the top of enemy pages. It places an information box on the top-right corner of the page.
Pages with this template are automatically categorized on the corresponding categories: Pikmin 1 enemies, Pikmin 2 enemies, Pikmin 3 enemies, Pikmin Adventure enemies, and Hey! Pikmin enemies.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
pikmin1 | No | If this enemy appears in Pikmin, give this a value like "y". | |
pikmin2 | No | Same as above, but Pikmin 2. | |
pikmin3 | No | Same as above, but Pikmin 3. | |
heypik | No | Same as above, but Hey! Pikmin. | |
pikadv | No | Same as above, but Pikmin Adventure. | |
enemyname | 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 Dummy 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. If nocat is defined, then nofamily should be also, if the family is unknown. |
displayfam | No | Displayed family name. If the enemy is part of a family but displaying the family with a different name is desired, type it here. | |
af | No | Assumed family. If the creature's family is not official, but rather, an assumption, give this a value, like "y". | |
fanfam | No | Fan-made family. If the creature's family is fan-made, give this a value, like "y". | |
areas | No | None | Areas in which it appears. |
underground | No | None | Caves in which it appears. |
challenge | No | None | Challenge Mode levels in which it appears. |
weight | No | 1 | The weight of the creature's body. If this is being applied to a canon enemy, use its most up-to-date carry weight. |
max_pikmin | No | 1 | The maximum amount of individual Pikmin that can carry the enemy's body at once. If this is being applied to a canon enemy, use its most up-to-date max Pikmin count. |
seeds | No | 1 | How many seeds an Onion produces when it absorbs the enemy's body. If this is being applied to a canon enemy, use its most up-to-date seed count. |
value | No | 1 | How many Pokos the creature's body is worth. |
value2 | No | 1 | How many Pokos the creature's body is worth in Pikmin 2. |
value3 | No | 1 | How many Pokos the creature's body is worth in Pikmin 3. |
sparklium | No | 1 | How much sparklium the creature drops when defeated in Hey! Pikmin. |
health | No | 1 | How much health the creature has. |
attacks | No | None | The creature's attacks. |
noicon | No | Giving this a value like "y" disables the display of game icons, to avoid conflicts with other templates. | |
nocat | No | Giving this a value like "y" makes the template not auto-categorize the creature (for instance, for objects that aren't enemies, like eggs). | |
nofamily | No | Giving this a value like "y hides the family attribute (for instance, for objects that aren't enemies, like eggs). |
Skeleton
{{infobox enemy |pikmin1= |pikmin2= |pikmin3= |heypik= |pikadv= |enemyname= |image= |size= |caption= |icon= |name= |family= |displayfam= |af= |fanfam= |areas= |underground= |challenge= |weight= |max_pikmin= |seeds= |value= |value2= |value3= |sparklium= |health= |attacks= |noicon= |nocat= |nofamily= }}