Template:Infobox enemy: Difference between revisions
From Pikmin Fanon
mNo edit summary |
(Removed unnecessary fields and options, and made changes that will temporarily break numerous pages until rectified. See Template:Infobox info for more information.) |
||
Line 1: | Line 1: | ||
{| class="infobox" align="right" style="width: 30em; font-size: 82%; text-align: left; border-style: solid; border-width: 2px; border-color: grey" | {| class="infobox" align="right" style="width: 30em; font-size: 82%; text-align: left; border-style: solid; border-width: 2px; border-color: grey" | ||
! 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;" {{!}} ''{{{ | {{!}} 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}} }}}'' }} | ||
|- | |- | ||
{{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{pipe}}{{{size}}}}}]]|}} | {{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{pipe}}{{{size}}}}}]]|}} | ||
Line 14: | Line 13: | ||
| {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | | {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | ||
|- | |- | ||
! width="40%" style="background: #eef;" {{pipe}} Family | |||
{{!}} {{#if:{{{family|}}}|{{{family}}} family|Unknown}} | |||
{{!}} | |||
|- | |- | ||
{{#if:{{{areas|}}}|! width="40%" style="background: #eef;" {{pipe}} [[Area]]s | {{#if:{{{areas|}}}|! width="40%" style="background: #eef;" {{pipe}} [[Area]]s | ||
Line 36: | Line 34: | ||
{{!}} {{{seeds|1}}}|}} | {{!}} {{{seeds|1}}}|}} | ||
|- | |- | ||
{{#if:{{{value|}}}|! width="40%" style="background: #eef;" {{pipe}} Poko value | {{#if:{{{value|}}}|! width="40%" style="background: #eef;" {{pipe}} [[Poko]] value | ||
{{!}} {{pokos|{{{value| | {{!}} {{pokos|{{{value|}}}}} }} | ||
|- | |- | ||
{{#if:{{{sparklium|}}}|! width="40%" style="background: #eef;" {{pipe}} [[Sparklium]] value | {{#if:{{{sparklium|}}}|! width="40%" style="background: #eef;" {{pipe}} [[Sparklium]] value | ||
Line 54: | Line 46: | ||
{{!}} {{{attacks|None}}}|}} | {{!}} {{{attacks|None}}}|}} | ||
|- | |- | ||
|} | |}<includeonly>{{#if:{{{icon|}}}||[[Category:Enemies]]}}</includeonly><noinclude> | ||
{{clear}} | {{clear}} | ||
Line 60: | Line 52: | ||
==Info== | ==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. | 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. | ||
==Parameters== | ==Parameters== | ||
Line 67: | Line 57: | ||
! Parameter || Mandatory || Default || Detailed description | ! Parameter || Mandatory || Default || Detailed description | ||
|- | |- | ||
! | ! customname | ||
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' || If the name of the enemy is different from the title of the page, specify it here. | | No || ''<nowiki>{{PAGENAME}}</nowiki>'' || If the name of the enemy is different from the title of the page, specify it here. | ||
|- | |- | ||
Line 101: | Line 76: | ||
|- | |- | ||
! family | ! family | ||
| No || Unknown || Family name, without the word "family". If the family is unknown, omit it | | No || Unknown || Family name, without the word "family". If the family is unknown, omit it. | ||
|- | |- | ||
! areas | ! areas | ||
Line 132: | Line 98: | ||
! value | ! value | ||
| No || 1 || How many [[Poko]]s the creature's body is worth. | | No || 1 || How many [[Poko]]s the creature's body is worth. | ||
|- | |- | ||
! sparklium | ! sparklium | ||
| No || 1 || How much | | No || 1 || How much [[Sparklium]] the creature drops when defeated. | ||
|- | |- | ||
! health | ! health | ||
Line 147: | Line 107: | ||
! attacks | ! attacks | ||
| No || None || The creature's attacks. | | No || None || The creature's attacks. | ||
|} | |} | ||
==Skeleton== | ==Skeleton== | ||
<pre>{{infobox enemy | <pre>{{infobox enemy | ||
| | |customname= | ||
|image= | |image= | ||
|size= | |size= | ||
Line 172: | Line 118: | ||
|name= | |name= | ||
|family= | |family= | ||
|areas= | |areas= | ||
|underground= | |underground= | ||
Line 182: | Line 125: | ||
|seeds= | |seeds= | ||
|value= | |value= | ||
|sparklium= | |sparklium= | ||
|health= | |health= | ||
|attacks= | |attacks= | ||
}}</pre> | }}</pre> | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Revision as of 21:16, 20 January 2022
Infobox enemy | |
---|---|
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.
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 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. |
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. |
sparklium | No | 1 | How much Sparklium the creature drops when defeated. |
health | No | 1 | How much health the creature has. |
attacks | No | None | The creature's attacks. |
Skeleton
{{infobox enemy |customname= |image= |size= |caption= |icon= |name= |family= |areas= |underground= |challenge= |weight= |max_pikmin= |seeds= |value= |sparklium= |health= |attacks= }}