Difference between revisions of "Template:Infobox Character"

From Holocron - Star Wars Combine
Jump to: navigation, search
(third test)
 
(48 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
|-
+
</td><td width="69%"> {{{mother}}}
{{#if:{{{siblings|}}}
+
</td></tr>}}
| Siblings
+
{{#if:{{{father|}}}|<tr>
| {{{siblings}}}
+
<td width="31%" valign="top"> Father
|-
+
</td><td width="69%"> {{{father}}}
}}
+
</td></tr>}}
width="31%" valign="top" | Children
+
{{#if:{{{marital status|}}}|<tr>
width="69%" | {{{children<includeonly>|</includeonly>}}}
+
<td width="31%" valign="top"> Marital Status
|-
+
</td><td width="69%"> {{{marital status}}}
width="31%" valign="top" | Born
+
</td></tr>}}
width="69%" | {{{born<includeonly>|</includeonly>}}}
+
{{#if:{{{spouse|}}}|<tr>
|-
+
<td width="31%" valign="top"> Spouse
|-
+
</td><td width="69%"> {{{spouse}}}
width="31%" valign="top" | Died
+
</td></tr>}}
width="69%" | {{{died<includeonly>|</includeonly>}}}
+
{{#if:{{{partner|}}}|<tr>
|-
+
<td width="31%" valign="top"> Partner
| width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''Physical Description'''</font>
+
</td><td width="69%"> {{{partner}}}
|-
+
</td></tr>}}
width="31%" valign="top" | Gender
+
{{#if:{{{siblings|}}}|<tr>
width="69%" | {{{gender<includeonly>|</includeonly>}}}
+
<td width="31%" valign="top"> Siblings
|-
+
</td><td width="69%"> {{{siblings}}}
width="31%" valign="top" | Height
+
</td></tr>}}
width="69%" | {{{height<includeonly>|</includeonly>}}}
+
{{#if:{{{children|}}}|<tr>
|-
+
<td width="31%" valign="top"> Children
width="31%" valign="top" | Coloring
+
</td><td width="69%"> {{{children}}}
width="69%" | {{{coloring<includeonly>|</includeonly>}}}
+
</td></tr>}}
|-
+
{{#if:{{{born|}}}|<tr>
width="31%" valign="top" | Eye Color
+
<td width="31%" valign="top"> Born
width="69%" | {{{eye color<includeonly>|</includeonly>}}}
+
</td><td width="69%"> {{{born}}}
|-
+
</td></tr>}}
width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''Political Information'''</font>
+
{{#if:{{{died|}}}|<tr>
|-
+
<td width="31%" valign="top"> Died
width="31%" valign="top" | Affiliation
+
</td><td width="69%"> {{{died}}}
width="69%" | {{{affiliation<includeonly>|</includeonly>}}}
+
</td></tr>}}
|-
+
{{#if:{{{languages|}}}|<tr>
width="31%" valign="top" | Rank
+
<td width="31%" valign="top"> Languages
width="69%" | {{{rank<includeonly>|</includeonly>}}}
+
</td><td width="69%"> {{{languages}}}
|-
+
</td></tr>}}
width="31%" valign="top" | Positions
+
{{#if:{{{religion|}}}|<tr>
width="69%" | {{{positions<includeonly>|</includeonly>}}}
+
<td width="31%" valign="top"> Religion
|-
+
</td><td width="69%"> {{{religion}}}
width="31%" valign="top" | Prior Affiliation
+
</td></tr>}}
width="69%" | {{{prior affiliation<includeonly>|</includeonly>}}}
+
{{#if:{{{quote|}}}|<tr>
|-
+
<td width="31%" valign="top"> Quote
width="31%" valign="top" | Awards
+
</td><td width="69%"> {{{quote}}}
width="69%" | {{{awards<includeonly>|</includeonly>}}}
+
</td></tr>}}
|}
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"> <font color="white"><b>Physical Description</b></font></td></tr>
<noinclude>
+
<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 76: 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. 
}}