Template:Character Infobox

From TSD Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
{| class="infobox"
 
{| class="infobox"
 +
! colspan="2" style="color:#ffffff;background:#604088;min-width:250px;font-size:11pt;text-align:center;" |
 +
{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}}}}
 
|-
 
|-
| Title
+
| colspan="2" style="text-align:center;font-size:7pt" | [[Image:Tlaloc, Codex Rios, p.20r.JPG|noframe|200px]]<br />Image caption
 
|-
 
|-
| Image
+
| <!--
| Imagesize
+
 
 +
 
 +
Biographical
 +
 
 +
 
 +
--> {{#if: <!--
 +
--> {{{name|}}} {{{aliases|}}} {{{zodiac|}}} {{{born|}}} {{{missing|}}} {{{died|}}} {{{nationality|}}} {{{languages|}}}<!--
 +
--> | {{#!: colspan="2" style="color:#ffffff;background:#9070bb;text-align:center;font-size:9pt" }} {{!}} '''Biographical'''  | }}
 
|-
 
|-
| Caption
+
| {{#if: {{{name|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Name: ''' | }}
|-  
+
| style="font-size:9pt" | {{#if: {{{name|}}} | {{{name}}} | }}
| Biographical
+
 
|-
 
|-
| Name
+
| {{#if: {{{aliases|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Aliases: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{aliases|}}} | {{{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}}} | }}
 
|-
 
|-
| 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}}} | }}
 
|-
 
|-
| Status
+
| {{#if: {{{nationality|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Nationality: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{nationality|}}} | {{{nationality}}} | }}
 
|-
 
|-
| Died
+
| {{#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'''  | }}
 
|-
 
|-
| Cause of death
+
| {{#if: {{{race|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Race: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{race|}}} | {{{race}}} | }}
 
|-
 
|-
| Nationality
+
| {{#if: {{{gender|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Gender: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{gender|}}} | {{{gender}}} | }}
 
|-
 
|-
| Citizenship
+
| {{#if: {{{ethnicity|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Ethnicity: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{ethnicity|}}} | {{{ethnicity}}} | }}
 
|-  
 
|-  
| Appearance
+
| {{#if: {{{height|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Height: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{height|}}} | {{{height}}} | }}
 
|-
 
|-
| Race
+
| {{#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}}} | }}
 
|-
 
|-
| Gender
+
| {{#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'''  | }}
 
|-
 
|-
| Ethnicity
+
| {{#if: {{{politics|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Politics: ''' | }}
|-
+
| style="font-size:9pt" | {{#if: {{{politics|}}} | {{{politics}}} | }}
| Height
+
 
|-
 
|-
| Build
+
| {{#if: {{{religion|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Religion: ''' | }}
|-
+
| style="font-size:9pt" | {{#if: {{{religion|}}} | {{{religion}}} | }}
| Hair
+
|-
+
| Eye
+
 
|-  
 
|-  
| Affiliations
+
| {{#if: {{{organization|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Organization: ''' | }}
|-
+
| style="font-size:9pt" | {{#if: {{{organization|}}} | {{{organization}}} | }}
| Politics
+
|
|-
+
| {{#if: {{{occupation|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Occupation: ''' | }}
| Religion
+
| style="font-size:9pt" | {{#if: {{{occupation|}}} | {{{occupation}}} | }}
|-
+
|-  
| Organization
+
| <!--
|-
+
 
| Occupation
+
 
 +
Family
 +
 
 +
 
 +
--> {{#if: <!--
 +
--> {{{partner|}}} {{{parents|}}} {{{siblings|}}} {{{children|}}}<!--
 +
--> | {{#!: colspan="2" style="color:#ffffff;background:#9070bb;text-align:center;font-size:9pt" }} {{!}} '''Family'''  | }}
 
|-
 
|-
| Family
+
| {{#if: {{{partner|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Partner: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{partner|}}} | {{{partner}}} | }}
 
|-
 
|-
| Partner(s)
+
| {{#if: {{{parents|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Parents: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{parents|}}} | {{{parents}}} | }}
 
|-
 
|-
| Children
+
| {{#if: {{{siblings|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Siblings: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{siblings|}}} | {{{siblings}}} | }}
 
|-
 
|-
| Parents
+
| {{#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