Template:Infobox PI: Difference between revisions
From Pikmin Fanon
No edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
|- | |- | ||
{{#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=]]}} | ||
|- | |||
{{#if:{{{cname2|}}}|{{!}} colspan="2" style="font-size: 88%; background: #{{{rbg2|3ac6ed}}}; text-align: center;" {{!}} {{color|2=#{{{tcolor2|fff}}}|1={{{cname2|''Color name''}}}}} }} | |||
|- | |- | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="border-radius:8px 8px 24px 8px; background:#00cf5f; text-align:center" {{!}} {{{caption}}} }} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="border-radius:8px 8px 24px 8px; background:#00cf5f; text-align:center" {{!}} {{{caption}}} }} | ||
Line 136: | Line 138: | ||
|- | |- | ||
|} | |} | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Revision as of 20:37, 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. |