Template:Infobox enemy: Difference between revisions
From Pikmin Fanon
(Let's test something...) |
mNo edit summary |
||
(67 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" align="right" style="width: 30em; background-color:#fff; font-size: 80%; text-align: left; border-style: solid; border-width: 2px; border-color: grey" | |||
{| class="infobox" align="right" style="width: 30em; font-size: | |||
! 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 | {{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this enemy.]] | ||
{{!}}} | ''{{{ | {{!}}} | ''{{{customname|{{PAGENAME}} }}}'' }} | ||
|- | |- | ||
! colspan="2" style="background: #fff; text-align: center | {{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]|}} | ||
|- | |- | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
|- | |- | ||
! width="40%" style="background: # | ! width="40%" style="background: #eef;" {{!}} Scientific name | ||
| {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | | {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | ||
|- | |- | ||
! width="40%" style="background: #eef;" {{!}} Family | |||
{{!}} {{#if: | {{!}} {{#if:{{{family|}}}|{{{family}}}|Unknown}} | ||
|- | |- | ||
{{#if:{{{areas|}}}|! width="40%" style="background: # | {{#if:{{{areas|}}}|! width="40%" style="background: #eef;" {{!}} [[Area]]s | ||
{{!}} {{{areas|None}}}|}} | {{!}} {{{areas|None}}}|}} | ||
|- | |- | ||
{{#if:{{{underground|}}}|! width="40%" style="background: # | {{#if:{{{underground|}}}|! width="40%" style="background: #eef;" {{!}} [[Cave]]s | ||
{{!}} {{{underground|None}}}|}} | {{!}} {{{underground|None}}}|}} | ||
|- | |- | ||
{{#if:{{{challenge|}}}|! width="40%" style="background: # | {{#if:{{{challenge|}}}|! width="40%" style="background: #eef;" {{!}} [[Challenge Mode]] stages | ||
{{!}} {{{challenge|}}}|}} | {{!}} {{{challenge|}}}|}} | ||
|- | |- | ||
{{#if:{{{weight|}}}|! width="40%" style="background: # | {{#if:{{{battle|}}}|! width="40%" style="background: #eef;" {{!}} [[Battle Mode]] stages | ||
{{!}} {{{battle|}}}|}} | |||
|- | |||
{{#if:{{{weight|}}}|! width="40%" style="background: #eef;" {{!}} Carry weight | |||
{{!}} {{{weight|1}}}|}} | {{!}} {{{weight|1}}}|}} | ||
|- | |- | ||
{{#if:{{{max_pikmin|}}}|! width="40%" style="background: # | {{#if:{{{max_pikmin|}}}|! width="40%" style="background: #eef;" {{!}} Max. carriers | ||
{{!}} {{{max_pikmin|1}}}|}} | {{!}} {{{max_pikmin|1}}}|}} | ||
|- | |- | ||
{{#if:{{{seeds|}}}|! width="40%" style="background: # | {{#if:{{{seeds|}}}|! width="40%" style="background: #eef;" {{!}} Seed worth | ||
{{!}} {{{seeds|1}}}|}} | {{!}} {{{seeds|1}}}|}} | ||
|- | |- | ||
{{#if:{{{value|}}}|! width="40%" style="background: # | {{#if:{{{value|}}}|! width="40%" style="background: #eef;" {{!}} [[Poko]] value | ||
{{!}} {{pokos|{{{value|1}}}}} }} | {{!}} {{pokos|{{{value|}}}}} }} | ||
|- | |||
{{#if:{{{sparklium|}}}|! width="40%" style="background: #eef;" {{!}} [[Sparklium]] value | |||
{{!}} {{sparklium|{{{sparklium|1}}}}} }} | |||
|- | |||
{{#if:{{{drops|}}}|! width="40%" style="background: #eef;" {{!}} Drops | |||
{{!}} {{{drops|N/A}}}|}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{health|}}}|! width="40%" style="background: #eef;" {{!}} Health | ||
{{!}} | {{!}} {{{health|1}}}|}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{weakness|}}}|! width="40%" style="background: #eef;" {{!}} Weaknesses | ||
{{!}} | {{!}} {{{weakness|None}}}|}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{resistance|}}}|! width="40%" style="background: #eef;" {{!}} Resistances | ||
{{!}} | {{!}} {{{resistance|None}}}|}} | ||
|- | |- | ||
{{#if:{{{attacks|}}}|! width="40%" style="background: # | {{#if:{{{attacks|}}}|! width="40%" style="background: #eef;" {{!}} Attacks | ||
{{!}} {{{attacks|None}}}|}} | {{!}} {{{attacks|None}}}|}} | ||
| | |}<includeonly>{{#if:{{{nocat|}}}||[[Category:Enemies]]}}</includeonly><noinclude> | ||
{{clear}} | {{clear}} | ||
==Info== | ==Info== | ||
This template is to be used at the top of enemy | 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== | ==Parameters== | ||
Line 63: | Line 68: | ||
! 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 94: | 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 87: | ||
|- | |- | ||
! family | ! family | ||
| No || Unknown || Family name, without the word "family". If the family is unknown, omit | | No || Unknown || Family name, without the word "family". If the family is unknown, omit it. | ||
|- | |- | ||
! areas | ! areas | ||
Line 118: | Line 96: | ||
|- | |- | ||
! challenge | ! challenge | ||
| No || None || Challenge Mode | | No || None || Challenge Mode stages in which it appears. | ||
|- | |||
! challenge | |||
| No || None || Battle Mode stages in which it appears. | |||
|- | |- | ||
! 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 | ||
| 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 | ||
| No || 1 || How | | No || 1 || How much [[Sparklium]] the creature drops when defeated. | ||
|- | |- | ||
! | ! drops | ||
| No || | | No || N/A || Special items the enemy drops upon death. | ||
|- | |- | ||
! | ! health | ||
| No || 1 || How much | | No || 1 || How much health the creature has. | ||
|- | |||
! weakness | |||
| No || None || [[Hazard]]s the enemy may be susceptible to. | |||
|- | |||
! resistance | |||
| No || None || Hazards the enemy may be resistant to. | |||
|- | |- | ||
! attacks | ! attacks | ||
| No || None || The creature's attacks. | | No || None || The creature's attacks. | ||
|- | |- | ||
! nocat | ! nocat | ||
| No || || Giving this a value like "y" makes the template not auto-categorize the | | No || || Giving this a value like "y" makes the template not auto-categorize the enemy. | ||
|} | |} | ||
==Skeleton== | ==Skeleton== | ||
<pre>{{infobox enemy | <pre>{{infobox enemy | ||
|customname= | |||
|image= | |||
|size= | |||
|caption= | |||
|icon= | |||
|name= | |name= | ||
|family= | |family= | ||
|areas= | |||
|underground= | |||
|challenge= | |||
|battle= | |||
|weight= | |||
|max_pikmin= | |||
|seeds= | |||
|value= | |||
|sparklium= | |||
|drops= | |||
|health= | |||
|weakness= | |||
|resistance= | |||
|attacks= | |||
|nocat=y | |||
}}</pre> | }}</pre> | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
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 }}