Template:Infobox enemy: Difference between revisions
Jump to navigation
Jump to search
(Removed fields that got moved to Template:Enemy stats and Template:Enemy other info.) |
(Added game-exclusive enemy categorization.) |
||
Line 47: | Line 47: | ||
{{per-game field | n = Attacks | v = {{{attacks|}}} | v1 = {{{attacks1|}}} | v2 = {{{attacks2|}}} | v3 = {{{attacks3|}}} | dv = N/A }} | {{per-game field | n = Attacks | v = {{{attacks|}}} | v1 = {{{attacks1|}}} | v2 = {{{attacks2|}}} | v3 = {{{attacks3|}}} | dv = N/A }} | ||
|} | |} | ||
{{#if:{{{nocat|}}}||<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:{{#if:{{{plant|}}}Plants and fungi|Creatures}} with no known family]]}}{{#if:{{{pikmin|}}}|[[Category:Pikmin 1 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikmin2|}}}|[[Category:Pikmin 2 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikmin3|}}}|[[Category:Pikmin 3 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikminadventure|}}}[[Category:Pikmin Adventure {{#if:{{{plant|}}}|vegetation|enemies}}]]}}</includeonly>}}<noinclude> | {{#if:{{{nocat|}}}||<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:{{#if:{{{plant|}}}Plants and fungi|Creatures}} with no known family]]}}{{#if:{{{pikmin|}}}|[[Category:Pikmin 1 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikmin2|}}}|[[Category:Pikmin 2 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikmin3|}}}|[[Category:Pikmin 3 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikminadventure|}}}[[Category:Pikmin Adventure {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{only|{{pikmin|}}|{{pikmin2|}}|{{pikmin3|}}}}|[[Category:Pikmin 1 exclusive enemies]]}}{{#if:{{only|{{pikmin2|}}|{{pikmin|}}|{{pikmin3|}}}}|[[Category:Pikmin 2 exclusive enemies]]}}{{#if:{{only|{{pikmin3|}}|{{pikmin|}}|{{pikmin2|}}}}|[[Category:Pikmin 3 exclusive enemies]]}}</includeonly>}}<noinclude> | ||
{{clear}} | {{clear}} | ||
Line 53: | Line 53: | ||
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]] 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]], [[:Category:Pikmin 2 enemies]], [[:Category:Pikmin 3 enemies]] | Pages with this template are automatically categorized on the corresponding categories: [[:Category:Pikmin 1 enemies]], [[:Category:Pikmin 2 enemies]], [[:Category:Pikmin 3 enemies]], [[:Category:Pikmin Adventure enemies]], [[:Category:Pikmin 1 exclusive enemies]], [[:Category:Pikmin 2 exclusive enemies]], [[:Category:Pikmin 3 exclusive enemies]], and/or the equivalent [[:Category:Vegetation|plant categories]]. | ||
==Parameters== | ==Parameters== | ||
Line 126: | Line 126: | ||
|- | |- | ||
! attacks | ! attacks | ||
| No || N/A || The creature's attacks.<ref name="pgf" /> | | No || N/A || The creature's attacks.<ref name="pgf">This is a per-game field. If this field has the exact same value in all three games, use this parameter. Otherwise, use the parameters named after it, but with a 1, 2 or 3 at the end. Example: use "weight" when the weight is the same in all games, but "weight1", "weight2" and "weight3" when each game has a different one.</ref> | ||
|- | |- | ||
! noicons | ! noicons |
Revision as of 06:51, November 24, 2015
Infobox enemy | |
---|---|
Appears in | N/A |
Scientific name | Unknown |
Family | Unknown |
Areas | None |
Attacks | N/A |
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, Category:Pikmin 2 enemies, Category:Pikmin 3 enemies, Category:Pikmin Adventure enemies, Category:Pikmin 1 exclusive enemies, Category:Pikmin 2 exclusive enemies, Category:Pikmin 3 exclusive enemies, and/or the equivalent plant categories.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
pikmin | 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. | |
pikminadventure | 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". | |
enemy_name | 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. | |
image* | No | Secondary or tertiary image. Replace the asterisk with the number 2 or 3. Useful for enemies with multiple forms. | |
image*title | No | Primary, secondary or tertiary image's title. Replace the asterisk with the number 2 or 3 (or with nothing, for the primary image). | |
icon | No | If the enemy has an icon, specify its image here, extension included. | |
custom_icon | No | If the icon is custom-made, 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. |
areas | No | None | Areas in which it appears. |
underground | No | None | Caves in which it appears. |
challenge | No | None | Pikmin and Pikmin 2 Challenge Mode levels it appears in. |
missionct | No | None | Collect treasure! Mission Mode levels it appears in. |
missionbe | No | None | Battle enemies! Mission Mode levels it appears in. |
2p | No | None | 2-Player Battle stages in which it appears. |
bingo | No | None | Bingo Battle levels it appears in. |
attacks | No | N/A | The creature's attacks.[1] |
noicons | 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). |
- ^ This is a per-game field. If this field has the exact same value in all three games, use this parameter. Otherwise, use the parameters named after it, but with a 1, 2 or 3 at the end. Example: use "weight" when the weight is the same in all games, but "weight1", "weight2" and "weight3" when each game has a different one.
Skeleton
{{infobox enemy |pikmin = |pikmin2 = |pikmin3 = |plant = |enemy_name = |image = |size = |caption = |image2 = |image3 = |imagetitle = |image2title = |image3title = |icon = |custom_icon = |name = |family = |areas = |underground = |challenge = |missionct = |missionbe = |2p = |bingo = |attacks = |attacks1 = |attacks2 = |noicons = |nocat = |nofamily = }}