Template:AdvArcInfobox: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (found the issue.) |
Tiddlywinks (talk | contribs) m (restoring from merge) |
||
(11 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{| style="float: right; background: #{{colorschemedark|{{{colorscheme|{{{name}}}}}}}}; width: 25%; max-width: 25%; margin-left: 5px; margin-bottom: 5px; {{roundy|10px}} border: 3px solid #{{colorschemethree|{{{colorscheme|{{{name}}}}}}}};" | {| style="float: right; background: #{{colorschemedark|{{{colorscheme|{{{name}}}}}}}}; width: 25%; max-width: 25%; margin-left: 5px; margin-bottom: 5px; {{roundy|10px}} border: 3px solid #{{colorschemethree|{{{colorscheme|{{{name}}}}}}}};" | ||
|- | |- | ||
! <big>'''{{{name|Red, Green & Blue}}} | ! <big>'''{{{name|Red, Green & Blue}}}'''</big> | ||
{{#if: {{{image|}}}|{{!}}- | {{#if: {{{image|}}}|{{!}}- | ||
Line 8: | Line 8: | ||
| | | | ||
{| 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}}" | | ! width="84px" style="background: #{{colorschemelight|{{{colorscheme|{{{name}}}}}}}}; {{roundyleft|10px}}" | Chapters | ||
| style="background: #FFFFFF; {{roundyright|10px}}" | {{{numrds|40}}}{{# | | style="background: #FFFFFF; {{roundyright|10px}}" | {{{numchs|{{{numrds|40}}}}}}{{#if: {{{firstch|{{{firstrd|}}}}}}|<br><small>([[{{{firstch|{{{firstrd|PS001}}}}}}]] - {{#switch: {{{lastch|{{{lastrd}}}}}}|unknown=present|[[{{{lastch|{{{lastrd|PS040}}}}}}]]}})</small>}} | ||
|} | |} | ||
|- | |- | ||
Line 21: | Line 21: | ||
{| 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}}" | Preceded by | ! width="84px" style="background: #{{colorschemelight|{{{colorscheme|{{{name}}}}}}}}; {{roundyleft|10px}}" | Preceded by | ||
| style="background: #FFFFFF; {{roundyright|10px}}" | {{# | | style="background: #FFFFFF; {{roundyright|10px}}" | {{#ifeq: {{{number|1}}}|1|None|[[{{{prev|}}} arc (Adventures)|''{{{prev|}}}'' arc]]}} | ||
|} | |} | ||
|- | |- | ||
Line 27: | Line 27: | ||
{| 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}}" | Followed by | ! width="84px" style="background: #{{colorschemelight|{{{colorscheme|{{{name}}}}}}}}; {{roundyleft|10px}}" | Followed by | ||
| style="background: #FFFFFF; {{roundyright|10px}}" | {{# | | style="background: #FFFFFF; {{roundyright|10px}}" | {{#if: {{{next|}}}|[[{{{next|Yellow}}} arc (Adventures)|''{{{next|Yellow}}}'' arc]]|Unannounced}} | ||
|} | |} | ||
|}<noinclude>[[Category:Infobox templates]]</noinclude> | |}<noinclude> | ||
{{Documentation}} | |||
[[Category:Infobox templates]] | |||
</noinclude> |
Latest revision as of 15:06, 27 August 2023
Red, Green & Blue | ||
---|---|---|
| ||
| ||
| ||
|
Template documentation
View or edit this documentation. (About template documentation)
Note: portions of the template sample may not be visible without values provided.
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 }}