Template:Infobox PCJ: Difference between revisions

From Pikmin Fanon
No edit summary
No edit summary
 
(31 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 6: Line 11:
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
|-
|-
{{#if:{{{area|}}}|! width="40%" style="background: #eef;" {{!}} Areas
{{#if:{{{areas|}}}|! width="40%" style="background: #4df791;" {{!}} Areas
{{!}} {{{area|Unknown}}}|}}
{{!}} {{{areas|Unknown}}}|}}
|-
|-
{{#if:{{{pikmin|}}}|! width="40%" style="background: #eef;" {{!}} [[Pikmin family|Pikmin]]
{{#if:{{{pikmin|}}}|! width="40%" style="background: #4df791;" {{!}} [[Pikmin family|Pikmin]]
{{!}} {{{pikmin|None}}}|}}
{{!}} {{{pikmin|None}}}|}}
|-
|-
{{#if:{{{caves|}}}|! width="40%" style="background: #eef;" {{!}} Caves
{{#if:{{{caves|}}}|! width="40%" style="background: #4df791;" {{!}} Caves
{{!}} {{{caves|None}}}|}}
{{!}} {{{caves|None}}}|}}
|-
|-
{{#if:{{{biome|}}}|! width="40%" style="background: #eef;" {{!}} Biome
{{#if:{{{biomes|}}}|! width="40%" style="background: #4df791;" {{!}} Biome
{{!}} {{{biome|None}}}|}}
{{!}} {{{biomes|None}}}|}}
|-
|-
{{#if:{{{shell|}}}|! width="40%" style="background: #eef;" {{!}} Shells
{{#if:{{{shells|}}}|! width="40%" style="background: #4df791;" {{!}} Shells
{{!}} {{{shell|None}}}|}}
{{!}} {{{shells|None}}}|}}
|-
|-
{{#if:{{{reward|}}}|! width="40%" style="background: #eef;" {{!}} Rewards
{{#if:{{{rewards|}}}|! width="40%" style="background: #4df791;" {{!}} Rewards
{{!}} {{{reward|None}}}|}}
{{!}} {{{rewards|None}}}|}}
|-
|-
{{#if:{{{family|}}}|! width="40%" style="background: #eef;" {{!}} Family
{{#if:{{{family|}}}|! width="40%" style="background: #4df791;" {{!}} Family
{{!}} {{{family|None}}}|}}
{{!}} {{{family|None}}}|}}
|-
|-
{{#if:{{{hazards|}}}|! width="40%" style="background: #eef;" {{!}} Hazard
{{#if:{{{hazards|}}}|! width="40%" style="background: #4df791;" {{!}} Hazard
{{!}} {{{hazards|None}}}|}}
{{!}} {{{hazards|None}}}|}}
|-
|-
{{#if:{{{obstacles|}}}|! width="40%" style="background: #eef;" {{!}} Obstacles
{{#if:{{{obstacles|}}}|! width="40%" style="background: #4df791;" {{!}} Obstacles
{{!}} {{{obstacles|None}}}|}}
{{!}} {{{obstacles|None}}}|}}
|-
|-
{{#if:{{{res|}}}|! width="40%" style="background: #eef;" {{!}} Resistance
{{#if:{{{res|}}}|! width="40%" style="background: #4df791;" {{!}} Resistance
{{!}} ''{{{res|None}}}''|}}
{{!}} {{{res|None}}}|}}
|-
{{#if:{{{weak|}}}|! width="40%" style="background: #4df791;" {{!}} Weakness
{{!}} {{{weak|None}}}|}}
|-
{{#if:{{{elements|}}}|! width="40%" style="background: #4df791;" {{!}} Element
{{!}} {{{elements|None}}}|}}
|-
{{#if:{{{health|}}}|! width="40%" style="background: #4df791;" {{!}} Health
{{!}} {{{health|None}}}|}}
|-
|-
{{#if:{{{weak|}}}|! width="40%" style="background: #eef;" {{!}} Weakness
{{#if:{{{attacks|}}}|! width="40%" style="background: #4df791;" {{!}} Attacks
{{!}} ''{{{weak|None}}}''|}}
{{!}} {{{attacks|None}}}|}}
|-
|-
{{#if:{{{element|}}}|! width="40%" style="background: #eef;" {{!}} Element
{{#if:{{{gender|}}}|! width="40%" style="background: #4df791;" {{!}} Gender
{{!}} ''{{{element|None}}}''|}}
{{!}} {{{gender|None}}}|}}
|-
|-
{{#if:{{{health|}}}|! width="40%" style="background: #eef;" {{!}} Health
{{#if:{{{cartype|}}}|! width="40%" style="background: #4df791;" {{!}} Character type
{{!}} ''{{{health|None}}}''|}}
{{!}} {{{cartype|None}}}|}}
|-
|-
{{#if:{{{attack|}}}|! width="40%" style="background: #eef;" {{!}} Attack
{{#if:{{{active|}}}|! width="40%" style="background: #4df791;" {{!}} Active times
{{!}} ''{{{attack|None}}}''|}}
{{!}} {{{active|None}}}|}}
|-
|-
{{#if:{{{gender|}}}|! width="40%" style="background: #eef;" {{!}} Gender
{{#if:{{{dif|}}}|! width="40%" style="background: #4df791;" {{!}} Difficulty
{{!}} ''{{{gender|None}}}''|}}
{{!}} {{{dif|None}}}|}}
|-
|-
{{#if:{{{cartype|}}}|! width="40%" style="background: #eef;" {{!}} Character Type
{{#if:{{{enmtype|}}}|! width="40%" style="background: #4df791;" {{!}} Danger
{{!}} ''{{{cartype|None}}}''|}}
{{!}} {{{enmtype|None}}}|}}
|-
|-
{{#if:{{{active|}}}|! width="40%" style="background: #eef;" {{!}} Active Times
{{#if:{{{speed|}}}|! width="40%" style="background: #4df791;" {{!}} Speed
{{!}} ''{{{active|None}}}''|}}
{{!}} {{speed|None}}}|}}
|-
|-
{{#if:{{{dif|}}}|! width="40%" style="background: #eef;" {{!}} Difficulty
{{#if:{{{throw|}}}|! width="40%" style="background: #4df791;" {{!}} Throw Height
{{!}} ''{{{dif|None}}}''|}}
{{!}} {{{throw|None}}}|}}
|-
|-
{{#if:{{{enmtype|}}}|! width="40%" style="background: #eef;" {{!}} Danger
{{#if:{{{weather|}}}|! width="40%" style="background: #4df791;" {{!}} Weather
{{!}} ''{{{enmtype|None}}}''|}}
{{!}} {{{weather|None}}}|}}
|-
|-
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Areas]]}}</includeonly><noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Pikmin: Colorful Journey]]}}</includeonly><noinclude>
 
{{clear}}
 
==Info==
{{todo|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==
<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>


{{clear}
[[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=
}}