Template:Infobox PI: Difference between revisions

From Pikmin Fanon
No edit summary
mNo edit summary
Line 12: Line 12:
{{#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:{{{effects|}}}|{{{effects}}}|None}}}}
{{!}} width="60%" style="border-radius:2px 2px 8px 2px; background-color:#007f3f" {{!}} {{#if:{{{effects|}}}|{{{effects}}}|None}}}}
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
|-
|-
{{#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 11:24, 3 December 2023

Infobox PI

Info

This template is used in article sections belonging to Pikmin I. It places a 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.