Template:AdvArcInfobox: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
{| style="background: #{{colorschemelight|{{{colorscheme|{{{name}}}}}}}}; width: 100%; {{roundy|10px}}" | {| style="background: #{{colorschemelight|{{{colorscheme|{{{name}}}}}}}}; width: 100%; {{roundy|10px}}" | ||
! width="84px" style="background: #{{colorschemelight|{{{colorscheme|{{{name}}}}}}}}; {{roundyleft|10px}}" | Chapters | ! width="84px" style="background: #{{colorschemelight|{{{colorscheme|{{{name}}}}}}}}; {{roundyleft|10px}}" | Chapters | ||
| style="background: #FFFFFF; {{roundyright|10px}}" | {{{ | | style="background: #FFFFFF; {{roundyright|10px}}" | {{{numchs|40}}}{{#if: {{{firstch|}}}|<br><small>([[{{{firstch|PS001}}}]] - {{#switch: {{{lastch}}}|unknown=present|[[{{{lastch|PS040}}}]]}})</small>}} | ||
|} | |} | ||
|- | |- |
Revision as of 22:03, 26 August 2023
Red, Green & Blue | ||
---|---|---|
| ||
| ||
| ||
|
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
This infobox template is used on Pokémon Adventures arc pages to outline basic information about the arcs.
How to use
Infoboxes should be used at the beginning of the page, after the {{ArcPrevNext}}
template and before any introductory text.
Parameters
All parameters are case sensitive.
Parameter | Allowed values | Notes |
---|---|---|
colorscheme
|
List of colors » | Sets the background and border colors of the template. Defaults to the content of the name parameter.
|
name
|
String | The name of the arc. Defaults to Red, Green & Blue .
|
number
|
Number | The arc number. Defaults to 1
|
image
|
File name | Image for the arc. Don't include File: . To set the image size, add {{!}}250px after the file name.
|
caption
|
String | A caption for the arc image. |
numchs
|
Number | The number of chapters in the arc. Defaults to 40 .
|
firstch
|
Page name | Optional. The page name of the arc's first chapter. E.g. PS001 . Don't include [[ ]] .
|
lastch
|
Page name • unknown
|
Optional. The page name of the arc's last chapter. If the arc is ongoing, use unknown .
|
region
|
String | The main region in which the arc takes place. Defaults to Kanto .
|
prev
|
String | The name of the previous arc. Defaults to None .
|
next
|
String | The name of the next arc. Defaults to Unannounced .
|
Deprecated
The following parameters are retained solely for viewing historical revisions (before Chapter was changed to arc and Round to chapter). They should no longer be used.
Deprecated | New parameter |
---|---|
numrds | numchs
|
firstrd | firstch
|
lastrd | lastch
|
Example
Yellow | ||
---|---|---|
Yellow and Pika | ||
| ||
| ||
| ||
|
{{AdvArcInfobox |name = Yellow |number = 2 |image = Yellow chapter.png{{!}}250px |caption = {{adv|Yellow}} and [[Pika]] |numchs = 50 |firstch = PS041 |lastch = PS090 |region = Kanto |prev = Red, Green & Blue |next = Gold, Silver & Crystal }}