Template:Infobox enemy: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(New documentation style.) |
||
Line 1: | Line 1: | ||
{{#if:{{{noicons|}}}||{{game icons|pikmin={{{pikmin|}}}|pikmin2={{{pikmin2|}}}|pikmin3={{{pikmin3|}}}}}}} | {{#if:{{{noicons|}}}||{{game icons|pikmin={{{pikmin|}}}|pikmin2={{{pikmin2|}}}|pikmin3={{{pikmin3|}}}|pikminadventure={{{pikminadventure|}}}}}}} | ||
{| 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;" | | ! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | | ||
Line 13: | Line 13: | ||
{{!}}- }} | {{!}}- }} | ||
! width="30%" style="background: #e6e9ff;" | Appears in | ! width="30%" style="background: #e6e9ff;" | Appears in | ||
| width="70%" | {{#if:{{{pikmin|}}}|[[Pikmin (game)|''Pikmin'']]{{#if:{{{pikmin2|}}}|, |{{#if:{{{pikmin3|}}}|, | | width="70%" | {{#if:{{{pikmin|}}}|[[Pikmin (game)|''Pikmin'']]{{#if:{{{pikmin2|{{{pikmin3|{{{pikminadventure|}}}}}}}}}|, }}}}{{#if:{{{pikmin2|}}}|''[[Pikmin 2]]''{{#if:{{{pikmin3|{{{pikminadventure|}}}}}}|, }}}}{{#if:{{{pikmin3|}}}|''[[Pikmin 3]]''{{#if:{{{pikminadventure|}}}|, }}}}{{#if:{{{pikminadventure|}}}|''[[Pikmin Adventure]]''}} | ||
|- | |- | ||
! width="30%" style="background: #e6e9ff;" | Scientific name | ! width="30%" style="background: #e6e9ff;" | Scientific name | ||
Line 67: | Line 67: | ||
}} | }} | ||
|} | |} | ||
{{#if:{{{nocat|}}}||<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:Creatures with no known family]]}}{{#if:{{{pikmin|}}} | {{#if:{{{nocat|}}}||<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:Creatures with no known family]]}}{{#if:{{{pikmin|}}}|[[Category:Pikmin 1 enemies]]}}{{#if:{{{pikmin2|}}}|[[Category:Pikmin 2 enemies]]}}{{#if:{{{pikmin3|}}}|[[Category:Pikmin 3 enemies]]}}{{#if:{{{pikminadventure|}}}[[Category:Pikmin Adventure enemies]]}}</includeonly>}}<noinclude> | ||
|[[Category: Pikmin 1 enemies]]}}{{#if:{{{pikmin2|}}} | |||
|[[Category: Pikmin 2 enemies]]}}{{#if:{{{pikmin3|}}} | |||
|[[Category: Pikmin 3 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]] 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]] and [[:Category:Pikmin Adventure enemies]]. | |||
==Parameters== | ==Parameters== | ||
{| class = "wikitable" | {| class = "wikitable" | ||
! Parameter || Mandatory || | ! 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''. | |||
|- | |- | ||
| | ! enemy_name | ||
| 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. | |||
|- | |- | ||
| | ! 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. | |||
|- | |- | ||
| | ! 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. | |||
|- | |- | ||
| | ! weight | ||
| No || N/A || Corpse carrying weight. Use this one if it's the same in all games, otherwise use the ones below. | |||
|- | |- | ||
| | ! weight1 | ||
| No || || Read above; weight in ''Pikmin''. | |||
|- | |- | ||
| | ! weight2 | ||
| No || || Read above; weight in ''Pikmin 2''. | |||
|- | |- | ||
| | ! height | ||
| No || Unknown || Height, as given by the e-Reader cards. Use this one if it's the same in all games, otherwise use the ones below. | |||
|- | |- | ||
| | ! height1 | ||
| No || || Read above; height in ''Pikmin''. | |||
|- | |- | ||
| | ! height2 | ||
| No || || Read above; height in ''Pikmin 2''. | |||
|- | |- | ||
| | ! maxpikmin | ||
| No || N/A || Maximum number of carrier Pikmin. Use this one if it's the same in all games, otherwise use the ones below. | |||
|- | |- | ||
| | ! maxpikmin1 | ||
| No || || Read above; max carriers in ''Pikmin''. | |||
|- | |- | ||
| | ! maxpikmin2 | ||
| No || || Read above; max carriers in ''Pikmin 2''. | |||
|- | |- | ||
| | ! seeds | ||
| No || N/A || Number of seeds it's worth when delivered to an Onion. Use this one if it's the same in all games, otherwise use the ones below. | |||
|- | |- | ||
| | ! seeds1 | ||
| No || || Read above; seeds in ''Pikmin''. | |||
|- | |- | ||
| | ! seeds2 | ||
| No || || Read above; seeds in ''Pikmin 2''. | |||
|- | |- | ||
| | ! value | ||
| No || N/A || Number of Pokos it is worth. | |||
|- | |- | ||
| | ! attacks | ||
| No || N/A || The creature's attacks. Use this one if it's the same in all games, otherwise use the ones below. | |||
|- | |- | ||
| | ! attacks1 | ||
| No || || Read above; attacks in ''Pikmin''. | |||
|- | |- | ||
| | ! attacks2 | ||
| No || || Read above; attacks in ''Pikmin 2''. | |||
|- | |- | ||
| | ! hp1 | ||
| No || || Health in ''Pikmin''. | |||
|- | |- | ||
| | ! hp2 | ||
| No || || Health in ''Pikmin 2''. | |||
|- | |- | ||
| | ! hp3 | ||
| No || || Health in ''Pikmin 3''. | |||
|- | |- | ||
| | ! piklopedia | ||
| No || N/A || Piklopedia number. | |||
|- | |- | ||
| | ! 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). | |||
|} | |} | ||
==Template== | ==Template== | ||
<pre>{{infobox enemy | <pre>{{infobox enemy | ||
|pikmin = | |pikmin = | ||
|pikmin2 = | |pikmin2 = | ||
|pikmin3 = | |pikmin3 = | ||
|enemy_name = | |enemy_name = | ||
|image = | |image = | ||
|size = | |size = | ||
|caption = | |caption = | ||
|icon = | |icon = | ||
|custom_icon = | |custom_icon = | ||
|name = | |name = | ||
|family = | |family = | ||
|areas = | |areas = | ||
|underground = | |underground = | ||
|challenge = | |challenge = | ||
|missionct = | |missionct = | ||
|missionbe = | |missionbe = | ||
|2p = | |2p = | ||
|bingo = | |bingo = | ||
|weight = | |weight = | ||
|weight1 = | |weight1 = | ||
|weight2 = | |weight2 = | ||
|height = | |height = | ||
|height1 = | |height1 = | ||
|height2 = | |height2 = | ||
|max_pikmin = | |max_pikmin = | ||
|max_pikmin1 = | |max_pikmin1 = | ||
|max_pikmin2 = | |max_pikmin2 = | ||
|seeds = | |seeds = | ||
|seeds1 = | |seeds1 = | ||
|seeds2 = | |seeds2 = | ||
|value = | |value = | ||
|attacks = | |attacks = | ||
|attacks1 = | |attacks1 = | ||
|attacks2 = | |attacks2 = | ||
|hp1 = | |hp1 = | ||
|hp2 = | |hp2 = | ||
|hp3 = | |hp3 = | ||
|piklopedia = | |piklopedia = | ||
|noicons = | |noicons = | ||
|nocat = | |nocat = | ||
|nofamily = | |nofamily = | ||
}}</pre> | }}</pre> | ||
[[Category:Infobox templates | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Revision as of 12:48, October 20, 2014
Infobox enemy | |
---|---|
Appears in | |
Scientific name | Unknown |
Family | Unknown |
Areas | None |
Carry weight | N/A |
Max. carriers | N/A |
Size | Unknown |
Seed worth | N/A |
Attacks | N/A |
Hit points | 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 and Category:Pikmin Adventure enemies.
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. | |
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. | |
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. |
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. |
weight | No | N/A | Corpse carrying weight. Use this one if it's the same in all games, otherwise use the ones below. |
weight1 | No | Read above; weight in Pikmin. | |
weight2 | No | Read above; weight in Pikmin 2. | |
height | No | Unknown | Height, as given by the e-Reader cards. Use this one if it's the same in all games, otherwise use the ones below. |
height1 | No | Read above; height in Pikmin. | |
height2 | No | Read above; height in Pikmin 2. | |
maxpikmin | No | N/A | Maximum number of carrier Pikmin. Use this one if it's the same in all games, otherwise use the ones below. |
maxpikmin1 | No | Read above; max carriers in Pikmin. | |
maxpikmin2 | No | Read above; max carriers in Pikmin 2. | |
seeds | No | N/A | Number of seeds it's worth when delivered to an Onion. Use this one if it's the same in all games, otherwise use the ones below. |
seeds1 | No | Read above; seeds in Pikmin. | |
seeds2 | No | Read above; seeds in Pikmin 2. | |
value | No | N/A | Number of Pokos it is worth. |
attacks | No | N/A | The creature's attacks. Use this one if it's the same in all games, otherwise use the ones below. |
attacks1 | No | Read above; attacks in Pikmin. | |
attacks2 | No | Read above; attacks in Pikmin 2. | |
hp1 | No | Health in Pikmin. | |
hp2 | No | Health in Pikmin 2. | |
hp3 | No | Health in Pikmin 3. | |
piklopedia | No | N/A | Piklopedia number. |
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). |
Template
{{infobox enemy |pikmin = |pikmin2 = |pikmin3 = |enemy_name = |image = |size = |caption = |icon = |custom_icon = |name = |family = |areas = |underground = |challenge = |missionct = |missionbe = |2p = |bingo = |weight = |weight1 = |weight2 = |height = |height1 = |height2 = |max_pikmin = |max_pikmin1 = |max_pikmin2 = |seeds = |seeds1 = |seeds2 = |value = |attacks = |attacks1 = |attacks2 = |hp1 = |hp2 = |hp3 = |piklopedia = |noicons = |nocat = |nofamily = }}