Template:Infobox PI: Difference between revisions
From Pikmin Fanon
mNo edit summary |
m (→Info) |
||
(32 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
{{{!}} style = "min-width:100%;" | {{{!}} style = "min-width:100%;" | ||
{{!}} style = "vertical-align:middle; padding-left:40px" {{!}} ''{{{customname|{{PAGENAME}} }}}'' | {{!}} style = "vertical-align:middle; padding-left:40px" {{!}} ''{{{customname|{{PAGENAME}} }}}'' | ||
{{!}} style = "width: 40px; border-radius:8px; background-color:#007f3d" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this {{#if:{{{game|}}}|game}}{{#if:{{{enemy|}}}|enemy}}{{#if:{{{boss|}}}|boss}}{{#if:{{{plant|}}}|plant or fungus}}{{#if:{{{collectible|}}}|collectible}}{{#if:{{{fruit|}}}|fruit}}{{#if:{{{character|}}}|character}}{{#if:{{{pikmin|}}}|Pikmin}}{{#if:{{{parasite|}}}|parasitic Pikmin host}}{{#if:{{{area|}}}|area}}{{#if:{{{cave|}}}|cave}}{{#if:{{{hazard|}}}|hazard}}{{#if:{{{obstacle|}}}|obstacle}}.|link=]] | {{!}} style = "width: 40px; border-radius:8px; background-color:#007f3d" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this {{#if:{{{game|}}}|game}}{{#if:{{{enemy|}}}|enemy}}{{#if:{{{boss|}}}|boss}}{{#if:{{{plant|}}}|plant or fungus}}{{#if:{{{collectible|}}}|collectible}}{{#if:{{{fruit|}}}|fruit}}{{#if:{{{character|}}}|character}}{{#if:{{{pikmin?|}}}|Pikmin}}{{#if:{{{parasite|}}}|parasitic Pikmin host}}{{#if:{{{area?|}}}|area}}{{#if:{{{cave?|}}}|cave}}{{#if:{{{hazard?|}}}|hazard}}{{#if:{{{obstacle|}}}|obstacle}}.|link=]] | ||
{{!}}} | ''{{{customname|{{PAGENAME}} }}}'' }} | {{!}}} | ''{{{customname|{{PAGENAME}} }}}'' }} | ||
|- | |||
{{#if:{{{cname|}}}|{{!}} colspan="2" style="font-size: 88%; background: #{{{rgb|095e1a}}}; text-align: center;" {{!}} {{color|2=#{{{tcolour|fff}}}|1={{{cname|''Color name''}}}}} }} | |||
|- | |- | ||
{{#if:{{{image|}}}|{{!}} colspan="2" style="border-radius:8px; background-color:#307f3f; text-align:center" {{!}} [[File:{{{image}}}|{{#if:{{{size|}}}|{{{size}}}|250px}}|link=]]}} | {{#if:{{{image|}}}|{{!}} colspan="2" style="border-radius:8px; background-color:#307f3f; text-align:center" {{!}} [[File:{{{image}}}|{{#if:{{{size|}}}|{{{size}}}|250px}}|link=]]}} | ||
Line 11: | Line 13: | ||
|- | |- | ||
{{#if:{{{effect|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Effects | {{#if:{{{effect|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Effects | ||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{ | {{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{effect|}}}|{{{effect}}}|None}}}} | ||
|- | |- | ||
{{#if:{{{name|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Scientific name | {{#if:{{{name|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Scientific name | ||
Line 17: | Line 19: | ||
|- | |- | ||
{{#if:{{{family|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Family | {{#if:{{{family|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Family | ||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{family|}}}| | {{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{family|}}}|{{{family}}}|Unknown}}}} | ||
|- | |||
{{#if:{{{subfamily|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Subfamily | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{subfamily|}}}|{{{subfamily}}}|Unknown}}}} | |||
|- | |- | ||
{{#if:{{{weight|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Weight | {{#if:{{{weight|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Weight | ||
Line 25: | Line 30: | ||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{max_pikmin|}}}|''{{{max_pikmin}}}''|Unknown}}}} | {{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{max_pikmin|}}}|''{{{max_pikmin}}}''|Unknown}}}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{group|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Affiliation | ||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{group|}}}|''{{{group}}}''|group}}}} | |||
|- | |||
{{#if:{{{source|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Sources | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{source|}}}|{{{source}}}|None}}}} | {{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{source|}}}|{{{source}}}|None}}}} | ||
|- | |- | ||
Line 40: | Line 48: | ||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{battle|}}}|{{{battle}}}|None}}}} | {{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{battle|}}}|{{{battle}}}|None}}}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{resist|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} {{linkcolor|#305f3f|Hazard|Resisted}} {{linkcolor|#305f3f|Pikmin family|by}} | ||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{resist|}}}|{{{resist}}}|None}}}} | {{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{resist|}}}|{{{resist}}}|None}}}} | ||
|- | |- | ||
Line 79: | Line 87: | ||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{cavelocated|}}}|{{{cavelocated}}}|None}}}} | {{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{cavelocated|}}}|{{{cavelocated}}}|None}}}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{treasure|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} {{linkcolor|#305f3f|Treasure|Treasures}} | ||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{treasure|}}}|{{{treasure}}}|None}}}} | {{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{treasure|}}}|{{{treasure}}}|None}}}} | ||
|- | |- | ||
{{#if:{{{hazard|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} {{linkcolor|#305f3f|Hazard|Hazards}} | {{#if:{{{hazard|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} {{linkcolor|#305f3f|Hazard|Hazards}} | ||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{hazard|}}}|{{{hazard}}}|None}}}} | {{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{hazard|}}}|{{{hazard}}}|None}}}} | ||
|- | |||
{{#if:{{{inname|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Internal name | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{inname|}}}|''{{{inname}}}''|Undecided upon}}}} | |||
|- | |||
{{#if:{{{uses|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Uses | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{uses|}}}|{{{uses}}}|None}}}} | |||
|- | |||
{{#if:{{{carry|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Carrying strength | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{carry|}}}|{{{carry}}}|Average}}}} | |||
|- | |||
{{#if:{{{kingdom|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Kingdom | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{kingdom}}}|{{{kingdom}}}}}}} | |||
|- | |||
{{#if:{{{phylum|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Phylum | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{phylum}}}|{{{phylum}}}}}}} | |||
|- | |||
{{#if:{{{class|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Kingdom | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{class}}}|{{{class}}}}}}} | |||
|- | |||
{{#if:{{{sorder|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Super-order | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{sorder}}}|{{{sorder}}}}}}} | |||
|- | |||
{{#if:{{{order|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Order | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{order}}}|{{{order}}}}}}} | |||
|- | |||
{{#if:{{{suorder|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Sub-order | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{suorder}}}|{{{suorder}}}}}}} | |||
|- | |||
{{#if:{{{supfamilytax|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Super-family (taxonomy) | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{supfamilytax}}}|{{{supfamilytax}}}}}}} | |||
|- | |||
{{#if:{{{familytax|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Family (taxonomy) | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{familytax}}}|{{{familytax}}}}}}} | |||
|- | |||
{{#if:{{{subfamilytax|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Sub-family (taxonomy) | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{subfamilytax}}}|{{{subfamilytax}}}}}}} | |||
|- | |||
{{#if:{{{tribe|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Tribe | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{tribe}}}|{{{tribe}}}}}}} | |||
|- | |||
{{#if:{{{sutribe|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Sub-tribe | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{sutribe}}}|{{{sutribe}}}}}}} | |||
|- | |||
{{#if:{{{genus|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Genus | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{genus}}}|{{{genus}}}}}}} | |||
|- | |||
{{#if:{{{subgenus|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Sub-genus | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{kingdom}}}|{{{kingdom}}}}}}} | |||
|- | |||
{{#if:{{{species|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Species | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{species}}}|{{{species}}}}}}} | |||
|- | |||
{{#if:{{{subspecies|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Subspecies | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{linkcolor|#304f3f|PikminFanon:Taxonomy Project/{{{subspecies}}}|{{{subspecies}}}}}}} | |||
|- | |||
{{#if:{{{typegenus|}}}|! width="40%" style="border-radius:8px 2px 2px 2px; background-color:#007f3f" {{!}} Type genus | |||
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{{typegenus}}}}} | |||
|- | |- | ||
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Pikmin I]]}}</includeonly><noinclude> | |}<includeonly>{{#if:{{{nocat|}}}||[[Category:Pikmin I]]}}</includeonly><noinclude> | ||
Line 89: | Line 154: | ||
==Info== | ==Info== | ||
{{clean|This entire template needs to be cleaned, as the "#if" parameters are all messed up. Additionally, the parameters section of this page is incomplete.}} | {{clean|This entire template needs to be cleaned, as the "#if" parameters are all messed up. Clean up all the parameters in the template code proper. Additionally, the parameters section of this page is incomplete. Also, add a "health" parameter.}} | ||
This template is used in article sections belonging to ''[[Pikmin I]]''. It places an information box in the top-right corner of the page or section. | This template is used in article sections belonging to ''[[Pikmin I]]''. It places an information box in the top-right corner of the page or section. | ||
Line 109: | Line 175: | ||
|- | |- | ||
! icon | ! icon | ||
| No || || If the subject has an icon, specify its image here, extension included. If the icon is a placeholder, place <nowiki> | | No || || If the subject has an icon, specify its image here, extension included. If the icon is a placeholder, place <nowiki>Obstacle icon.png</nowiki> here. | ||
|- | |- | ||
! areas | ! areas | ||
Line 124: | Line 190: | ||
|- | |- | ||
! effects | ! effects | ||
| | | No || Unknown || Effects a Hazard it has on [[Pikmin family|Pikmin]] or Enemies. | ||
|- | |- | ||
! source | ! source | ||
| | | No || Unknown || Sources of a hazard. | ||
|- | |- | ||
! resist | ! resist | ||
| | | No || None || [[Pikmin family|Pikmin]] which resist a hazard. | ||
|- | |||
! weight | |||
| No || Unknown || [[Pikmin family|Pikmin]] strength Needed to carry this back. | |||
|- | |||
! cname | |||
| No || || Colour name (especially for a [[Pikmin family|Pikmin]]). | |||
|- | |||
! tcolour | |||
| No || || Hex triplet for a colour name's colour. | |||
|- | |||
! rgb | |||
| No || || Hex triplet for a colour. | |||
|- | |||
! inname | |||
| No || Undecided Upon || Internal Name for a subject. | |||
|- | |||
! uses | |||
| No || None || Uses for a subject. | |||
|- | |||
! subfamily | |||
| No || Unknown || Subfamily for a subject. | |||
|- | |- | ||
|} | |} | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Latest revision as of 14:30, 21 April 2024
Infobox PI |
---|
Info
Notes: This entire template needs to be cleaned, as the "#if" parameters are all messed up. Clean up all the parameters in the template code proper. Additionally, the parameters section of this page is incomplete. Also, add a "health" parameter. |
This template is used in article sections belonging to Pikmin I. It places an information box in the top-right corner of the page or section.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
customname | No | {{PAGENAME}} | If the name of the subject 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 subject has an icon, specify its image here, extension included. If the icon is a placeholder, place Obstacle icon.png here. | |
areas | No | None | Areas in which it appears. |
underground | No | None | Caves in which it appears. |
challenge | No | None | Challenge Mode stages in which it appears. |
battle | No | None | Battle Mode stages in which it appears. |
effects | No | Unknown | Effects a Hazard it has on Pikmin or Enemies. |
source | No | Unknown | Sources of a hazard. |
resist | No | None | Pikmin which resist a hazard. |
weight | No | Unknown | Pikmin strength Needed to carry this back. |
cname | No | Colour name (especially for a Pikmin). | |
tcolour | No | Hex triplet for a colour name's colour. | |
rgb | No | Hex triplet for a colour. | |
inname | No | Undecided Upon | Internal Name for a subject. |
uses | No | None | Uses for a subject. |
subfamily | No | Unknown | Subfamily for a subject. |