Template:Infobox area: Difference between revisions
From Pikmin Fanon
m (Cheepy-Cheepy moved page Template:Infobox Area to Template:Infobox area) |
mNo edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{|class="infobox" align="right" style="width: | {| class="infobox" align="right" style="width: 30em; background-color:#fff; font-size: 80%; text-align: left; border-style: solid; border-width: 2px; border-color: grey" | ||
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}'' | ! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{customname|{{PAGENAME}} }}}'' | ||
|- | |- | ||
! colspan="2" style="background: #fff; text-align: center | {{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]|}} | ||
|- | |- | ||
! style=" | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{location|}}}|! width="40%" style="background: #eef;" {{!}} Location | ||
{{!}} {{{location|Unknown}}}|}} | |||
|- | |- | ||
! style="background: # | {{#if:{{{pikmin|}}}|! width="40%" style="background: #eef;" {{!}} [[Pikmin family|Pikmin]] discovered | ||
{{!}} {{{pikmin|None}}}|}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{caves|}}}|! width="40%" style="background: #eef;" {{!}} [[Cave]]s | ||
{{!}} {{{caves|None}}}|}} | |||
|- | |- | ||
! style="background: # | {{#if:{{{parts|}}}|! width="40%" style="background: #eef;" {{!}} [[Vehicle part]]s | ||
{{!}} {{{parts|None}}}|}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{treasures|}}}|! width="40%" style="background: #eef;" {{!}} [[Treasure]]s | ||
{{ | {{!}} {{{treasures|None}}}|}} | ||
{{#if:{{{ | |- | ||
{{ | {{#if:{{{fruits|}}}|! width="40%" style="background: #eef;" {{!}} [[Fruit]]s | ||
|}<includeonly>[[Category:Areas | {{!}} {{{fruits|None}}}|}} | ||
[[Category: | |- | ||
{{#if:{{{collectibles|}}}|! width="40%" style="background: #eef;" {{!}} Collectibles | |||
{{!}} {{{collectibles|None}}}|}} | |||
|- | |||
{{#if:{{{hazards|}}}|! width="40%" style="background: #eef;" {{!}} [[Hazard]]s | |||
{{!}} {{{hazards|None}}}|}} | |||
|- | |||
{{#if:{{{obstacles|}}}|! width="40%" style="background: #eef;" {{!}} [[Obstacle]]s | |||
{{!}} {{{obstacles|None}}}|}} | |||
|- | |||
{{#if:{{{music|}}}|! width="40%" style="background: #eef;" {{!}} Music | |||
{{!}} ''{{{music|None}}}''|}} | |||
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Areas]]}}</includeonly><noinclude> | |||
{{clear}} | |||
==Info== | |||
Place this at the top of [[area]] articles. This will place an information box with data about the area. | |||
Pages with this template are automatically categorized under [[:Category:Areas]]. | |||
==Parameters== | |||
{| class = "wikitable" | |||
! Parameter || Mandatory || Default || Detailed description | |||
|- | |||
! customname | |||
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' || Specify the name of the area here, so as not to include the title of the game it appears in. | |||
|- | |||
! image | |||
| No || || Image for the infobox, extension included. | |||
|- | |||
! size | |||
| No || || The image's size. | |||
|- | |||
! caption | |||
| No || || The image's caption, if needed. | |||
|- | |||
! location | |||
| No || Unknown || Where the area is located, either on the world map or its geographical location on PNF-404 or another planet. | |||
|- | |||
! pikmin | |||
| No || None || Pikmin types discovered in this area. Pikmin that are found in one of the area's caves should be included as if they too were found on the surface. | |||
|- | |||
! caves | |||
| No || None || The caves found in an area. | |||
|- | |||
! parts | |||
| No || None || The number of [[vehicle part]]s found in an area. Collectibles can be specifically listed instead if so desired. | |||
|- | |||
! treasures | |||
| No || None || Same as above, but with [[treasure]]s instead. | |||
|- | |||
! fruits | |||
| No || None || Same as above, but with [[fruit]]s instead. | |||
|- | |||
! collectibles | |||
| No || None || Same as above, but with miscellaneous collectibles, such as upgrades, instead. | |||
|- | |||
! hazards | |||
| No || None || Hazards present in an area. Usually not necessary considering the large number of hazards found in various areas. Use {{t|icon}} for this. | |||
|- | |||
! obstacles | |||
| No || None || Obstacles found in an area, but not obstacles found in its caves. Use {{t|icon}} for this. | |||
|- | |||
! music | |||
| No || None || The title of the music played in the area. The infobox automatically italicizes its title. | |||
|- | |||
! nocat | |||
| No || || Giving this a value like "y" makes the template not auto-categorize the area. | |||
|} | |||
== | ==Skeleton== | ||
<pre>{{infobox | <pre> | ||
|image | {{infobox area | ||
|size | |customname= | ||
| | |image= | ||
|size= | |||
| | |caption= | ||
|location= | |||
|hazards | |pikmin= | ||
|caves= | |||
|parts= | |||
}}</pre></noinclude> | |treasures= | ||
|fruits= | |||
|collectibles= | |||
|hazards= | |||
|obstacles= | |||
|music= | |||
|nocat= | |||
}} | |||
</pre> | |||
[[Category:Infobox templates]]</noinclude> |
Latest revision as of 18:19, 24 December 2023
Infobox area |
---|
Info
Place this at the top of area articles. This will place an information box with data about the area.
Pages with this template are automatically categorized under Category:Areas.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
customname | No | {{PAGENAME}} | Specify the name of the area here, so as not to include the title of the game it appears in. |
image | No | Image for the infobox, extension included. | |
size | No | The image's size. | |
caption | No | The image's caption, if needed. | |
location | No | Unknown | Where the area is located, either on the world map or its geographical location on PNF-404 or another planet. |
pikmin | No | None | Pikmin types discovered in this area. Pikmin that are found in one of the area's caves should be included as if they too were found on the surface. |
caves | No | None | The caves found in an area. |
parts | No | None | The number of vehicle parts found in an area. Collectibles can be specifically listed instead if so desired. |
treasures | No | None | Same as above, but with treasures instead. |
fruits | No | None | Same as above, but with fruits instead. |
collectibles | No | None | Same as above, but with miscellaneous collectibles, such as upgrades, instead. |
hazards | No | None | Hazards present in an area. Usually not necessary considering the large number of hazards found in various areas. Use {{icon}} for this. |
obstacles | No | None | Obstacles found in an area, but not obstacles found in its caves. Use {{icon}} for this. |
music | No | None | The title of the music played in the area. The infobox automatically italicizes its title. |
nocat | No | Giving this a value like "y" makes the template not auto-categorize the area. |
Skeleton
{{infobox area |customname= |image= |size= |caption= |location= |pikmin= |caves= |parts= |treasures= |fruits= |collectibles= |hazards= |obstacles= |music= |nocat= }}