Difference between revisions of "Template:Infobox Family"

From Holocron - Star Wars Combine
Jump to: navigation, search
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}}}'''
width="100%" colspan="2" style="background-color: #002232; color: #FFFFFF; font-size: 22px; text-align: center;"> | '''{{Family Name}}'''
+
</td></tr>
|-
+
<tr>
| width="100%" colspan="2" style="text-align: center;" | {{{Image}}}
+
<td width="100%" colspan="2" style="text-align: center;"> {{{image}}}
|-
+
</td></tr>
| class="infoboxsubheading" colspan="2" style="background: #800000" | '''Family Information'''
+
<tr>
|-
+
<td width="100%" colspan="2" style="background-color: #21314c;"> '''General information'''
width="31%" | Head of the House
+
</td></tr>
width="69%" | {{{Head of House}}}
+
{{#if:{{{motto|}}}|<tr>
|-
+
<td width="31%" valign="top"> Head of House
width="31%" | Headquarters
+
</td><td width="69%"> {{{head of house}}}
width="69%" | {{{Headquarters}}}
+
</td></tr>}}
|-
+
<tr>
width="31%" | Networth
+
<td width="31%" valign="top"> Headquarters
width="69%" | {{{Networth}}}
+
</td><td width="69%"> {{{headquarters}}}
|-
+
</td></tr>
width="31%" | Affiliation
+
<tr>
width="69%" | {{{Affiliation}}}
+
<td width="31%" valign="top"> Networth
|-
+
</td><td width="69%"> {{{networth}}}
|  width="31%" | Motto
+
</td></tr>
width="69%" | {{{Motto}}}
+
<tr>
|-
+
<td width="31%" valign="top"> Affiliation
| class="infoboxsubheading" colspan="2" style="background: #800000" | '''Historical information'''
+
</td><td width="69%"> {{{affiliation}}}
|-
+
</td></tr>}}
width="31%" | Date of Establishment
+
<tr>
width="69%" | {{{Established}}}
+
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Historical Information'''
|-
+
</td></tr>
width="31%" | Date of Dissolution
+
<td width="31%" valign="top"> Established
width="69%" | {{{Dissolved}}}
+
</td><td width="69%"> {{{established}}}
|-
+
</td></tr>
| class="infoboxsubheading" colspan="2" style="background: #800000" | '''Family Members'''
+
{{#if:{{{dissolved|}}}|<tr>
width="31%" | Members
+
<td width="31%" valign="top"> Dissolved
width="69%" | {{{Family Members}}}
+
</td><td width="69%"> {{{dissolved}}}
|-
+
</td></tr>}}
 +
<tr>
 +
<td width="31%" valign="top"> Holosite
 +
</td><td width="69%"> {{{holosite}}}
 +
</td></tr></table><noinclude>
  
  
Line 41: Line 45:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Infobox Family
 
{{Infobox Family
| Family Name =
+
| family name =
| Image =
+
| image =
| Head of House =
+
| motto =
| Headquarters =
+
| head of house =
| Networth =
+
| headquarters =
| Affiliation =
+
| networth =
| Motto =
+
| affiliation =
| Established =
+
| motto =
| Dissolved =
+
| established =
| Family Members =
+
| dissolved =
 +
| holosite =
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 18:07, 8 September 2012

}}
{{{family name}}}
{{{image}}}
General information
Headquarters {{{headquarters}}}
Networth {{{networth}}}
Affiliation {{{affiliation}}}
Historical Information
Established {{{established}}}
Holosite {{{holosite}}}


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:

{{Infobox Family
| family name =
| image =
| motto =
| head of house =
| headquarters =
| networth =
| affiliation =
| motto =
| established =
| dissolved =
| holosite =
}}