Template:Infobox PI: Difference between revisions
From Pikmin Fanon
mNo edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
|- | |- | ||
{{#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 |
Revision as of 17:38, 5 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. |