Template:Infobox enemy: Difference between revisions
From Pikmin Fanon
No edit summary |
(Tweaking.) |
||
Line 1: | Line 1: | ||
{{#if:{{{noicon|}}}||{{#if:{{{nocat|}}}||{{game icons|p1={{{pikmin1|}}}|p2={{{pikmin2|}}}|p3={{{pikmin3|}}}|hp={{{heypik|}}}|pa={{{pikadv|}}}}}}}}} | {{#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: | {| class="infobox" align="right" style="width: 27em; 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%;" | ||
Line 7: | Line 7: | ||
{{!}}} | ''{{{enemy_name|{{PAGENAME}} }}}'' }} | {{!}}} | ''{{{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|250px}}}|{{pipe}}{{{size}}}}}]]|}} | ||
|- | |- | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
|- | |- | ||
! width=" | ! width="40%" style="background: #e6e9ff;" {{Pipe}} Scientific name | ||
| {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | | {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | ||
|- | |- |
Revision as of 04:23, 1 March 2020
Infobox enemy | |
---|---|
width="40%" style="background: #e6e9ff;" Template:Pipe Scientific name | Unknown |
width="40%" style="background: #e6e9ff;" 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.
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 | Yes | 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". | |
fanfam | No | Fan-made family. If the creature's family is fan-made, give this a value, like "y". | |
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. |
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 *optional field *|pikmin1= *|pikmin2= *|pikmin3= *|heypik= *|pikadv= *|plant= *|enemyname= *|image= *|size= *|caption= *|icon= *|dummyicon= |name= |family= *|af= *|fanfam= *|areas= *|underground= *|challenge= *|weight= *|max_pikmin= *|seeds= *|value= *|attacks= *|noicon= *|nocat= *|nofamily= }}