Template:Infobox enemy: Difference between revisions
From Pikmin Fanon
No edit summary |
(I am about to break the wiki. Hold on tight!) |
||
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: 27em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey" | {| class="infobox" align="right" style="width: 27em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey" | ||
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}'' | ! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | {{#if:{{{icon|}}} | | ||
{{{!}} style = "min-width:100%;" | |||
{{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{enemyname|{{PAGENAME}} }}}'' | |||
{{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|40px|{{#if:{{{dummyicon|}}}|The icon for this enemy hasn't yet been created.|The icon used to represent this enemy.}}]] | |||
{{!}}} | ''{{{enemy_name|{{PAGENAME}} }}}'' }} | |||
|- | |- | ||
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{#if: {{{size|}}}|{{pipe}}{{{size}}}}}]]|}} | ! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{#if: {{{size|}}}|{{pipe}}{{{size}}}}}]]|}} | ||
|- | |- | ||
! | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
|- | |- | ||
! width=" | ! width="42%" style="background: #e6e9ff;" {{Pipe}} Scientific name | ||
| | | {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | ||
|- | |- | ||
! width=" | {{#if:{{{nofamily|}}}||! width="42%" style="background: #e6e9ff;" {{Pipe}} Family | ||
{{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]{{#if:{{{af|}}}| {{tt|(assumed)|This 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.}}}}|Unknown}}}}}} | |||
{{ | |- | ||
! width="42%" style="background: #e6e9ff;" {{Pipe}} [[Area]]s | |||
{{ | {{!}} {{{areas|None}}} | ||
{{ | |- | ||
! width=" | ! width="42%" style="background: #e6e9ff;" {{Pipe}} [[Cave]]s | ||
{{ | {{!}} {{{caves|None}}} | ||
|- | |||
! width=" | {{#if:{{{weight|}}}|! width="42%" style="background: #e6e9ff;" {{Pipe}} Carry Weight | ||
{{ | {{!}} {{{weight|1}}}|}} | ||
|- | |||
! width=" | {{#if:{{{maxpikmin|}}}|! width="42%" style="background: #e6e9ff;" {{Pipe}} Max. Carriers | ||
{{ | {{!}} {{{maxpikmin|1}}}|}} | ||
|- | |||
{{#if:{{{seeds|}}}|! width="42%" style="background: #e6e9ff;" {{Pipe}} Seed Worth | |||
! width=" | {{!}} {{{seeds|1}}}|}} | ||
{{ | |- | ||
{{#if:{{{value|}}}|! width="42%" style="background: #e6e9ff;" {{Pipe}} Poko Value | |||
! width=" | {{!}} {{{value|1}}} [[Poko|Pokos]]|}} | ||
{{ | |- | ||
{{#if:{{{attacks|}}}|! width="42%" style="background: #e6e9ff;" {{Pipe}} Attacks | |||
{{!}} {{{attacks|None}}}|}} | |||
! width=" | |- | ||
{{ | |}{{#if:{{{nocat|}}}||<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:Creatures with no known family]]}}{{#if:{{{af|}}}|[[Category:Enemies with assumed families]]}}{{#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]]}}</includeonly>}}<noinclude> | ||
! width=" | |||
{{ | |||
{{ | |||
{{# | |||
{{clear}} | {{clear}} | ||
== | ==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: [[: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]], [[:Category:Hey! Pikmin enemies|Hey! Pikmin enemies]], or the equivalent [[:Category:Vegetation|plant categories]]. | |||
|name | |||
|family | ==Parameters== | ||
|areas | {| class = "wikitable" | ||
! 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''. | |||
|- | |||
}}</pre></noinclude> | ! 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. | |||
|- | |||
! 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. | |||
|- | |||
! dummyicon | |||
| No || || If the icon for this enemy is a placeholder, give this a value like "y". | |||
|- | |||
! name | |||
| No || Unknown || Scientific name. | |||
|- | |||
! 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. | |||
|- | |||
! af | |||
| No || || Assumed family. If the creature's family is not official, but rather, an assumption, give this a value, like "y". | |||
|- | |||
! areas | |||
| No || None || Areas in which it appears. | |||
|- | |||
! caves | |||
| No || None || Caves in which it appears. | |||
|- | |||
! weight | |||
| No || 1 || The weight of the creature's body. | |||
|- | |||
! maxpikmin | |||
| 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 [[Poko]]s the creature's body is worth. | |||
|- | |||
! 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). | |||
|} | |||
<references /> | |||
==Skeleton== | |||
<pre>{{infobox enemy | |||
|pikmin1 = | |||
|pikmin2 = | |||
|pikmin3 = | |||
|heypik = | |||
|pikadv = | |||
|plant = | |||
|enemyname = | |||
|image = | |||
|size = | |||
|caption = | |||
|image2 = | |||
|image3 = | |||
|imagetitle = | |||
|image2title = | |||
|image3title = | |||
|icon = | |||
|dummyicon = | |||
|name = | |||
|family = | |||
|af = | |||
|areas = | |||
|caves = | |||
|weight = | |||
|maxpikmin = | |||
|seeds = | |||
|value = | |||
|attacks = | |||
|noicon = | |||
|nocat = | |||
|nofamily = | |||
}}</pre> | |||
[[Category:Infobox templates]]</noinclude> |
Revision as of 20:18, 25 February 2020
Infobox enemy | |
---|---|
width="42%" style="background: #e6e9ff;" Template:Pipe Scientific name | Unknown |
width="42%" style="background: #e6e9ff;" Template:Pipe Family | Unknown |
width="42%" style="background: #e6e9ff;" Template:Pipe Areas | None |
width="42%" style="background: #e6e9ff;" Template:Pipe Caves | None |
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, Hey! Pikmin enemies, or the equivalent plant categories.
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. | |
plant | No | If this is actually a plant or fungus (e.g. Pellet Posy), give this a value like "y". | |
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. | |
dummyicon | No | If the icon for this enemy is a placeholder, give this a value like "y". | |
name | No | Unknown | Scientific name. |
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. |
af | No | Assumed family. If the creature's family is not official, but rather, an assumption, give this a value, like "y". | |
areas | No | None | Areas in which it appears. |
caves | No | None | Caves in which it appears. |
weight | No | 1 | The weight of the creature's body. |
maxpikmin | 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. |
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 = |plant = |enemyname = |image = |size = |caption = |image2 = |image3 = |imagetitle = |image2title = |image3title = |icon = |dummyicon = |name = |family = |af = |areas = |caves = |weight = |maxpikmin = |seeds = |value = |attacks = |noicon = |nocat = |nofamily = }}