Template:Character Infobox

From TSD Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
{| class="infobox"
 
{| class="infobox"
| bodyclass  = biography vcard
+
! colspan="2" style="color:#ffffff;background:#604088;min-width:250px;font-size:11pt;text-align:center;" |
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
+
{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}}}}
| above      = {{#if:{{{caption_name|}}}|{{{caption_name|}}}|{{PAGENAME}}}}
+
|-
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]}}
+
| colspan="2" style="text-align:center;font-size:7pt" | [[Image:Tlaloc, Codex Rios, p.20r.JPG|noframe|200px]]<br />Image caption
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
+
|-
| label1    = Native name
+
| <!--
| data1      = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
+
 
| label11    = Born
+
 
| data11      = {{br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}
+
Biographical
 +
 
 +
 
 +
--> {{#if: <!--
 +
--> {{{name|}}} {{{aliases|}}} {{{zodiac|}}} {{{born|}}} {{{missing|}}} {{{died|}}} {{{nationality|}}} {{{languages|}}}<!--
 +
--> | {{#!: colspan="2" style="color:#ffffff;background:#9070bb;text-align:center;font-size:9pt" }} {{!}} '''Biographical'''  | }}
 +
|-
 +
| {{#if: {{{name|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Name: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{name|}}} | {{{name}}} | }}
 +
|-
 +
| {{#if: {{{aliases|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Aliases: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{aliases|}}} | {{{aliases}}} | }}
 +
|-
 +
| {{#if: {{{zodiac|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Zodiac:''' | }}
 +
| style="font-size:9pt" | {{#if: {{{zodiac|}}} | {{{zodiac}}} | }}
 +
|- 
 +
| {{#if: {{{born|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Born: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{born|}}} | {{{born}}} | }}
 +
|-
 +
| {{#if: {{{missing|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Missing: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{missing|}}} | {{{missing}}} | }}
 +
|-
 +
| {{#if: {{{died|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Died: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{died|}}} | {{{died}}} | }}
 +
|-
 +
| {{#if: {{{nationality|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Nationality: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{nationality|}}} | {{{nationality}}} | }}
 +
|-
 +
| {{#if: {{{languages|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Languages: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{languages|}}} | {{{languages}}} | }}
 +
|-
 +
| <!--
 +
 
 +
 
 +
Appearance
 +
 
 +
 
 +
--> {{#if: <!--
 +
--> {{{race|}}} {{{gender|}}} {{{ethnicity|}}} {{{height|}}} {{{build|}}} {{{hair|}}} {{{eyes|}}}<!--
 +
--> | {{#!: colspan="2" style="color:#ffffff;background:#9070bb;text-align:center;font-size:9pt" }} {{!}} '''Appearance'''  | }}
 +
|-
 +
| {{#if: {{{race|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Race: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{race|}}} | {{{race}}} | }}
 +
|-
 +
| {{#if: {{{gender|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Gender: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{gender|}}} | {{{gender}}} | }}
 +
|-
 +
| {{#if: {{{ethnicity|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Ethnicity: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{ethnicity|}}} | {{{ethnicity}}} | }}
 +
|-
 +
| {{#if: {{{height|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Height: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{height|}}} | {{{height}}} | }}
 +
|-
 +
| {{#if: {{{build|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Build: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{build|}}} | {{{build}}} | }}
 +
|-
 +
| {{#if: {{{hair|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Hair: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{hair|}}} | {{{hair}}} | }}
 +
|-
 +
| {{#if: {{{eyes|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Eyes: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{eyes|}}} | {{{eyes}}} | }}
 +
|-
 +
| <!--
 +
 
 +
 
 +
Affiliations
 +
 
 +
 
 +
--> {{#if: <!--
 +
--> {{{politics|}}} {{{polrank|}}} {{{religion|}}} {{{relrank|}}} {{{organization|}}} {{{orgrank|}}} {{{occupation|}}} {{{occrank|}}}<!--
 +
--> | {{#!: colspan="2" style="color:#ffffff;background:#9070bb;text-align:center;font-size:9pt" }} {{!}} '''Affiliations'''  | }}
 +
|-
 +
| {{#if: {{{politics|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Politics: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{politics|}}} | {{{politics}}} | }}
 +
|-
 +
| {{#if: {{{religion|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Religion: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{religion|}}} | {{{religion}}} | }}
 +
|-
 +
| {{#if: {{{organization|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Organization: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{organization|}}} | {{{organization}}} | }}
 +
|- 
 +
| {{#if: {{{occupation|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Occupation: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{occupation|}}} | {{{occupation}}} | }}
 +
|-
 +
| <!--
 +
 
 +
 
 +
Family
 +
 
 +
 
 +
--> {{#if: <!--
 +
--> {{{partner|}}} {{{parents|}}} {{{siblings|}}} {{{children|}}}<!--
 +
--> | {{#!: colspan="2" style="color:#ffffff;background:#9070bb;text-align:center;font-size:9pt" }} {{!}} '''Family'''  | }}
 +
|-
 +
| {{#if: {{{partner|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Partner: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{partner|}}} | {{{partner}}} | }}
 +
|-
 +
| {{#if: {{{parents|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Parents: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{parents|}}} | {{{parents}}} | }}
 +
|-
 +
| {{#if: {{{siblings|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Siblings: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{siblings|}}} | {{{siblings}}} | }}
 +
|-
 +
| {{#if: {{{children|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Children: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{children|}}} | {{{children}}} | }}
 +
|}
 +
 
 +
 
 +
<noinclude>
 +
Example
 +
<pre>
 +
{{Character Infobox
 +
| title = 1
 +
<!-- Biographical -->
 +
| name = name
 +
| aliases = aka
 +
| zodiac = zodiac
 +
| born = dob
 +
| missing = dom
 +
| died = dod
 +
| nationality = nationality
 +
| languages = languages
 +
<!-- Appearance -->
 +
| race = race
 +
| gender = gender
 +
| ethnicity = ethnicity
 +
| height = height
 +
| build = build
 +
| hair = hair
 +
| eyes = eyes
 +
<!-- Affiliations -->
 +
| politics = politics
 +
| religion = religion
 +
| organization = organization
 +
| occupation = occupation
 +
<!-- Family -->
 +
| partner = partner
 +
| parents = parents
 +
| siblings = siblings
 +
| children = children
 
}}
 
}}
 +
</pre>
 +
 +
</noinclude>

Latest revision as of 22:26, 8 February 2013

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox