Difference between revisions of "Template:Infobox Alliance"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(20 intermediate revisions by 6 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;"><font color="white"><b>{{{name}}}</b></font></td></tr>
width="100%" colspan="2" style="background-color: #000099; font-size: 16px; text-align: center;" | <font color=white>'''{{{name}}}'''</font>
+
<tr><td width="100%" colspan="2" style="text-align: center;">{{{image}}}</td></tr>
|-
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"><font color="white"><b>General Information</b></font></td></tr>
width="100%" colspan="2" style="text-align: center;" | {{{image}}}
+
<tr>
|-
+
<td width="31%" valign="top"> Status
width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''General information'''</font>
+
</td><td width="69%"> {{{status}}}
|-
+
</td></tr>
width="31%" valign="top" | Status
+
{{#if:{{{motto|}}}|<tr>
| width="69%" | {{{Status}}}
+
<td width="31%" valign="top"> Motto
|-
+
</td><td width="69%"> {{{motto}}}
width="31%" valign="top" | Leader
+
</td></tr>}}
| width="69%" | {{{Leader}}}
+
<tr>
|-
+
<td width="31%" valign="top"> Leader
width="31%" valign="top" | Members
+
</td><td width="69%"> {{{leader}}}
width="69%" | {{{Members}}}
+
</td></tr>
|-
+
{{#if:{{{secondincommand|}}}|<tr>
width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''Historical Information'''</font>
+
<td width="31%" valign="top"> SIC
|-
+
</td><td width="69%"> {{{secondincommand}}}
width="31%" valign="top" | Founded
+
</td></tr>}}
| width="69%" | {{{Founded}}}
+
<tr>
|-
+
<td width="31%" valign="top"> Members
width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''Political Information'''</font>
+
</td><td width="69%"> {{{members}}}
|-
+
</td></tr>
width="31%" valign="top" | Affiliation
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"><font color="white"><b>Historical Information</b></font></td></tr>
width="69%" | {{{Affiliation}}}
+
<tr>
|-
+
<td width="31%" valign="top"> Founded
width="31%" valign="top" | Type
+
</td><td width="69%"> {{{founded}}}
width="69%" | {{{Type}}}
+
</td></tr>
|-
+
{{#if:{{{dissolved|}}}|<tr>
width="31%" valign="top" | Holosite
+
<td width="31%" valign="top"> Dissolved
width="69%" | {{{Holosite}}}
+
</td><td width="69%"> {{{dissolved}}}
|}
+
</td></tr>}}
<noinclude>
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"><font color="white"><b>Political Information</b></font></td></tr>
 +
{{#if:{{{affiliation|}}}|<tr>
 +
<td width="31%" valign="top"> Affiliation
 +
</td><td width="69%"> {{{affiliation}}}
 +
</td></tr>}}
 +
<tr>
 +
<td width="31%" valign="top"> Type
 +
</td><td width="69%"> {{{type}}}
 +
</td></tr>
 +
{{#if:{{{holosite|}}}|<tr>
 +
<td width="31%" valign="top"> Holosite
 +
</td><td width="69%"> {{{holosite}}}
 +
</td></tr>}}
 +
</table><noinclude>
 +
 
 
===Usage===
 
===Usage===
  
The Alliance Box template is used for Alliance pages only, to describe the Alliance(or Conglomerate). Paste the following code into the top of an article, filling all known fields:
+
The Alliance Box template is used for Alliance pages only, to describe the Alliance (or Conglomerate). Paste the following code into the top of an article, filling all known fields:
  
 
<pre><nowiki>
 
<pre><nowiki>
{{Alliance
+
{{Infobox Alliance
 
| name =  
 
| name =  
 
| image =  
 
| image =  
| Status =  
+
| status =  
| Leader =  
+
| motto = Fill out if true. Leave empty if false.
| Members =  
+
| leader =
| Founded =  
+
| secondincommand = Fill out if true. Leave empty if false.
| Affiliation =  
+
| members =  
| Type =  
+
| founded =  
| Holosite =
+
| dissolved = Fill out if true. Leave empty if false.
 +
| affiliation = Fill out if true. Leave empty if false.
 +
| type =
 +
| holosite = Fill out if true. Leave empty if false.
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 19:26, 29 July 2014

{{{name}}}
{{{image}}}
General Information
Status {{{status}}}
Leader {{{leader}}}
Members {{{members}}}
Historical Information
Founded {{{founded}}}
Political Information
Type {{{type}}}

Usage

The Alliance Box template is used for Alliance pages only, to describe the Alliance (or Conglomerate). Paste the following code into the top of an article, filling all known fields:

{{Infobox Alliance
| name = 
| image = 
| status = 
| motto = Fill out if true. Leave empty if false.
| leader =
| secondincommand = Fill out if true. Leave empty if false.
| members = 
| founded = 
| dissolved = Fill out if true. Leave empty if false.
| affiliation = Fill out if true. Leave empty if false.
| type = 
| holosite = Fill out if true. Leave empty if false.
}}