Difference between revisions of "Template:Infobox Faction"

From Holocron - Star Wars Combine
Jump to: navigation, search
(Watch your tags; you broke half the pages using this template.)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<table style="border: 1px solid grey; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;">
+
<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;"> '''{{{name}}}'''
<tr>
 
<td width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;"> '''{{{name}}}'''
 
 
</td></tr>
 
</td></tr>
 
<tr>
 
<tr>
Line 7: Line 5:
 
</td></tr>
 
</td></tr>
 
<tr>
 
<tr>
<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>
 
{{#if:{{{motto|}}}|<tr>
 
{{#if:{{{motto|}}}|<tr>
Line 21: Line 19:
 
</td><td width="69%"> {{{leader}}}
 
</td><td width="69%"> {{{leader}}}
 
</td></tr>
 
</td></tr>
<tr>
+
{{#if:{{{2ic|}}}|<tr>
 
<td width="31%" valign="top"> 2IC
 
<td width="31%" valign="top"> 2IC
 
</td><td width="69%"> {{{2ic}}}
 
</td><td width="69%"> {{{2ic}}}
</td></tr>
+
</td></tr>}}
 
{{#if:{{{owner|}}}|<tr>
 
{{#if:{{{owner|}}}|<tr>
 
<td width="31%" valign="top"> Owner
 
<td width="31%" valign="top"> Owner
Line 36: Line 34:
 
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Historical Information'''
 
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Historical Information'''
 
</td></tr>
 
</td></tr>
 +
{{#if:{{{formed|}}}|<tr>
 +
<td width="31%" valign="top"> Formed from
 +
</td><td width="69%"> {{{formed}}}
 +
</td></tr>}}
 +
{{#if:{{{founder|}}}|<tr>
 +
<td width="31%" valign="top"> Founder
 +
</td><td width="69%"> {{{founder}}}
 +
</td></tr>}}
 
<tr>
 
<tr>
 
<td width="31%" valign="top"> Founded
 
<td width="31%" valign="top"> Founded
Line 47: Line 53:
 
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Political Information'''
 
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Political Information'''
 
</td></tr>
 
</td></tr>
<tr>
+
{{#if:{{{affiliation|}}}|<tr>
 
<td width="31%" valign="top"> Affiliation
 
<td width="31%" valign="top"> Affiliation
 
</td><td width="69%"> {{{affiliation}}}
 
</td><td width="69%"> {{{affiliation}}}
</td></tr>
+
</td></tr>}}
 
<tr>
 
<tr>
 
<td width="31%" valign="top"> Industry
 
<td width="31%" valign="top"> Industry
 
</td><td width="69%"> {{{industry}}}
 
</td><td width="69%"> {{{industry}}}
 
</td></tr>
 
</td></tr>
<tr>
+
{{#if:{{{holosite|}}}|
 
<td width="31%" valign="top"> Holosite
 
<td width="31%" valign="top"> Holosite
 
</td><td width="69%"> {{{holosite}}}
 
</td><td width="69%"> {{{holosite}}}
</td></tr></table>
+
</td>}}
 
+
</table><noinclude>
<noinclude>
 
 
===Usage===
 
===Usage===
  
Line 75: Line 80:
 
| owner =  
 
| owner =  
 
| headquarters =  
 
| headquarters =  
 +
| formed =
 
| founded =  
 
| founded =  
 
| dissolved =  
 
| dissolved =  
Line 83: Line 89:
 
</nowiki></pre>
 
</nowiki></pre>
  
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 12:55, 18 May 2014

{{{name}}}
{{{image}}}
General Information
Status {{{status}}}
Leader {{{leader}}}
Historical Information
Founded {{{founded}}}
Political Information
Industry {{{industry}}}

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 = 
| headquarters = 
| formed = 
| founded = 
| dissolved = 
| affiliation = 
| industry = 
| holosite =
}}