Template:Infobox enemy: Difference between revisions

From Pikmin Fanon
mNo edit summary
m (Text replacement - "Enemy dummy icon.png" to "Enemy icon.png")
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" align="right" style="width: 30em; font-size: 80%; text-align: left; border-style: solid; border-width: 2px; border-color: grey"
{| 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="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%;"
Line 22: Line 22:
{{!}} {{{underground|None}}}|}}
{{!}} {{{underground|None}}}|}}
|-
|-
{{#if:{{{challenge|}}}|! width="40%" style="background: #eef;" {{!}} Challenge Mode levels
{{#if:{{{challenge|}}}|! width="40%" style="background: #eef;" {{!}} [[Challenge Mode]] stages
{{!}} {{{challenge|}}}|}}
{{!}} {{{challenge|}}}|}}
|-
{{#if:{{{battle|}}}|! width="40%" style="background: #eef;" {{!}} Battle Mode stages
{{!}} {{{battle|}}}|}}
|-
|-
{{#if:{{{weight|}}}|! width="40%" style="background: #eef;" {{!}} Carry weight
{{#if:{{{weight|}}}|! width="40%" style="background: #eef;" {{!}} Carry weight
Line 39: Line 42:
{{#if:{{{sparklium|}}}|! width="40%" style="background: #eef;" {{!}} [[Sparklium]] value
{{#if:{{{sparklium|}}}|! width="40%" style="background: #eef;" {{!}} [[Sparklium]] value
{{!}} {{sparklium|{{{sparklium|1}}}}} }}
{{!}} {{sparklium|{{{sparklium|1}}}}} }}
|-
{{#if:{{{drops|}}}|! width="40%" style="background: #eef;" {{!}} Drops
{{!}} {{{drops|N/A}}}|}}
|-
|-
{{#if:{{{health|}}}|! width="40%" style="background: #eef;" {{!}} Health
{{#if:{{{health|}}}|! width="40%" style="background: #eef;" {{!}} Health
{{!}} {{{health|1}}}|}}
{{!}} {{{health|1}}}|}}
|-
{{#if:{{{weakness|}}}|! width="40%" style="background: #eef;" {{!}} Weaknesses
{{!}} {{{weakness|None}}}|}}
|-
{{#if:{{{resistance|}}}|! width="40%" style="background: #eef;" {{!}} Resistances
{{!}} {{{resistance|None}}}|}}
|-
|-
{{#if:{{{attacks|}}}|! width="40%" style="background: #eef;" {{!}} Attacks
{{#if:{{{attacks|}}}|! width="40%" style="background: #eef;" {{!}} Attacks
{{!}} {{{attacks|None}}}|}}
{{!}} {{{attacks|None}}}|}}
|-
|-
|}<includeonly>{{#if:{{{icon|}}}||[[Category:Enemies]]}}</includeonly><noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Enemies]]}}</includeonly><noinclude>


{{clear}}
{{clear}}
Line 70: Line 82:
|-
|-
! 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>Enemy icon.png</nowiki> here.
|-
|-
! name
! name
Line 85: Line 97:
|-
|-
! challenge
! challenge
| No || None || Challenge Mode levels in which it appears.
| No || None || Challenge Mode stages in which it appears.
|-
! challenge
| No || None || Battle Mode stages in which it appears.
|-
|-
! weight
! weight
Line 101: Line 116:
! sparklium
! sparklium
| No || 1 || How much [[Sparklium]] the creature drops when defeated.
| No || 1 || How much [[Sparklium]] the creature drops when defeated.
|-
! drops
| No || N/A || Special items the enemy drops upon death.
|-
|-
! health
! health
| No || 1 || How much health the creature has.
| 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
| No ||  || Giving this a value like "y" makes the template not auto-categorize the enemy.
|}
|}


Line 121: Line 148:
|underground=
|underground=
|challenge=
|challenge=
|battle=
|weight=
|weight=
|max_pikmin=
|max_pikmin=
Line 126: Line 154:
|value=
|value=
|sparklium=
|sparklium=
|drops=
|health=
|health=
|weakness=
|resistance=
|attacks=
|attacks=
|nocat=y
}}</pre>
}}</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 17:09, 7 March 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. 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.
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
}}