Template:Infobox PI: Difference between revisions
From Pikmin Fanon
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
{{!}}} | ''{{{customname|{{PAGENAME}} }}}'' }} | {{!}}} | ''{{{customname|{{PAGENAME}} }}}'' }} | ||
|- | |- | ||
{{#if:{{{cname|}}}|{{!}} colspan="2" style="font-size: 88%; background: #{{{ | {{#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=]]}} |
Revision as of 18:03, 7 December 2023
Infobox PI |
---|
Info
Notes: This entire template needs to be cleaned, as the "#if" parameters are all messed up. Additionally, the parameters section of this page is incomplete. |
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 Dummy 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 | Yes | Unknown | Effects a Hazard it has on Pikmin or Enemies. |
source | Yes | Unknown | Sources of a hazard. |
resist | Yes | None | Pikmin which resist a hazard. |
weight | Yes | Unknown | Pikmin strength Needed to carry this back. |