Template:Infobox enemy: Difference between revisions

From Pikmin Fanon
No edit summary
m (Text replacement - "Enemy dummy icon.png" to "Enemy icon.png")
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#if:{{{noicon|}}}||{{#if:{{{nocat|}}}||{{game icons|p1={{{pikmin1|}}}|p2={{{pikmin2|}}}|p3={{{pikmin3|}}}|hp={{{heypik|}}}|pa={{{pikadv|}}}}}}}}}
{| 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: 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;" {{!}} ''{{{enemyname|{{PAGENAME}} }}}''
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{customname|{{PAGENAME}} }}}''
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|{{#if:{{{icon|Dummy enemy icon.png}}}|The icon for this enemy hasn't yet been created.||The icon used to represent this enemy.}}]]
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this enemy.]]
 
  {{!}}} | ''{{{customname|{{PAGENAME}} }}}'' }}
  {{!}}} | ''{{{enemyname|{{PAGENAME}} }}}'' }}
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{#if: {{{size|300px}}}|{{pipe}}{{{size}}}}}]]|}}
{{#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: #e6e9ff;" {{Pipe}} Scientific name
! width="40%" style="background: #eef;" {{!}} Scientific name
| {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}}
| {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}}
|-
|-
{{#if:{{{nofamily|}}}||! width="40%" style="background: #e6e9ff;" {{Pipe}} Family
! width="40%" style="background: #eef;" {{!}} 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:{{{family|}}}|{{{family}}}|Unknown}}
|-
|-
{{#if:{{{areas|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} [[Area]]s
{{#if:{{{areas|}}}|! width="40%" style="background: #eef;" {{!}} [[Area]]s
{{!}} {{{areas|None}}}|}}
{{!}} {{{areas|None}}}|}}
|-
|-
{{#if:{{{underground|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} [[Cave]]s
{{#if:{{{underground|}}}|! width="40%" style="background: #eef;" {{!}} [[Cave]]s
{{!}} {{{underground|None}}}|}}
{{!}} {{{underground|None}}}|}}
|-
|-
{{#if:{{{challenge|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} Challenge Mode
{{#if:{{{challenge|}}}|! width="40%" style="background: #eef;" {{!}} [[Challenge Mode]] stages
{{!}} {{{challenge|}}}|}}
{{!}} {{{challenge|}}}|}}
|-
|-
{{#if:{{{weight|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} Carry Weight
{{#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: #e6e9ff;" {{Pipe}} Max. Carriers
{{#if:{{{max_pikmin|}}}|! width="40%" style="background: #eef;" {{!}} Max. carriers
{{!}} {{{max_pikmin|1}}}|}}
{{!}} {{{max_pikmin|1}}}|}}
|-
|-
{{#if:{{{seeds|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} Seed Worth
{{#if:{{{seeds|}}}|! width="40%" style="background: #eef;" {{!}} Seed worth
{{!}} {{{seeds|1}}}|}}
{{!}} {{{seeds|1}}}|}}
|-
|-
{{#if:{{{value|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} Poko Value
{{#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:{{{value2|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} {{c|Pikmin 2|P2}} Poko Value
{{#if:{{{health|}}}|! width="40%" style="background: #eef;" {{!}} Health
{{!}} {{pokos|{{{value2|1}}}}} }}
{{!}} {{{health|1}}}|}}
|-
|-
{{#if:{{{value3|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} {{c|Pikmin 3|P3}} Value
{{#if:{{{weakness|}}}|! width="40%" style="background: #eef;" {{!}} Weaknesses
{{!}} [[File:P3 Poko icon.png|10px|link=Poko]] [[File:P3 Spirit icon.png|10px|link=pikipedia:Mission Mode]] × {{{value3|1}}} }}
{{!}} {{{weakness|None}}}|}}
|-
|-
{{#if:{{{sparklium|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} [[Sparklium]] Value
{{#if:{{{resistance|}}}|! width="40%" style="background: #eef;" {{!}} Resistances
{{!}} {{sparklium|{{{sparklium|1}}}}} }}
{{!}} {{{resistance|None}}}|}}
|-
|-
{{#if:{{{attacks|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} Attacks
{{#if:{{{attacks|}}}|! width="40%" style="background: #eef;" {{!}} Attacks
{{!}} {{{attacks|None}}}|}}
{{!}} {{{attacks|None}}}|}}
|-
|-
|}{{#if:{{{nocat|}}}||<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:Enemies with no known family]]}}{{#if:{{{af|}}}|[[Category:Enemies with assumed families]]}}{{#if:{{{fanfam|}}}|[[Category:Enemies with fan-made families]]}}{{#if:{{{plant|}}}|[[Category:Vegetation]]}}{{#if:{{{pikmin1|}}}|[[Category:Pikmin 1 enemies]]}}{{#if:{{{pikmin2|}}}|[[Category:Pikmin 2 enemies]]}}{{#if:{{{pikmin3|}}}|[[Category:Pikmin 3 enemies]]}}{{#if:{{{heypik|}}}|[[Category:Hey! Pikmin enemies]]}}{{#if:{{{pikadv|}}}|[[Category:Pikmin Adventure enemies]]}}{{#if:{{{icon|}}}||[[Category:Enemies]]}}</includeonly>}}<noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Enemies]]}}</includeonly><noinclude>


{{clear}}
{{clear}}


==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 page sections. It places an information box on the top-right corner of the page.
 
Pages with this template are automatically categorized on the corresponding categories: [[:Category:Pikmin 1 enemies|Pikmin 1 enemies]], [[:Category:Pikmin 2 enemies|Pikmin 2 enemies]], [[:Category:Pikmin 3 enemies|Pikmin 3 enemies]], [[:Category:Pikmin Adventure enemies|Pikmin Adventure enemies]], and [[:Category:Hey! Pikmin enemies|Hey! Pikmin enemies]].


==Parameters==
==Parameters==
Line 64: Line 69:
! Parameter || Mandatory || Default || Detailed description
! Parameter || Mandatory || Default || Detailed description
|-
|-
! pikmin1
! customname
| 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''.
|-
! plant
| No ||  || If this is actually a plant or fungus (e.g. [[Pellet Posy]]), give this a value like "y".
|-
! enemyname
| 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 95: 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-icon enemy.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 101: Line 88:
|-
|-
! family
! family
| No || Unknown || Family name, without the word "family". If the family is unknown, omit. 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.
|-
! 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
! areas
Line 116: 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 130: Line 114:
| No || 1 || How many [[Poko]]s the creature's body is worth.
| No || 1 || How many [[Poko]]s the creature's body is worth.
|-
|-
! value2
! sparklium
| No || 1 || How many [[Poko]]s the creature's body is worth in ''{{c|Pikmin 2}}''.
| No || 1 || How much [[Sparklium]] the creature drops when defeated.
|-
! drops
| No || N/A || Special items the enemy drops upon death.
|-
|-
! value3
! health
| No || 1 || How many [[Poko]]s the creature's body is worth in ''{{c|Pikmin 3}}''.
| No || 1 || How much health the creature has.
|-
|-
! sparklium
! weakness
| No || 1 || How much sparklium the creature drops when defeated in ''{{c|Hey! Pikmin}}''.
| 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.
|-
! noicon
| No ||  || Giving this a value like "y" disables the display of game icons, to avoid conflicts with other templates.
|-
|-
! nocat
! 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).
| No ||  || Giving this a value like "y" makes the template not auto-categorize the enemy.
|-
! nofamily
| No ||  || Giving this a value like "y hides the family attribute (for instance, for objects that aren't enemies, like eggs).
|}
|}


==Skeleton==
==Skeleton==
<pre>{{infobox enemy
<pre>{{infobox enemy
|pikmin1=
|customname=
|pikmin2=
|pikmin3=
|heypik=
|pikadv=
|plant=
|enemyname=
|image=
|image=
|size=
|size=
|caption=
|caption=
|icon=
|icon=
|dummyicon=
|name=
|name=
|family=
|family=
|af=
|fanfam=
|areas=
|areas=
|underground=
|underground=
|challenge=
|challenge=
|battle=
|weight=
|weight=
|max_pikmin=
|max_pikmin=
|seeds=
|seeds=
|value=
|value=
|value2=
|value3=
|sparklium=
|sparklium=
|drops=
|health=
|weakness=
|resistance=
|attacks=
|attacks=
|noicon=
|nocat=y
|nocat=
|nofamily=
}}</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
}}