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.)
 
(16 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;"> <font color="white"><b>General information</b></font>
+
<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 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>}}
<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>}}
 +
{{#if:{{{headquarters|}}}|<tr>
 +
<td width="31%" valign="top"> Headquarters
 +
</td><td width="69%"> {{{headquarters}}}
 +
</td></tr>}}
 
<tr>
 
<tr>
<td width="100%" colspan="2" style="background-color: #21314c;"> <font color="white"><b>Historical Information</b></font>
+
<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
 
</td><td width="69%"> {{{founded}}}
 
</td><td width="69%"> {{{founded}}}
 
</td></tr>
 
</td></tr>
{{#if:{{{Dissolved|}}}|<tr>
+
{{#if:{{{dissolved|}}}|<tr>
 
<td width="31%" valign="top"> Dissolved
 
<td width="31%" valign="top"> Dissolved
 
</td><td width="69%"> {{{dissolved}}}
 
</td><td width="69%"> {{{dissolved}}}
</td></tr>}}<tr>
+
</td></tr>}}
<td width="100%" colspan="2" style="background-color: #21314c;"> <font color="white"><b>Political Information</b></font>
+
<tr>
 +
<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 69: Line 79:
 
| 2ic =  
 
| 2ic =  
 
| owner =  
 
| owner =  
 +
| headquarters =
 +
| formed =
 
| founded =  
 
| founded =  
 
| dissolved =  
 
| dissolved =  
Line 77: 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 =
}}