Template:Infobox PCJ: Difference between revisions

From Pikmin Fanon
mNo edit summary
No edit summary
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" align="right" style="width: 20em; background-color:#4df791: font-size: 80%; text-align: left; border-style: solid; border-width: 2px; border-color: grey"
{| class="infobox" align="right" style="width: 30em; background-color:#4df791; font-size: 80%; text-align: left; border-style: solid; border-width: 2px; border-color: grey;"
! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #95fc47; text-align: center;" | ''{{{customname|{{PAGENAME}} }}}''
! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #00ff40; text-align: center;" | {{#if:{{{icon|}}} |
{{{!}} style = "min-width:100%;"
{{!}} style = "vertical-align: middle; padding-left: 32px" {{!}} ''{{{customname|{{PAGENAME}} }}}''
{{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this {{#if:{{{enemy|}}}|enemy}}{{#if:{{{plant|}}}|plant or fungus}}{{#if:{{{pikmin|}}}|Pikmin}}{{#if:{{{parasite|}}}|parasitic Pikmin host}}{{#if:{{{item|}}}|item}}{{#if:{{{object|}}}|object}}{{#if:{{{part|}}}|vehicle part}}{{#if:{{{character|}}}|character}}{{#if:{{{area|}}}|area}}{{#if:{{{cave|}}}|cave}}{{#if:{{{hazard|}}}|hazard}}{{#if:{{{obstacle|}}}|obstacle}}{{#if:{{{gameplay|}}}|gameplay aspect}}.]]
{{!}}} | ''{{{customname|{{PAGENAME}} }}}'' }}
 
|-
|-
{{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]|}}
{{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]|}}
Line 34: Line 39:
|-
|-
{{#if:{{{res|}}}|! width="40%" style="background: #4df791;" {{!}} Resistance
{{#if:{{{res|}}}|! width="40%" style="background: #4df791;" {{!}} Resistance
{{!}} ''{{{res|None}}}''|}}
{{!}} {{{res|None}}}|}}
|-
|-
{{#if:{{{weak|}}}|! width="40%" style="background: #4df791;" {{!}} Weakness
{{#if:{{{weak|}}}|! width="40%" style="background: #4df791;" {{!}} Weakness
{{!}} ''{{{weak|None}}}''|}}
{{!}} {{{weak|None}}}|}}
|-
|-
{{#if:{{{elements|}}}|! width="40%" style="background: #4df791;" {{!}} Element
{{#if:{{{elements|}}}|! width="40%" style="background: #4df791;" {{!}} Element
{{!}} ''{{{elements|None}}}''|}}
{{!}} {{{elements|None}}}|}}
|-
|-
{{#if:{{{health|}}}|! width="40%" style="background: #4df791;" {{!}} Health
{{#if:{{{health|}}}|! width="40%" style="background: #4df791;" {{!}} Health
{{!}} ''{{{health|None}}}''|}}
{{!}} {{{health|None}}}|}}
|-
|-
{{#if:{{{attacks|}}}|! width="40%" style="background: #4df791;" {{!}} Attacks
{{#if:{{{attacks|}}}|! width="40%" style="background: #4df791;" {{!}} Attacks
{{!}} ''{{{attacks|None}}}''|}}
{{!}} {{{attacks|None}}}|}}
|-
|-
{{#if:{{{gender|}}}|! width="40%" style="background: #4df791;" {{!}} Gender
{{#if:{{{gender|}}}|! width="40%" style="background: #4df791;" {{!}} Gender
{{!}} ''{{{gender|None}}}''|}}
{{!}} {{{gender|None}}}|}}
|-
|-
{{#if:{{{cartype|}}}|! width="40%" style="background: #4df791;" {{!}} Character type
{{#if:{{{cartype|}}}|! width="40%" style="background: #4df791;" {{!}} Character type
{{!}} ''{{{cartype|None}}}''|}}
{{!}} {{{cartype|None}}}|}}
|-
|-
{{#if:{{{active|}}}|! width="40%" style="background: #4df791;" {{!}} Active times
{{#if:{{{active|}}}|! width="40%" style="background: #4df791;" {{!}} Active times
{{!}} ''{{{active|None}}}''|}}
{{!}} {{{active|None}}}|}}
|-
|-
{{#if:{{{dif|}}}|! width="40%" style="background: #4df791;" {{!}} Difficulty
{{#if:{{{dif|}}}|! width="40%" style="background: #4df791;" {{!}} Difficulty
{{!}} ''{{{dif|None}}}''|}}
{{!}} {{{dif|None}}}|}}
|-
|-
{{#if:{{{enmtype|}}}|! width="40%" style="background: #4df791;" {{!}} Danger
{{#if:{{{enmtype|}}}|! width="40%" style="background: #4df791;" {{!}} Danger
{{!}} ''{{{enmtype|None}}}''|}}
{{!}} {{{enmtype|None}}}|}}
|-
{{#if:{{{speed|}}}|! width="40%" style="background: #4df791;" {{!}} Speed
{{!}} {{speed|None}}}|}}
|-
{{#if:{{{throw|}}}|! width="40%" style="background: #4df791;" {{!}} Throw Height
{{!}} {{{throw|None}}}|}}
|-
{{#if:{{{weather|}}}|! width="40%" style="background: #4df791;" {{!}} Weather
{{!}} {{{weather|None}}}|}}
|-
|-
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Pikmin: Colorful Journey]]}}</includeonly><noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Pikmin: Colorful Journey]]}}</includeonly><noinclude>
Line 71: Line 85:


This template is to be used exclusively at the top of page sections related to ''[[Pikmin: Colorful Journey]]''. It places an information box at the top-right corner of the section.
This template is to be used exclusively at the top of page sections related to ''[[Pikmin: Colorful Journey]]''. It places an information box at the top-right corner of the section.
==Skeleton==
<pre>
{{infobox PCJ
|image=
|size=
|areas=
|pikmin=
|biomes=
|shells=
|caves=
|rewards=
|family=
|hazards=
|obstacles=
|res=
|weak=
|elements=
|health=
|attacks=
|gender=
|cartype=
|enmtype=
|active=
|dif=
|speed=
|throw=
|weather=
}}
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 21:21, 21 April 2024

Infobox PCJ

Info

To do: Add a parameters and skeleton section.

This template is to be used exclusively at the top of page sections related to Pikmin: Colorful Journey. It places an information box at the top-right corner of the section.

Skeleton

{{infobox PCJ
|image=
|size=
|areas=
|pikmin=
|biomes=
|shells=
|caves=
|rewards=
|family=
|hazards=
|obstacles=
|res=
|weak=
|elements=
|health=
|attacks=
|gender=
|cartype=
|enmtype=
|active=
|dif=
|speed=
|throw=
|weather=
}}