Difference between revisions of "Template:Infobox Family"

From Holocron - Star Wars Combine
Jump to: navigation, search
Line 2: Line 2:
 
<tr><td width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;">'''{{{family name}}}'''</td></tr>
 
<tr><td width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;">'''{{{family name}}}'''</td></tr>
 
{{#if:{{{image|}}}|<tr><td width="100%" colspan="2" style="text-align: center;">{{{image}}}</td></tr>}}
 
{{#if:{{{image|}}}|<tr><td width="100%" colspan="2" style="text-align: center;">{{{image}}}</td></tr>}}
{{#if:{{{coat of arms|}}}|<tr><td width="100%" colspan="2" style="text-align: center;">{{{coat of arms}}}</td></tr>}}
 
 
<tr><td width="100%" colspan="2" style="text-align: center;">{{{motto}}}</td></tr>
 
<tr><td width="100%" colspan="2" style="text-align: center;">{{{motto}}}</td></tr>
 
<tr><td width="100%" colspan="2" style="background-color: #21314c;">'''Historical Information'''</td></tr>
 
<tr><td width="100%" colspan="2" style="background-color: #21314c;">'''Historical Information'''</td></tr>
Line 8: Line 7:
 
{{#if:{{{founder|}}}|<tr><td width="31%" valign="top">Founder</td><td width="69%">{{{founder}}}</td></tr>}}
 
{{#if:{{{founder|}}}|<tr><td width="31%" valign="top">Founder</td><td width="69%">{{{founder}}}</td></tr>}}
 
{{#if:{{{titles|}}}|<tr><td width="31%" valign="top">Titles</td><td width="69%">{{{titles}}}</td></tr>}}
 
{{#if:{{{titles|}}}|<tr><td width="31%" valign="top">Titles</td><td width="69%">{{{titles}}}</td></tr>}}
 +
{{#if:{{{capital|}}}|<tr><td width="31%" valign="top">Capital</td><td width="69%">{{{capital}}}</td></tr>}}
 +
{{#if:{{{dominion|}}}|<tr><td width="31%" valign="top">Dominion</td><td width="69%">{{{dominion}}}</td></tr>}}
 
<tr><td width="31%" valign="top">Established</td><td width="69%">{{{established}}}</td></tr>
 
<tr><td width="31%" valign="top">Established</td><td width="69%">{{{established}}}</td></tr>
 
{{#if:{{{dissolved|}}}|<tr><td width="31%" valign="top">Dissolved</td><td width="69%">{{{dissolved}}}</td></tr>}}
 
{{#if:{{{dissolved|}}}|<tr><td width="31%" valign="top">Dissolved</td><td width="69%">{{{dissolved}}}</td></tr>}}
Line 14: Line 15:
 
{{#if:{{{current head|}}}|<tr><td width="31%" valign="top">Current head</td><td width="69%">{{{current head}}}</td></tr>}}
 
{{#if:{{{current head|}}}|<tr><td width="31%" valign="top">Current head</td><td width="69%">{{{current head}}}</td></tr>}}
 
{{#if:{{{headquarters|}}}|<tr><td width="31%" valign="top">Headquarters</td><td width="69%">{{{headquarters}}}</td></tr>}}
 
{{#if:{{{headquarters|}}}|<tr><td width="31%" valign="top">Headquarters</td><td width="69%">{{{headquarters}}}</td></tr>}}
 +
{{#if:{{{flagship|}}}|<tr><td width="31%" valign="top">Flagship</td><td width="69%">{{{flagship}}}</td></tr>}}
 
{{#if:{{{networth|}}}|<tr><td width="31%" valign="top">Networth</td><td width="69%">{{{networth}}}</td></tr>}}
 
{{#if:{{{networth|}}}|<tr><td width="31%" valign="top">Networth</td><td width="69%">{{{networth}}}</td></tr>}}
 
<tr><td width="31%" valign="top">Affiliation</td><td width="69%">{{{affiliation}}}</td></tr>
 
<tr><td width="31%" valign="top">Affiliation</td><td width="69%">{{{affiliation}}}</td></tr>
 +
{{#if:{{{homeworld|}}}|<tr><td width="31%" valign="top">Homeworld</td><td width="69%">{{{homeworld}}}</td></tr>}}
 
{{#if:{{{species|}}}|<tr><td width="31%" valign="top">Species</td><td width="69%">{{{species}}}</td></tr>}}
 
{{#if:{{{species|}}}|<tr><td width="31%" valign="top">Species</td><td width="69%">{{{species}}}</td></tr>}}
 
{{#if:{{{holosite|}}}|<tr><td width="31%" valign="top">Holosite</td><td width="69%">{{{holosite}}}</td></tr>}}
 
{{#if:{{{holosite|}}}|<tr><td width="31%" valign="top">Holosite</td><td width="69%">{{{holosite}}}</td></tr>}}
Line 22: Line 25:
 
===Usage===
 
===Usage===
  
The Infobox Family Box template is used for family pages only, to describe the family. Paste the following code into the top of an article, filling all known fields:
+
The Infobox Family Box template is used for family pages only, to describe the family. Paste the following code into the top of an article, filling all known fields. Note that many field are optional and may be left blank:
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 28: Line 31:
 
| family name =  
 
| family name =  
 
| image =  
 
| image =  
| coat of arms =
 
 
| motto =  
 
| motto =  
 
| parent house =  
 
| parent house =  
 
| founder =  
 
| founder =  
 
| titles =  
 
| titles =  
 +
| capital =
 +
| dominion =
 
| established =  
 
| established =  
 
| dissolved =  
 
| dissolved =  
Line 38: Line 42:
 
| current head =  
 
| current head =  
 
| headquarters =  
 
| headquarters =  
 +
| flagship =
 
| networth =  
 
| networth =  
 
| affiliation =  
 
| affiliation =  
 +
| homeworld =
 +
| species =
 
| holosite =  
 
| holosite =  
 
}}
 
}}

Revision as of 04:28, 2 March 2013







{{{family name}}}
{{{motto}}}
Historical Information
Established{{{established}}}
General information
Affiliation{{{affiliation}}}

Usage

The Infobox Family Box template is used for family pages only, to describe the family. Paste the following code into the top of an article, filling all known fields. Note that many field are optional and may be left blank:

{{Infobox Family
| family name = 
| image = 
| motto = 
| parent house = 
| founder = 
| titles = 
| capital = 
| dominion = 
| established = 
| dissolved = 
| cadet branches = 
| current head = 
| headquarters = 
| flagship = 
| networth = 
| affiliation = 
| homeworld = 
| species = 
| holosite = 
}}