Template:Infobox challenge: Difference between revisions
From Pikmin Fanon
m (1 revision: More Templates) |
(Updated, edited from Pikipedia's version of the template. I might add fields for the points needed to reach up to five rewards in the future.) |
||
Line 1: | Line 1: | ||
{| class="infobox" align="right" style="width: | {| class="infobox" align="right" style="width: 30em; font-size: 82%; text-align: left; border-style: solid; border-width: 2px; border-color: grey" | ||
! colspan="4" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}'' | ! class="infoboxTitle" colspan="4" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{customname|{{PAGENAME}} }}}'' | ||
|- | |- | ||
! colspan="4" style="background: #fff; text-align: center | {{#if:{{{image|}}}|{{!}} colspan="4" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{pipe}}{{{size}}}}}]]|}} | ||
|- | |- | ||
{{#if:{{{caption|}}}|{{!}} colspan="4" style="text-align:center" {{!}} {{{caption}}} }} | |||
| style=" | |||
|- | |- | ||
{{#if:{{{goal|}}}|! colspan="2" width="40%" style="background: #eef;" {{pipe}} Goal | |||
| style="background: # | {{!}} {{{goal}}} }} | ||
|- | |- | ||
! style="width: 40%; background: #eef;" | [[Cave|Sublevel]]s | |||
| style="width: 10%; padding-right: 8px;" | {{{sublevels|N/A}}} | |||
! style="width: 40%; background: #eef;" | Time limit | |||
| style="width: 10%; padding-right: 8px;" | {{{time|N/A}}} | |||
|- | |- | ||
| style="background: # | {{#if:{{{pikname1|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{pikname1}}}]] | ||
| style="background: # | {{!}} {{{piknum1|1}}} }} | ||
{{#if:{{{sprayname1|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{sprayname1}}}]] | |||
{{!}} {{{spraynum1|1}}} }} | |||
|- | |- | ||
| style="background: # | {{#if:{{{pikname2|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{pikname2}}}]] | ||
|}<includeonly>[[Category:Challenge Mode | {{!}} {{{piknum2|1}}} }} | ||
[[Category: | {{#if:{{{sprayname2|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{sprayname2}}}]] | ||
{{!}} {{{spraynum2|1}}} }} | |||
|- | |||
{{#if:{{{pikname3|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{pikname3}}}]] | |||
{{!}} {{{piknum3|1}}} }} | |||
{{#if:{{{sprayname3|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{sprayname3}}}]] | |||
{{!}} {{{spraynum3|1}}} }} | |||
|- | |||
{{#if:{{{pikname4|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{pikname4}}}]] | |||
{{!}} {{{piknum4|1}}} }} | |||
{{#if:{{{sprayname4|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{sprayname4}}}]] | |||
{{!}} {{{spraynum4|1}}} }} | |||
|- | |||
{{#if:{{{pikname5|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{pikname5}}}]] | |||
{{!}} {{{piknum5|1}}} }} | |||
{{#if:{{{sprayname5|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{sprayname5}}}]] | |||
{{!}} {{{spraynum5|1}}} }} | |||
|- | |||
{{#if:{{{pikname6|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{pikname6}}}]] | |||
{{!}} {{{piknum6|1}}} }} | |||
{{#if:{{{sprayname6|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{sprayname6}}}]] | |||
{{!}} {{{spraynum6|1}}} }} | |||
|- | |||
{{#if:{{{pikname7|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{pikname7}}}]] | |||
{{!}} {{{piknum7|1}}} }} | |||
{{#if:{{{sprayname7|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{sprayname7}}}]] | |||
{{!}} {{{spraynum7|1}}} }} | |||
|- | |||
{{#if:{{{pikname8|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{pikname8}}}]] | |||
{{!}} {{{piknum8|1}}} }} | |||
{{#if:{{{sprayname8|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{sprayname8}}}]] | |||
{{!}} {{{spraynum8|1}}} }} | |||
|- | |||
{{#if:{{{pikname9|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{pikname9}}}]] | |||
{{!}} {{{piknum9|1}}} }} | |||
{{#if:{{{sprayname9|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{sprayname9}}}]] | |||
{{!}} {{{spraynum9|1}}} }} | |||
|- | |||
{{#if:{{{pikname10|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{pikname10}}}]] | |||
{{!}} {{{piknum10|1}}} }} | |||
{{#if:{{{sprayname10|}}}|! width="40%" style="background: #eef;" {{pipe}} [[{{{sprayname10}}}]] | |||
{{!}} {{{spraynum10|1}}} }} | |||
|- | |||
{{#if:{{{prevstage|}}}|! colspan="2" width="40%" style="background: #eef;" {{pipe}} Previous stage | |||
{{!}} {{{prevstage}}} }} | |||
|- | |||
{{#if:{{{nextstage|}}}|! colspan="2" width="40%" style="background: #eef;" {{pipe}} Next stage | |||
{{!}} {{{nextstage}}} }} | |||
|}<includeonly>[[Category:Challenge Mode stages]]</includeonly><noinclude> | |||
{{clear}} | |||
==Info== | |||
Place this template at the top of [[Challenge Mode]] stage articles. This will place an information box with data about it. | |||
Articles with this template are automatically categorized under [[:Category:Challenge Mode stages]]. | |||
==Parameters== | |||
{| class = "wikitable" | |||
! Parameter || Mandatory || Default || Detailed description | |||
|- | |||
! customname | |||
| No || || If the stage's name differs from the article's, specify it here. | |||
|- | |||
! image | |||
| No || || Image title, including extension. | |||
|- | |||
! size | |||
| No || || Image size. | |||
|- | |||
! caption | |||
| No || || Image caption. | |||
|- | |||
! goal | |||
| No || || The specific goal of the stage, i.e. Defeat Enemies, Collect Treasures, Breed Pikmin. | |||
|- | |||
! sublevels | |||
| Yes || || Number of sublevels. | |||
|- | |||
! time | |||
| Yes || || Time limit, in seconds. | |||
|- | |||
! pikname# | |||
| No || || Name of starting Pikmin. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between. | |||
|- | |||
! piknum# | |||
| No || || Number of starting Pikmin. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between. | |||
|- | |||
! sprayname# | |||
| No || || Name of starting spray. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between. | |||
|- | |||
! spraynum# | |||
| No || || Number of starting spray. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between. | |||
|- | |||
! prevstage | |||
| No || || The stage preceding the current one. | |||
|- | |||
! nexstage | |||
| No || || The stage succeeding the current one. | |||
|} | |||
==Skeleton== | |||
<pre> | |||
{{infobox challenge | |||
|customname= | |||
|image= | |||
|size= | |||
|caption= | |||
|sublevels= | |||
|goal= | |||
|time= | |||
|pikname#= | |||
|piknum#= | |||
|sprayname#= | |||
|spraynum#= | |||
|prevstage= | |||
|nextstage= | |||
}} | |||
</pre> | |||
[[Category:Infobox templates]]</noinclude> | |||
Revision as of 19:22, 4 April 2022
Infobox challenge | |||
---|---|---|---|
Sublevels | N/A | Time limit | N/A |
Info
Place this template at the top of Challenge Mode stage articles. This will place an information box with data about it.
Articles with this template are automatically categorized under Category:Challenge Mode stages.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
customname | No | If the stage's name differs from the article's, specify it here. | |
image | No | Image title, including extension. | |
size | No | Image size. | |
caption | No | Image caption. | |
goal | No | The specific goal of the stage, i.e. Defeat Enemies, Collect Treasures, Breed Pikmin. | |
sublevels | Yes | Number of sublevels. | |
time | Yes | Time limit, in seconds. | |
pikname# | No | Name of starting Pikmin. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between. | |
piknum# | No | Number of starting Pikmin. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between. | |
sprayname# | No | Name of starting spray. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between. | |
spraynum# | No | Number of starting spray. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between. | |
prevstage | No | The stage preceding the current one. | |
nexstage | No | The stage succeeding the current one. |
Skeleton
{{infobox challenge |customname= |image= |size= |caption= |sublevels= |goal= |time= |pikname#= |piknum#= |sprayname#= |spraynum#= |prevstage= |nextstage= }}