Template:AnimeLocationInfobox: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (renaming category) |
BthrussellUK (talk | contribs) (Added Documentation template) |
||
(17 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{| | {| style="float:right; background: #{{colorschemedark|{{{colorscheme|{{{region}}}}}}}}; width: 25%; margin-left: 5px; margin-bottom: 5px; {{roundy|10px}}" | ||
|- | |- | ||
| colspan=2 style="text-align:center; color:#{{#switch: {{{region}}}|Unova|BW|Black & White|Best Wishes|Decolore Islands|Decolore Archipelago=FFFFFF|000000}};" | <big>'''{{{name}}}'''</big>{{#if: {{{characters|}}}|<br>'''<span lang="ja">{{{characters}}}</span>''' ''{{{japanese}}}''|}} | |||
{{#if: {{{image|}}}|{{!}}- | {{#if: {{{image|}}}|{{!}}- | ||
{{!}} colspan=2 style="background: #fff; | {{!}} colspan=2 style="text-align:center; background: #fff;" {{!}} [[File:{{{image}}}|{{{imagesize|200px}}}]]<br><small>{{{caption|{{{name|}}}}}}</small>|{{#ifeq: {{{appeared|yes}}}|yes|}}}} | ||
|- | |- | ||
| | | style="text-align:right; background: #{{colorschemelight|{{{colorscheme|{{{region}}}}}}}}; {{roundytl|10px}} width: 50%" | '''{{color2|000|Region}}''' | ||
| style="background: #fff; | | style="background: #fff; {{roundytr|10px}} width: 50%" | {{#ifeq:{{{region|}}}|None|{{{region}}}|{{color2|000|{{{region|Region}}}|{{{region|Unknown}}}}}}} | ||
|- | |- | ||
| | | style="text-align:right; background: #{{colorschemelight|{{{colorscheme|{{{region}}}}}}}}; {{roundybl|10px}}" | '''Debut''' | ||
| style="background: #fff; | | style="background: #fff; {{roundybr|10px}}" | [[{{{epicode}}}|''{{color|000|{{{episode|{{{epicode}}}}}}}}'']] | ||
|}<noinclude>[[Category:Infobox templates]]</noinclude> | |}<noinclude> | ||
{{Documentation}} | |||
[[Category:Infobox templates]]</noinclude> |
Revision as of 23:17, 4 April 2022
{{{name}}} | |
Region | Unknown |
Debut | [[{{{epicode}}}|{{{epicode}}}]] |
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 anime-exclusive location pages to outline basic information about the location.
How to use
Infoboxes should be used at the beginning of the page, 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 region parameter.
|
name
|
String | The name of the location in English. |
characters
|
String | Optional. The name of the location in Japanese. |
japanese
|
String | Optional. Japanese name in rōmaji |
image
|
File name | Optional. Image of the location. Don't include File: .
|
imagesize
|
String | The size of the image. Must include px or em . Defaults to 200px .
|
caption
|
String | A caption for the image. Defaults to the content of the name parameter.
|
region
|
String | The location's region. If not found in a region, type None . Defaults to Unknown .
|
epicode
|
String | The epicode of the episode or movie with the location's debut appearance. |
episode
|
String | The name episode or movie with the location's debut appearance. |
Example
Alto Mare アルトマーレ Altomare | |
Alto Mare | |
Region | Johto |
Debut | Pokémon Heroes: Latios & Latias |
{{AnimeLocationInfobox | name = Alto Mare | characters = アルトマーレ | japanese = Altomare | image = Alto Mare.png | imagesize = 301px | region = Johto | epicode = M05 | episode = Pokémon Heroes: Latios & Latias }}