Difference between revisions of "Template:Infobox Character"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(45 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{|  style="border: 1px solid grey; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;"
+
<table style="border: 1px solid grey; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;"><tr><td width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;"><font color="white"><b>{{{name}}}</b></font></td></tr>
width="100%" colspan="2" style="background-color: #000099; font-size: 16px; text-align: center;" | <font color=white>'''{{{name}}}'''</font>
+
<tr><td width="100%" colspan="2" style="text-align: center;">{{{image}}}</td></tr>
|-
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"><font color="white"><b>Biographical Information</b></font></td></tr>
width="100%" colspan="2" style="text-align: center;" | {{{image}}}
+
<tr>
|-
+
<td width="31%" valign="top"> Race
width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''Biographical Information'''</font>
+
</td><td width="69%"> {{{race}}}
|-
+
</td></tr>
width="31%" valign="top" | Race
+
{{#if:{{{homeworld|}}}|<tr>
width="69%" | {{{race<includeonly>|</includeonly>}}}
+
<td width="31%" valign="top"> Homeworld
|-
+
</td><td width="69%"> {{{homeworld}}}
width="31%" valign="top" | Homeworld
+
</td></tr>}}
width="69%" | {{{homeworld<includeonly>|</includeonly>}}}
+
{{#if:{{{clan|}}}|<tr>
|-
+
<td width="31%" valign="top"> Clan
| width="31%" valign="top" | Mother
+
</td><td width="69%"> {{{clan}}}
width="69%" | {{{mother<includeonly>|</includeonly>}}}
+
</td></tr>}}
|-
+
{{#if:{{{house|}}}|<tr>
width="31%" valign="top" | Father
+
<td width="31%" valign="top"> House
width="69%" | {{{father<includeonly>|</includeonly>}}}
+
</td><td width="69%"> {{{house}}}
|-
+
</td></tr>}}
width="31%" valign="top" | Spouse
+
{{#if:{{{mother|}}}|<tr>
width="69%" | {{{spouse<includeonly>|</includeonly>}}}
+
<td width="31%" valign="top"> Mother
{{#if:{{{siblings|}}}||test
+
</td><td width="69%"> {{{mother}}}
| Siblings
+
</td></tr>}}
| {{{siblings}}}}}
+
{{#if:{{{father|}}}|<tr>
|-
+
<td width="31%" valign="top"> Father
width="31%" valign="top" | Children
+
</td><td width="69%"> {{{father}}}
width="69%" | {{{children<includeonly>|</includeonly>}}}
+
</td></tr>}}
|-
+
{{#if:{{{marital status|}}}|<tr>
width="31%" valign="top" | Born
+
<td width="31%" valign="top"> Marital Status
width="69%" | {{{born<includeonly>|</includeonly>}}}
+
</td><td width="69%"> {{{marital status}}}
|-
+
</td></tr>}}
|-
+
{{#if:{{{spouse|}}}|<tr>
width="31%" valign="top" | Died
+
<td width="31%" valign="top"> Spouse
width="69%" | {{{died<includeonly>|</includeonly>}}}
+
</td><td width="69%"> {{{spouse}}}
|-
+
</td></tr>}}
| width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''Physical Description'''</font>
+
{{#if:{{{partner|}}}|<tr>
|-
+
<td width="31%" valign="top"> Partner
width="31%" valign="top" | Gender
+
</td><td width="69%"> {{{partner}}}
width="69%" | {{{gender<includeonly>|</includeonly>}}}
+
</td></tr>}}
|-
+
{{#if:{{{siblings|}}}|<tr>
width="31%" valign="top" | Height
+
<td width="31%" valign="top"> Siblings
width="69%" | {{{height<includeonly>|</includeonly>}}}
+
</td><td width="69%"> {{{siblings}}}
|-
+
</td></tr>}}
width="31%" valign="top" | Coloring
+
{{#if:{{{children|}}}|<tr>
width="69%" | {{{coloring<includeonly>|</includeonly>}}}
+
<td width="31%" valign="top"> Children
|-
+
</td><td width="69%"> {{{children}}}
width="31%" valign="top" | Eye Color
+
</td></tr>}}
width="69%" | {{{eye color<includeonly>|</includeonly>}}}
+
{{#if:{{{born|}}}|<tr>
|-
+
<td width="31%" valign="top"> Born
width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''Political Information'''</font>
+
</td><td width="69%"> {{{born}}}
|-
+
</td></tr>}}
width="31%" valign="top" | Affiliation
+
{{#if:{{{died|}}}|<tr>
width="69%" | {{{affiliation<includeonly>|</includeonly>}}}
+
<td width="31%" valign="top"> Died
|-
+
</td><td width="69%"> {{{died}}}
width="31%" valign="top" | Rank
+
</td></tr>}}
width="69%" | {{{rank<includeonly>|</includeonly>}}}
+
{{#if:{{{languages|}}}|<tr>
|-
+
<td width="31%" valign="top"> Languages
width="31%" valign="top" | Positions
+
</td><td width="69%"> {{{languages}}}
width="69%" | {{{positions<includeonly>|</includeonly>}}}
+
</td></tr>}}
|-
+
{{#if:{{{religion|}}}|<tr>
width="31%" valign="top" | Prior Affiliation
+
<td width="31%" valign="top"> Religion
width="69%" | {{{prior affiliation<includeonly>|</includeonly>}}}
+
</td><td width="69%"> {{{religion}}}
|-
+
</td></tr>}}
width="31%" valign="top" | Awards
+
{{#if:{{{quote|}}}|<tr>
width="69%" | {{{awards<includeonly>|</includeonly>}}}
+
<td width="31%" valign="top"> Quote
|}
+
</td><td width="69%"> {{{quote}}}
<noinclude>
+
</td></tr>}}
 +
<tr><td width="100%" colspan="2" style="background-color: #21314c;"> <font color="white"><b>Physical Description</b></font></td></tr>
 +
<tr>
 +
<td width="31%" valign="top"> Gender
 +
</td><td width="69%"> {{{gender}}}
 +
</td></tr>
 +
{{#if:{{{height|}}}|<tr>
 +
<td width="31%" valign="top"> Height
 +
</td><td width="69%"> {{{height}}}
 +
</td></tr>}}
 +
{{#if:{{{weight|}}}|<tr>
 +
<td width="31%" valign="top"> Weight
 +
</td><td width="69%"> {{{weight}}}
 +
</td></tr>}}
 +
{{#if:{{{coloring|}}}|<tr>
 +
<td width="31%" valign="top"> Coloring
 +
</td><td width="69%"> {{{coloring}}}
 +
</td></tr>}}
 +
{{#if:{{{hair color|}}}|<tr>
 +
<td width="31%" valign="top"> Hair Color
 +
</td><td width="69%"> {{{hair color}}}
 +
</td></tr>}}
 +
{{#if:{{{eye color|}}}|<tr>
 +
<td width="31%" valign="top"> Eye Color
 +
</td><td width="69%"> {{{eye color}}}
 +
</td></tr>}}
 +
<tr><td width="100%" colspan="2" style="background-color: #21314c;"> <font color="white"><b>Political Information</b></font></td></tr>
 +
<tr>
 +
<td width="31%" valign="top"> Affiliation
 +
</td><td width="69%"> {{{affiliation}}}
 +
</td></tr>
 +
{{#if:{{{title|}}}|<tr>
 +
<td width="31%" valign="top"> Title
 +
</td><td width="69%"> {{{title}}}
 +
</td></tr>}}
 +
{{#if:{{{rank|}}}|<tr>
 +
<td width="31%" valign="top"> Rank
 +
</td><td width="69%"> {{{rank}}}
 +
</td></tr>}}
 +
{{#if:{{{positions|}}}|<tr>
 +
<td width="31%" valign="top"> Positions
 +
</td><td width="69%"> {{{positions}}}
 +
</td></tr>}}
 +
{{#if:{{{prior affiliation|}}}|<tr>
 +
<td width="31%" valign="top"> Prior Affiliation
 +
</td><td width="69%"> {{{prior affiliation}}}
 +
</td></tr>}}
 +
{{#if:{{{awards|}}}|<tr>
 +
<td width="31%" valign="top"> Awards
 +
</td><td width="69%"> {{{awards}}}</td></tr>}}
 +
{{#if:{{{signature|}}}|<tr>
 +
<td width="31%" valign="top"> Signature
 +
</td><td width="69%"> {{{signature}}}
 +
</td></tr>}}</table><noinclude>
 
===Usage===
 
===Usage===
  
The Character Box template is used for character pages only, to describe the character. Paste the following code into the top of an article, filling all known fields:
+
The Character Box template is used for character pages only, to describe the character. Paste the following code into the top of an article, filling all known fields, leaving any unknown fields blank.
 +
 
 +
For the "Born" field, please '''do not''' enter the date when you began playing the Combine.
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 74: Line 129:
 
| name =  
 
| name =  
 
| image =  
 
| image =  
 +
| race =
 
| homeworld =  
 
| homeworld =  
| race =  
+
| clan =
 +
| house =  
 
| mother =  
 
| mother =  
 
| father =  
 
| father =  
 +
| marital status =
 
| spouse =  
 
| spouse =  
 +
| partner = This field is intended for use by characters who are in committed relationships, but not married.
 
| siblings =  
 
| siblings =  
 
| children =  
 
| children =  
| born =
+
| born = This field is for the physiological age of your character. Do not put the year the character was created.
 
| died =  
 
| died =  
| gender =
+
| languages =
| height =
+
| religion =
| coloring =
+
| quote =
| eye color =
+
| gender =  
| affiliation =
+
| height =
| rank =
+
| weight =
 +
| coloring =
 +
| hair color =  
 +
| eye color =  
 +
| affiliation =
 +
| title =  
 +
| rank =  
 
| positions =  
 
| positions =  
 
| prior affiliation =  
 
| prior affiliation =  
 
| awards =  
 
| awards =  
 +
| signature = This field is for signature images. The image should be no wider than 220 pixels.
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
 +
<includeonly>[[Category:People]]</includeonly>

Latest revision as of 21:21, 27 October 2018

{{{name}}}
{{{image}}}
Biographical Information
Race {{{race}}}
Physical Description
Gender {{{gender}}}
Political Information
Affiliation {{{affiliation}}}

Usage

The Character Box template is used for character pages only, to describe the character. Paste the following code into the top of an article, filling all known fields, leaving any unknown fields blank.

For the "Born" field, please do not enter the date when you began playing the Combine.

{{Infobox Character
| name = 
| image = 
| race = 
| homeworld = 
| clan = 
| house = 
| mother = 
| father = 
| marital status = 
| spouse = 
| partner = This field is intended for use by characters who are in committed relationships, but not married. 
| siblings = 
| children = 
| born = This field is for the physiological age of your character. Do not put the year the character was created.
| died = 
| languages = 
| religion =
| quote =
| gender = 
| height = 
| weight =
| coloring = 
| hair color = 
| eye color = 
| affiliation = 
| title = 
| rank = 
| positions = 
| prior affiliation = 
| awards = 
| signature = This field is for signature images. The image should be no wider than 220 pixels. 
}}