Difference between revisions of "Template:Infobox Faction"

From Holocron - Star Wars Combine
Jump to: navigation, search
Line 9: Line 9:
 
<td width="100%" colspan="2" style="background-color: #21314c;"> '''General information'''
 
<td width="100%" colspan="2" style="background-color: #21314c;"> '''General information'''
 
</td></tr>
 
</td></tr>
<tr>
+
{{#if:{{{motto|}}}|<tr>
 
<td width="31%" valign="top"> Motto
 
<td width="31%" valign="top"> Motto
 
</td><td width="69%"> {{{motto}}}
 
</td><td width="69%"> {{{motto}}}
</td></tr>
+
</td></tr>}}
 
<tr>
 
<tr>
 
<td width="31%" valign="top"> Status
 
<td width="31%" valign="top"> Status
Line 25: Line 25:
 
</td><td width="69%"> {{{2ic}}}
 
</td><td width="69%"> {{{2ic}}}
 
</td></tr>
 
</td></tr>
<tr>
+
{{#if:{{{owner|}}}|<tr>
 
<td width="31%" valign="top"> Owner
 
<td width="31%" valign="top"> Owner
 
</td><td width="69%"> {{{owner}}}
 
</td><td width="69%"> {{{owner}}}
</td></tr>
+
</td></tr>}}
 
<tr>
 
<tr>
 
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Historical Information'''
 
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Historical Information'''

Revision as of 02:13, 13 May 2012

{{{name}}}
{{{image}}}
General information
Status {{{status}}}
Leader {{{leader}}}
2IC {{{2ic}}}
Historical Information
Founded {{{founded}}}
Political Information
Affiliation {{{affiliation}}}
Industry {{{industry}}}
Holosite {{{holosite}}}


Usage

The Infobox Faction Box template is used for faction pages only, to describe the faction. Paste the following code into the top of an article, filling all known fields:

{{Infobox Faction
| name = 
| image = 
| motto =
| status = 
| leader = 
| 2ic = 
| owner = 
| founded = 
| dissolved = 
| affiliation = 
| industry = 
| holosite =
}}