Difference between revisions of "Template:Infobox Family"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="4px" margin: "0" style="border: 2px solid grey; padding: 1px; width: 25%; float: right; font-size: 10px;">
+
<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;">'''{{{family name}}}'''</td></tr>{{#if:{{{image|}}}|<tr><td width="100%" colspan="2" style="text-align: center;">{{{image}}}</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>{{#if:{{{parent house|}}}|<tr><td width="31%" valign="top">Ancestral house</td><td width="69%">{{{parent house}}}</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:{{{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>{{#if:{{{dissolved|}}}|<tr><td width="31%" valign="top">Dissolved</td><td width="69%">{{{dissolved}}}</td></tr>}}{{#if:{{{cadet branches|}}}|<tr><td width="31%" valign="top">Cadet branches</td><td width="69%">{{{cadet branches}}}</td></tr>}}<tr><td width="100%" colspan="2" style="background-color: #21314c;">'''General information'''</td></tr>{{#if:{{{current head|}}}|<tr><td width="31%" valign="top">Current head</td><td width="69%">{{{current head}}}</td></tr>}}{{#if:{{{members|}}}|<tr><td width="31%" valign="top">Members</td><td width="69%">{{{members}}}</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>}}<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:{{{holosite|}}}|<tr><td width="31%" valign="top">Holosite</td><td width="69%">{{{holosite}}}</td></tr>}}</table><noinclude>
width="100%" colspan="2" style="background-color: #002232; color: #FFFFFF; font-size: 22px; text-align: center;" | '''{{Family Name}}'''
 
|-
 
| width="100%" colspan="2" style="text-align: center;" | {{{Image}}}
 
|-
 
| class="infoboxsubheading" colspan="2" style="background: #800000" | '''Family Information'''
 
|-
 
| width="31%" | Head of the House
 
| width="69%" | {{{Head of House}}}
 
|-
 
| width="31%" | Headquarters
 
| width="69%" | {{{Headquarters}}}
 
|-
 
| width="31%" | Networth
 
width="69%" | {{{Networth}}}
 
|-
 
| width="31%" | Affiliation
 
width="69%" | {{{Affiliation}}}
 
|-
 
| width="31%" | Motto
 
width="69%" | {{{Motto}}}
 
|-
 
| class="infoboxsubheading" colspan="2" style="background: #800000" | '''Historical information'''
 
|-
 
| width="31%" | Date of Establishment
 
| width="69%" | {{{Established}}}
 
|-
 
| width="31%" | Date of Dissolution
 
| width="69%" | {{{Dissolved}}}
 
|-
 
| class="infoboxsubheading" colspan="2" style="background: #800000" | '''Family Members'''
 
| width="31%" | Members
 
| width="69%" | {{{Family Members}}}
 
|-
 
 
 
  
 
===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>
 
{{Infobox Family
 
{{Infobox Family
| Family Name =
+
| family name =  
| Image =
+
| image =  
| Head of House =
+
| motto =  
| Headquarters =
+
| parent house =  
| Networth =
+
| founder =  
| Affiliation =
+
| titles =  
| Motto =
+
| capital =  
| Established =
+
| dominion =  
| Dissolved =
+
| established =  
| Family Members =
+
| dissolved =
 +
| cadet branches =
 +
| current head =
 +
| members =
 +
| headquarters =
 +
| flagship =
 +
| networth =
 +
| affiliation =
 +
| homeworld =
 +
| species =
 +
| holosite =  
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 23:40, 17 September 2014

{{{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 = 
| members = 
| headquarters = 
| flagship = 
| networth = 
| affiliation = 
| homeworld = 
| species = 
| holosite = 
}}