Wikia

Pokémon Wiki

Changes: Template:RegionBox

Edit

Back to page

m
m (Trying to add how to use it.)
Line 1: Line 1:
{| class="toccolours" style="{{Roundy|20px}} width:17em; border:solid 2px #{{#switch:{{{name|Default}}}|Default=C0C0C0|Kanto=FCF75E|Johto=ADD8E6|Hoenn=90EE90|Sinnoh=C0C0C0|Unova=808080|Orange Archipelago|Orange Islands=FFA500|Orre=CD9B1D|Sevii Islands=2E8B57|Battle Zone=C33B00|Pokétopia=DC143C|Fiore=4DBD33|Almia=499DF5|Oblivia=FFD700|Ransei=B0C4DE}}; margin:0 0 0.5em 1em; float:right; text-align:left"
+
{| class="infobox" align="center" width="45%" style="background: #{{{background color|E0E0CF}}}; {{roundy|10px}}; border: #{{{border color|A8A878}}} 4px solid;"
  +
|- align="center"
  +
|
  +
{| width="100%" align="right" style="background: transparent"
  +
|- align="center"
  +
! {{color|000|{{BASEPAGENAME}}}}<br />{{tt|{{color|000|{{{japanese name}}}}}|{{{romanji name}}}}}
  +
|- align="center"
  +
| style="background: #FFFFFF; {{roundy|5px}}" | [[Image:{{{image}}}|200px|center]]{{#if:{{{caption}}}|<small>{{{caption}}}</small>}}
  +
|}
  +
|- align="center" {{#if: {{{video game title 2|}}}||style="display:none;"}}
  +
|
  +
{| width="100%" align="right" class="roundy" style="background: transparent;"
  +
|- align="center"
  +
! {{color|000|{{{video game title 2}}}}}<br />{{color|000|{{{japanese title 2}}}}}
  +
|- align="center"
  +
| class="roundy" style="background: #FFFFFF; {{roundy|5px}}" | [[Image:{{{image 2}}}|200px|center]]{{#if:{{{caption 2}}}|<small>{{{caption 2}}}</small>}}
  +
|}
  +
|- align="center" {{#if: {{{image 2|}}}||style="display:none;"}}
  +
|
  +
{| width="100%" align="right" class="roundy" style="background: transparent;"
  +
|- align="center"
  +
| class="roundy" style="background: #FFFFFF; {{roundy|5px}}" | [[Image:{{{image 2}}}|200px|center]]{{#if:{{{caption 2}}}|<small>{{{caption 2}}}</small>}}
  +
|}
 
|-
 
|-
! colspan="2" style="{{Roundy|20px}} background:#{{#switch:{{{name|Default}}}|Default=C0C0C0|Kanto=FCF75E|Johto=ADD8E6|Hoenn=90EE90|Sinnoh=C0C0C0|Unova=808080|Orange Archipelago|Orange Islands=FFA500|Orre=CD9B1D|Sevii Islands=2E8B57|Battle Zone=C33B00|Pokétopia=DC143C|Fiore=4DBD33|Almia=499DF5|Oblivia=FFD700|Ransei=B0C4DE}}; color:{{{textcolor}}}; font-size:larger; text-align:center; {{roundy|20px}}" | {{{name}}}<br><span style="font-size: 10px">{{{japanesename|Unknown}}}</span>
+
| colspan="2" |
  +
{|style="margin:auto; width:290px; padding:2px; background-color:#{{{border color 2|A8A878}}}; color:#000; text-align:center; {{roundy|5px}}" cellspacing=1
 
|-
 
|-
| colspan="2" style="padding:1em 0; text-align:center;" | {{#if:{{{image|}}}|[[{{{image|}}}|225px|''{{{caption}}}'']]<br>}}
+
! colspan="2" style="padding-bottom: 1px; padding-left: 20px; padding-right: 20px;" | Character Information
 
|-
 
|-
! colspan="2" style="background:#{{#switch:{{{name|Default}}}|Default=C0C0C0|Kanto=FCF75E|Johto=ADD8E6|Hoenn=90EE90|Sinnoh=C0C0C0|Unova=808080|Orange Archipelago|Orange Islands=FFA500|Orre=CD9B1D|Sevii Islands=2E8B57|Battle Zone=C33B00|Pokétopia=DC143C|Fiore=4DBD33|Almia=499DF5|Oblivia=FFD700|Ransei=B0C4DE}}; color:{{{textcolor}}}; font-size:larger; text-align:center; {{Roundy|20px}}" | '''General'''
+
! style="background: #{{{background color 2|E0E0CF}}}; width:100px; {{roundytl|10px}}" | [[Professor|{{color|000|Professor}}]]
  +
| style="background: #FFFFFF; width:200px; text-align:left; {{roundytr|10px}}"| {{{professor}}}
 
|-
 
|-
|- style="font-size:2.5;"
+
! style="background: #{{{background color 2|E0E0CF}}}; width:100px;" | [[Pokémon (species)|{{color|000|Pokémon}}]]
! style="vertical-align:top;"| {{#if:{{{firstappear|}}}|<small>'''Introduced in:'''</small>}}
+
| style="background: #FFFFFF; width:200px; text-align:left;"| {{{pokémon}}}
| style="vertical-align:top; padding-right:1em;" | {{#if:{{{firstappear|}}}|<small>{{{firstappear|}}}</small>}}
 
 
|-
 
|-
|- style="font-size:2.5;"
+
! style="background: #{{{background color 2|E0E0CF}}}; width:100px;" | [[Starter Pokémon|{{color|000|Starter Pokémon}}]]
! style="vertical-align:top;"| {{#if:{{{newpokemon|}}}|<small>'''Newly revealed Pokémon:'''</small>}}
+
| style="background: #FFFFFF; width:200px; text-align:left;"| {{{starter pokémon}}}<br />{{#if:{{{starter pokémon 2|}}}|{{{starter pokémon 2}}}}}{{#if:{{{starter pokémon 3|}}}|<br />{{{starter pokémon 3}}}}}
| style="vertical-align:top; padding-right:1em;" | {{#if:{{{newpokemon|}}}|<small>{{{newpokemon|}}}</small>}}
 
 
|-
 
|-
|- style="font-size:2.5;"
+
! style="background: #{{{background color 2|E0E0CF}}}; width:100px;" | Video Games
! style="vertical-align:top;"| {{#if:{{{prof|}}}|<small>'''Professor:'''</small>}}
+
| style="background: #FFFFFF; width:200px; text-align:left;"| {{{video game}}}<br />{{#if:{{{video game 2|}}}|{{{video game 2}}}}}{{#if:{{{video game 3|}}}|<br />{{{video game 3}}}}}{{#if:{{{video game 4|}}}|<br />{{{video game 4}}}}}{{#if:{{{video game 5|}}}|<br />{{{video game 5}}}}}{{#if:{{{video game 6|}}}|<br />{{{video game 6}}}}}
| style="vertical-align:top; padding-right:1em;" | {{#if:{{{prof|}}}|<small>{{{prof|}}}</small>}}
 
 
|-
 
|-
|- style="font-size:2.5;"
+
{{#if: {{{anime<includeonly>|</includeonly>}}} | {{!}} style="background: #{{{background color 2|E0E0CF}}}; width:100px;" {{!}} '''Anime''' {{!!}} style="background: #FFFFFF; width:200px; text-align:left;" {{!}} {{{anime}}}<br />{{#if:{{{anime 2|}}}|{{{anime 2}}}}}{{#if:{{{anime 3|}}}|<br />{{{anime 3}}}}}{{#if:{{{anime 4|}}}|<br />{{{anime 4}}}}}{{#if:{{{anime 5|}}}|<br />{{{anime 5}}}}} }}
! style="vertical-align:top;"| {{#if:{{{startpokemon|}}}|<small>'''Starter Pokémon:'''</small>}}
 
| style="vertical-align:top; padding-right:1em; font:math;" | {{#if:{{{startpokemon|}}}|<small>{{{startpokemon|}}}</small>}}
 
 
|-
 
|-
|- style="font-size:2.5;"
+
! style="background: #{{{background color 2|E0E0CF}}}; width:100px;" | Main Villain
! style="vertical-align:top;"| {{#if:{{{villains|}}}|<small>'''Regional villains:'''</small>}}
+
| style="background: #FFFFFF; width:200px; text-align:left;"| {{{villain}}}<br />{{#if:{{{villain 2|}}}|{{{villain 2}}}}}{{#if:{{{villain 3|}}}|<br />{{{villain 3}}}}}
| style="vertical-align:top; padding-right:1em;" | {{#if:{{{villains|}}}|<small>{{{villains|}}}</small>}}
 
 
|-
 
|-
|}<includeonly>[[Category:Regions]][[Category:Geography]]</includeonly>
+
! style="background: #{{{background color 2|E0E0CF}}}; width:100px; {{roundybl|10px}}" | [[Rival|{{color|000|Rival}}]]
+
| style="background: #FFFFFF; width:200px; text-align:left; {{roundybr|10px}}"| {{{rival}}}<br />{{#if:{{{rival 2|}}}|{{{rival 2}}}}}{{#if:{{{debut games 3|}}}|<br />{{{rival 3}}}}}
<noinclude>
+
|-
==Usage==
+
|}
<pre>
+
|}
{{RegionBox
 
|backcolor=
 
|textcolor=
 
|name=
 
|image=
 
|caption=
 
|firstappear=
 
|newpokemon=
 
|prof=
 
|startpokemon=
 
|villains=
 
}}
 
 
</pre>
 
</pre>
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 13:16, February 28, 2013

RegionBox
{{{japanese name}}}
[[Image:{{{image}}}|200px|center]]{{{caption}}}
{{{video game title 2}}}
{{{japanese title 2}}}
[[Image:{{{image 2}}}|200px|center]]{{{caption 2}}}
[[Image:{{{image 2}}}|200px|center]]{{{caption 2}}}
Character Information
Professor {{{professor}}}
Pokémon {{{pokémon}}}
Starter Pokémon {{{starter pokémon}}}
Video Games {{{video game}}}
Anime {{{anime}}}
Main Villain {{{villain}}}
Rival {{{rival}}}

</pre>

Around Wikia's network

Random Wiki