Difference between revisions of "Template:Infobox Family"

From Holocron - Star Wars Combine
Jump to: navigation, search
(reformatted the table code to find and remove the errors leading to showing extra characters)
Line 1: Line 1:
<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}}}'''
+
<table style="border: 1px solid grey; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;">
</td></tr>
+
<tr><td width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;"> '''{{{family name}}}'''</td></tr>
<tr>
+
<tr><td width="100%" colspan="2" style="text-align: center;"> {{{image}}}</td></tr>
<td width="100%" colspan="2" style="text-align: center;"> {{{image}}}
+
<tr><td width="100%" colspan="2" style="text-align: center;"> {{{motto}}}</td></tr>
</td></tr>
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"> '''General information'''</td></tr>
<tr>
+
<tr><td width="31%" valign="top"> Head of House</td><td width="69%"> {{{head of house}}}</td></tr>
<td width="100%" colspan="2" style="text-align: center;"> {{{motto}}}
+
<tr><td width="31%" valign="top"> Headquarters</td><td width="69%"> {{{headquarters}}}</td></tr>
</td></tr>
+
<tr><td width="31%" valign="top"> Networth</td><td width="69%"> {{{networth}}}</td></tr>
<tr>
+
<tr><td width="31%" valign="top"> Affiliation</td><td width="69%"> {{{affiliation}}}</td></tr>
<td width="100%" colspan="2" style="background-color: #21314c;"> '''General information'''
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"> '''Historical Information'''</td></tr>
</td></tr>
+
<tr><td width="31%" valign="top"> Established</td><td width="69%"> {{{established}}}</td></tr>
<td width="31%" valign="top"> Head of House
+
{{#if:{{{dissolved|}}}|<tr><td width="31%" valign="top"> Dissolved</td><td width="69%"> {{{dissolved}}}</td></tr>}}
</td><td width="69%"> {{{head of house}}}
+
<tr><td width="31%" valign="top"> Holosite</td><td width="69%"> {{{holosite}}}</td></tr></table><noinclude>
</td></tr>
 
<tr>
 
<td width="31%" valign="top"> Headquarters
 
</td><td width="69%"> {{{headquarters}}}
 
</td></tr>
 
<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="100%" colspan="2" style="background-color: #21314c;"> '''Historical Information'''
 
</td></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>}}
 
<tr>
 
<td width="31%" valign="top"> Holosite
 
</td><td width="69%"> {{{holosite}}}
 
</td></tr></table><noinclude>
 
  
  

Revision as of 18:46, 8 September 2012

{{{family name}}}
{{{image}}}
{{{motto}}}
General information
Head of House {{{head of house}}}
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 =
| established =
| dissolved =
| holosite =
}}