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|}}} {{{born|}}} {{{missing|}}} {{{died|}}} {{{zodiac|}}} {{{nationality|}}} {{{data2|}}}<!--
 +
--> | {{#!: 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}}} | }}
 +
|-
 +
| {{#if: {{{aliases|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Aliases: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{aliases|}}} | {{{aliases}}} | }}
 
|-  
 
|-  
| '''Biographical'''
+
| {{#if: {{{born|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Born: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{born|}}} | {{{born}}} | }}
 
|-
 
|-
| Name
+
| {{#if: {{{data2|}}} | {{#!: 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}}} | }}
 
|-
 
|-
| Aliases
+
| {{#if: {{{zodiac|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Zodiac:''' | }}
|-
+
| style="font-size:9pt" | {{#if: {{{zodiac|}}} | {{{zodiac}}} | }}
| Born
+
|-
 +
| {{#if: {{{nationality|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Nationality: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{nationality|}}} | {{{nationality}}} | }}
 +
|-
 +
| <!--
 +
 
 +
 
 +
Appearance
 +
 
 +
 
 +
--> {{#if: <!--
 +
--> {{{race|}}} {{{gender|}}} {{{ethnicity|}}} {{{height|}}} {{{build|}}} {{{hair|}}} {{{eyes|}}}<!--
 +
--> | {{#!: colspan="2" style="color:#ffffff;background:#9070bb;text-align:center;font-size:9pt" }} {{!}} '''Appearance'''  | }}
 
|-
 
|-
| Status
+
| {{#if: {{{race|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Race: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{race|}}} | {{{race}}} | }}
 
|-
 
|-
| Died
+
| {{#if: {{{gender|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Gender: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{gender|}}} | {{{gender}}} | }}
 
|-
 
|-
| Cause of death
+
| {{#if: {{{ethnicity|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Ethnicity: ''' | }}
|-
+
| style="font-size:9pt" | {{#if: {{{ethnicity|}}} | {{{ethnicity}}} | }}
| Nationality
+
|-
+
| Citizenship
+
 
|-  
 
|-  
| '''Appearance'''
+
| {{#if: {{{height|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Height: ''' | }}
|-
+
| style="font-size:9pt" | {{#if: {{{height|}}} | {{{height}}} | }}
| Race
+
 
|-
 
|-
| Gender
+
| {{#if: {{{build|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Build: ''' | }}
|-
+
| style="font-size:9pt" | {{#if: {{{build|}}} | {{{build}}} | }}
| Ethnicity
+
|-
+
| Height
+
|-
+
| Build
+
|-
+
| Hair
+
|-
+
| Eye
+
 
|-  
 
|-  
| '''Affiliations'''
+
| {{#if: {{{hair|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Hair: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{hair|}}} | {{{hair}}} | }}
 
|-
 
|-
| Politics
+
| {{#if: {{{data2|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Eyes: ''' | }}
|-
+
| style="font-size:9pt" | {{#if: {{{eyes|}}} | {{{eyes}}} | }}
| Religion
+
|-  
|-
+
| <!--
| Organization
+
|-
+
| Occupation
+
|-
+
| '''Family'''
+
|-
+
| Partners
+
|-
+
| Children
+
|-
+
| Parents
+
|-
+
| label1 = test
+
| data1 = some data
+
|}
+
  
{| class="wikitable"
+
 
! colspan="2" style="background:lightblue;width:200px;font-size:10pt" | Title
+
Affiliations
 +
 
 +
 
 +
--> {{#if: <!--
 +
--> {{{politics|}}} {{{religion|}}} {{{organization|}}} {{{occupation|}}}<!--
 +
--> | {{#!: colspan="2" style="color:#ffffff;background:#9070bb;text-align:center;font-size:9pt" }} {{!}} '''Affiliations'''  | }}
 
|-
 
|-
| colspan="2" style="text-align:center;font-size:7pt" | [[Image:Tlaloc, Codex Rios, p.20r.JPG|noframe|200px]]<br />Image caption
+
| {{#if: {{{politics|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Politics: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{politics|}}} | {{{politics}}} | }}
 
|-
 
|-
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" | Section<sub>A</sub>
+
| {{#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}}} | }}
 
|-
 
|-
| style="font-size:9pt" | FieldName<sub>A1</sub> || style="font-size:9pt" | FieldParameter<sub>A1</sub>
+
| {{#if: {{{occupation|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Occupation: ''' | }}
|-
+
| style="font-size:9pt" | {{#if: {{{occupation|}}} | {{{occupation}}} | }}
| style="font-size:9pt" | FieldName<sub>A2</sub> || style="font-size:9pt" | FieldParameter<sub>A2</sub>
+
|-  
|-
+
| <!--
| style="font-size:9pt" | FieldName<sub>A3</sub> || style="font-size:9pt" | FieldParameter<sub>A3</sub>
+
 
 +
 
 +
Family
 +
 
 +
 
 +
--> {{#if: <!--
 +
--> {{{partner|}}} {{{parents|}}} {{{children|}}}<!--
 +
--> | {{#!: colspan="2" style="color:#ffffff;background:#9070bb;text-align:center;font-size:9pt" }} {{!}} '''Family'''  | }}
 
|-
 
|-
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" | Section<sub>B</sub>
+
| {{#if: {{{partner|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Partner: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{partner|}}} | {{{partner}}} | }}
 
|-
 
|-
| style="font-size:9pt" | FieldName<sub>B1</sub> || style="font-size:9pt" | FieldParameter<sub>B1</sub>
+
| {{#if: {{{parents|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Parents: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{parents|}}} | {{{parents}}} | }}
 
|-
 
|-
| style="font-size:9pt" | FieldName<sub>B2</sub> || style="font-size:9pt" | FieldParameter<sub>B2</sub>
+
| {{#if: {{{children|}}} | {{#!: style="color:#ffffff;background:#c0a0ee;font-size:9pt;width:100px;" }} {{!}} '''Children: ''' | }}
 +
| style="font-size:9pt" | {{#if: {{{children|}}} | {{{children}}} | }}
 
|}
 
|}

Revision as of 18:18, 8 February 2013

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox