Wikia

Pokémon Wiki

Changes: Template:CharacterBox

View source

Back to page

m
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{| cellpadding="1" cellspacing="1" class="toccolours" style="border: 2px solid {{{backcolor|#C0C0C0}}}; width:16em; float:right; margin:0 0 0.5em 1em; text-align:left; border-radius:25px 0px 25px 0px;"
 
{| cellpadding="1" cellspacing="1" class="toccolours" style="border: 2px solid {{{backcolor|#C0C0C0}}}; width:16em; float:right; margin:0 0 0.5em 1em; text-align:left; border-radius:25px 0px 25px 0px;"
 
|-
 
|-
! colspan="2" style="background:{{{backcolor|#C0C0C0}}}; color:{{{textcolor|#000000}}}; font-size:larger; text-align:center; border-radius:25px 0px 25px 0px;" | {{{name}}}
+
! colspan="2" style="background:{{{backcolor|#C0C0C0}}}; color:{{{textcolor|#000000}}}; font-size:larger; text-align:center; border-radius:25px 0px 25px 0px;" | {{{name}}}<br><small>({{{jname|Unknown}}})</small>
 
|-
 
|-
| colspan="2" style="padding:1em 0; text-align:center;" | {{{image}}}
+
| colspan="2" style="padding:1em 0; text-align:center;" | [[File:{{{image}}}|{{#if:{{{image size|}}}|{{{image size}}}|125px}}]]
 
|-
 
|-
! colspan="2" style="background:{{{backcolor|#C0C0C0}}}; color:{{{textcolor|#000000}}}; font-size:larger; text-align:center; border-radius:25px 0px 25px 0px;" | '''General'''
+
! colspan="2" style="background:{{{backcolor|#C0C0C0}}}; color:{{{textcolor|#000000}}}; font-size:larger; text-align:center; border-radius:25px 0px 25px 0px;" | '''General'''
{{!}}- style="font-size:2.5;"
+
|-
{{!}} style="vertical-align:top;"{{!}} '''Name:'''
+
|- style="font-size:12px; vertical-align:middle;"
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{{name}}}
+
{{#if: {{{hometown<includeonly>|</includeonly>}}} | {{!}} style="border-bottom: 1px solid #BDBDBD;" {{!}} '''Hometown:''' {{!!}} style="text-align:right; border-bottom: 1px solid #BDBDBD;" {{!}} {{{hometown}}} }}
{{!}}-
+
|-
{{!}}- style="font-size:2.5;"
+
|- style="font-size:12px; vertical-align:middle;"
{{!}} style="vertical-align:top;"{{!}} '''Japanese Name:'''
+
{{#if: {{{region<includeonly>|</includeonly>}}} | {{!}} style="border-bottom: 1px solid #BDBDBD;" {{!}} '''Region:''' {{!!}} style="text-align:right; border-bottom: 1px solid #BDBDBD;" {{!}} {{{region}}} }}
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{{jname}}}
+
|-
{{!}}-
+
|- style="font-size:12px; vertical-align:middle;"
{{#if: {{{age|}}} |
+
{{#if: {{{family<includeonly>|</includeonly>}}} | {{!}} style="border-bottom: 1px solid #BDBDBD;" {{!}} '''Family:''' {{!!}} style="text-align:right; border-bottom: 1px solid #BDBDBD;" {{!}} {{{family}}} }}
{{!}}- style="font-size:2.5;"
+
|-
{{!}} style="vertical-align:top;"{{!}} '''Age:'''
+
|- style="font-size:12px; vertical-align:middle;"
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{{age}}}
+
{{#if: {{{class<includeonly>|</includeonly>}}} | {{!}} style="border-bottom: 1px solid #BDBDBD;" {{!}} '''Class:''' {{!!}} style="text-align:right; border-bottom: 1px solid #BDBDBD;" {{!}} {{{class}}} }}
{{!}}-}}
+
|-
{{#if: {{{hometown|}}} |
+
|- style="font-size:12px; vertical-align:middle;"
{{!}}- style="font-size:2.5;"
+
{{#if: {{{friends<includeonly>|</includeonly>}}} | {{!}} style="border-bottom: 1px solid #BDBDBD;" {{!}} '''Friends:''' {{!!}} style="text-align:right; border-bottom: 1px solid #BDBDBD;" {{!}} {{{friends}}} }}
{{!}} style="vertical-align:top;"{{!}} '''Hometown:'''
+
|-
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{{hometown}}}
+
|- style="font-size:12px; vertical-align:middle;"
{{!}}-}}
+
{{#if: {{{firstappear<includeonly>|</includeonly>}}} | {{!}} style="border-bottom: 1px solid #BDBDBD;" {{!}} '''First Appearance:''' {{!!}} style="text-align:right; border-bottom: 1px solid #BDBDBD;" {{!}} {{{firstappear}}} }}
{{#if: {{{region|}}} |
+
|-
{{!}}- style="font-size:2.5;"
+
|- style="font-size:12px; vertical-align:middle;"
{{!}} style="vertical-align:top;"{{!}} '''Region:'''
+
{{#if: {{{voiceact<includeonly>|</includeonly>}}} | {{!}} {{!}} '''Voice actor:''' {{!!}} style="text-align:right;" {{!}} {{{voiceact}}} }}
{{!}} style="vertical-align:top; padding-right:1em; font:math;" {{!}}
 
{{{region}}}
 
{{!}}-}}
 
{{#if: {{{family|}}} |
 
{{!}}- style="font-size:2.5;"
 
{{!}} style="vertical-align:top;"{{!}} '''Family:'''
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}}
 
{{{family}}}
 
{{!}}-}}
 
{{#if: {{{class|}}} |
 
{{!}}- style="font-size:2.5;"
 
{{!}} style="vertical-align:top;"{{!}} '''Class:'''
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{{class}}}
 
{{!}}-}}
 
{{#if: {{{friends|}}} |
 
{{!}}- style="font-size:2.5;"
 
{{!}} style="vertical-align:top;"{{!}} '''Friends:'''
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}}
 
{{{friends}}}
 
{{!}}-}}
 
{{#if: {{{firstappear|}}} |
 
{{!}}- style="font-size:2.5;"
 
{{!}} style="vertical-align:top;"{{!}} '''First Appearance:'''
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}}
 
{{{firstappear}}}
 
{{!}}-}}
 
{{#if: {{{voiceact|}}} |
 
{{!}}- style="font-size:2.5;"
 
{{!}} style="vertical-align:top;"{{!}} '''Voice actor:'''
 
{{!}} style="vertical-align:top; padding-right:1em;" {{!}} {{{voiceact}}}
 
{{!}}-
 
}}
 
 
|-
 
|-
 
|}
 
|}
Line 32: Line 32:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
 
 
<pre>
 
<pre>
 
{{CharacterBox
 
{{CharacterBox
|backcolor =
 
|backcolor2 =
 
|textcolor =
 
 
|image =
 
|image =
 
|name =
 
|name =
Line 46: Line 42:
 
|family =
 
|family =
 
|class =
 
|class =
|friends =
+
|friends =
 
|firstappear =
 
|firstappear =
 
|voiceact =
 
|voiceact =
 
}}
 
}}
</pre>[[Category:Templates]]</noinclude>
+
</pre>[[Category:Infobox Templates]]</noinclude>

Latest revision as of 12:01, July 18, 2014

{{{name}}}
(Unknown)
[[File:{{{image}}}|125px]]
General
Hometown: {{{hometown}}}
Region: {{{region}}}
Family: {{{family}}}
Class: {{{class}}}
Friends: {{{friends}}}
First Appearance: {{{firstappear}}}
Voice actor: {{{voiceact}}}


UsageEdit

{{CharacterBox
|image       =
|name        =
|jname       =
|age         =
|hometown    =
|region      =
|family      =
|class       =
|friends     =
|firstappear =
|voiceact    =
}}

Around Wikia's network

Random Wiki