Template:Infobox enemy: Difference between revisions
From Pikmin Fanon
(I am about to break the wiki. Hold on tight!) |
(Final adjustments.) |
||
Line 11: | Line 11: | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
|- | |- | ||
! width=" | ! width="45%" style="background: #e6e9ff;" {{Pipe}} Scientific name | ||
| {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | | {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | ||
|- | |- | ||
{{#if:{{{nofamily|}}}||! width=" | {{#if:{{{nofamily|}}}||! width="45%" 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}}}}}} | {{!}} {{#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=" | ! width="45%" style="background: #e6e9ff;" {{Pipe}} [[Area]]s | ||
{{!}} {{{areas|None}}} | {{!}} {{{areas|None}}} | ||
|- | |- | ||
! width=" | ! width="45%" style="background: #e6e9ff;" {{Pipe}} [[Cave]]s | ||
{{!}} {{{caves|None}}} | {{!}} {{{caves|None}}} | ||
|- | |- | ||
{{#if:{{{weight|}}}|! width=" | {{#if:{{{challenge|}}}|! width="45%" style="background: #e6e9ff;" {{Pipe}} Challenge Mode | ||
{{!}} {{{challenge|}}}|}} | |||
|- | |||
{{#if:{{{weight|}}}|! width="45%" style="background: #e6e9ff;" {{Pipe}} Carry Weight | |||
{{!}} {{{weight|1}}}|}} | {{!}} {{{weight|1}}}|}} | ||
|- | |- | ||
{{#if:{{{maxpikmin|}}}|! width=" | {{#if:{{{maxpikmin|}}}|! width="45%" style="background: #e6e9ff;" {{Pipe}} Max. Carriers | ||
{{!}} {{{maxpikmin|1}}}|}} | {{!}} {{{maxpikmin|1}}}|}} | ||
|- | |- | ||
{{#if:{{{seeds|}}}|! width=" | {{#if:{{{seeds|}}}|! width="45%" style="background: #e6e9ff;" {{Pipe}} Seed Worth | ||
{{!}} {{{seeds|1}}}|}} | {{!}} {{{seeds|1}}}|}} | ||
|- | |- | ||
{{#if:{{{value|}}}|! width=" | {{#if:{{{value|}}}|! width="45%" style="background: #e6e9ff;" {{Pipe}} Poko Value | ||
{{!}} {{{value|1}}} [[Poko|Pokos]]|}} | {{!}} {{{value|1}}} [[Poko|Pokos]]|}} | ||
|- | |- | ||
{{#if:{{{attacks|}}}|! width=" | {{#if:{{{attacks|}}}|! width="45%" style="background: #e6e9ff;" {{Pipe}} Attacks | ||
{{!}} {{{attacks|None}}}|}} | {{!}} {{{attacks|None}}}|}} | ||
|- | |- |
Revision as of 20:27, 25 February 2020
Infobox enemy | |
---|---|
width="45%" style="background: #e6e9ff;" Template:Pipe Scientific name | Unknown |
width="45%" style="background: #e6e9ff;" Template:Pipe Family | Unknown |
width="45%" style="background: #e6e9ff;" Template:Pipe Areas | None |
width="45%" 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 = }}