Difference between revisions of "Template:Infobox Faction"

From Holocron - Star Wars Combine
Jump to: navigation, search
m (Added dissolved Information)
(Watch your tags; you broke half the pages using this template.)
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|  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}}}'''
width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;" | <font color=white>'''{{{name}}}'''</font>
+
</td></tr>
|-
+
<tr>
width="100%" colspan="2" style="text-align: center;" | {{{image}}}
+
<td width="100%" colspan="2" style="text-align: center;"> {{{image}}}
|-
+
</td></tr>
width="100%" colspan="2" style="background-color: #21314c;" | <font color=white>'''General information'''</font>
+
<tr>
|-
+
<td width="100%" colspan="2" style="background-color: #21314c;"> '''General Information'''
width="31%" valign="top" | Motto
+
</td></tr>
width="69%" | {{{Motto}}}
+
{{#if:{{{motto|}}}|<tr>
|-
+
<td width="31%" valign="top"> Motto
width="31%" valign="top" | Status
+
</td><td width="69%"> {{{motto}}}
width="69%" | {{{Status}}}
+
</td></tr>}}
|-
+
<tr>
width="31%" valign="top" | Leader
+
<td width="31%" valign="top"> Status
width="69%" | {{{Leader}}}
+
</td><td width="69%"> {{{status}}}
|-
+
</td></tr>
width="31%" valign="top" | 2IC  
+
<tr>
width="69%" | {{{2IC}}}
+
<td width="31%" valign="top"> Leader
|-
+
</td><td width="69%"> {{{leader}}}
width="31%" valign="top" | Owner
+
</td></tr>
| width="69%" | {{{Owner}}}
+
{{#if:{{{2ic|}}}|<tr>
|-
+
<td width="31%" valign="top"> 2IC
width="100%" colspan="2" style="background-color: #21314c;" | <font color=white>'''Historical Information'''</font>
+
</td><td width="69%"> {{{2ic}}}
|-
+
</td></tr>}}
| width="31%" valign="top" | Founded
+
{{#if:{{{owner|}}}|<tr>
width="69%" | {{{Founded}}}
+
<td width="31%" valign="top"> Owner
|-
+
</td><td width="69%"> {{{owner}}}
width="31%" valign="top" | Dissolved
+
</td></tr>}}
width="69%" | {{{Dissolved}}}
+
{{#if:{{{headquarters|}}}|<tr>
|-
+
<td width="31%" valign="top"> Headquarters
width="100%" colspan="2" style="background-color: #21314c;" | <font color=white>'''Political Information'''</font>
+
</td><td width="69%"> {{{headquarters}}}
|-
+
</td></tr>}}
width="31%" valign="top" | Affiliation
+
<tr>
width="69%" | {{{Affiliation}}}
+
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Historical Information'''
|-
+
</td></tr>
width="31%" valign="top" | Industry
+
{{#if:{{{formed|}}}|<tr>
width="69%" | {{{Industry}}}
+
<td width="31%" valign="top"> Formed from
|-
+
</td><td width="69%"> {{{formed}}}
width="31%" valign="top" | Holosite
+
</td></tr>}}
width="69%" | {{{Holosite}}}
+
{{#if:{{{founder|}}}|<tr>
|}
+
<td width="31%" valign="top"> Founder
<noinclude>
+
</td><td width="69%"> {{{founder}}}
 +
</td></tr>}}
 +
<tr>
 +
<td width="31%" valign="top"> Founded
 +
</td><td width="69%"> {{{founded}}}
 +
</td></tr>
 +
{{#if:{{{dissolved|}}}|<tr>
 +
<td width="31%" valign="top"> Dissolved
 +
</td><td width="69%"> {{{dissolved}}}
 +
</td></tr>}}
 +
<tr>
 +
<td width="100%" colspan="2" style="background-color: #21314c;"> '''Political Information'''
 +
</td></tr>
 +
{{#if:{{{affiliation|}}}|<tr>
 +
<td width="31%" valign="top"> Affiliation
 +
</td><td width="69%"> {{{affiliation}}}
 +
</td></tr>}}
 +
<tr>
 +
<td width="31%" valign="top"> Industry
 +
</td><td width="69%"> {{{industry}}}
 +
</td></tr>
 +
{{#if:{{{holosite|}}}|
 +
<td width="31%" valign="top"> Holosite
 +
</td><td width="69%"> {{{holosite}}}
 +
</td>}}
 +
</table><noinclude>
 
===Usage===
 
===Usage===
  
Line 49: Line 74:
 
| name =  
 
| name =  
 
| image =  
 
| image =  
| Motto =
+
| motto =
| Status =  
+
| status =  
| Leader =  
+
| leader =  
| 2IC =  
+
| 2ic =  
| Owner =  
+
| owner =  
| Founded =  
+
| headquarters =  
| Dissolved =  
+
| formed =  
| Affiliation =  
+
| founded =  
| Industry =  
+
| dissolved =  
| Holosite =
+
| affiliation =
 +
| industry =
 +
| holosite =
 
}}
 
}}
 
</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 =
}}