Difference between revisions of "Template:Infobox Alliance"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<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>
 
<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>
 
<tr><td width="100%" colspan="2" style="text-align: center;">{{{image}}}</td></tr>
 
<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>
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"><font color="white"><b>General Information</b></font></td></tr>
<tr><td width="31%" valign="top"> Status
+
<tr>
 +
<td width="31%" valign="top"> Status
 
</td><td width="69%"> {{{status}}}
 
</td><td width="69%"> {{{status}}}
 
</td></tr>
 
</td></tr>
<tr><td width="31%" valign="top"> Leader
+
{{#if:{{{motto|}}}|<tr>
 +
<td width="31%" valign="top"> Motto
 +
</td><td width="69%"> {{{motto}}}
 +
</td></tr>}}
 +
<tr>
 +
<td width="31%" valign="top"> Leader
 
</td><td width="69%"> {{{leader}}}
 
</td><td width="69%"> {{{leader}}}
 
</td></tr>
 
</td></tr>
{{#if:{{{2IC|}}}|<tr>
+
{{#if:{{{secondincommand|}}}|<tr>
<td width="31%" valign="top"> Second-in-Command
+
<td width="31%" valign="top"> SIC
</td><td width="69%"> {{{2IC}}}
+
</td><td width="69%"> {{{secondincommand}}}
 
</td></tr>}}
 
</td></tr>}}
<tr><td width="31%" valign="top"> Members
+
<tr>
 +
<td width="31%" valign="top"> Members
 
</td><td width="69%"> {{{members}}}
 
</td><td width="69%"> {{{members}}}
 
</td></tr>
 
</td></tr>
<tr><td width="100%" colspan="2" style="background-color: #21314c;"> <font color="white"><b>Historical Information</b></font></td></tr>
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"><font color="white"><b>Historical Information</b></font></td></tr>
<tr><td width="31%" valign="top"> Founded
+
<tr>
 +
<td width="31%" valign="top"> Founded
 
</td><td width="69%"> {{{founded}}}
 
</td><td width="69%"> {{{founded}}}
 
</td></tr>
 
</td></tr>
Line 23: Line 31:
 
</td><td width="69%"> {{{dissolved}}}
 
</td><td width="69%"> {{{dissolved}}}
 
</td></tr>}}
 
</td></tr>}}
<tr><td width="100%" colspan="2" style="background-color: #21314c;"> <font color="white"><b>Political Information</b></font></td></tr>
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"><font color="white"><b>Political Information</b></font></td></tr>
 
{{#if:{{{affiliation|}}}|<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><td width="31%" valign="top"> Type
+
<tr>
 +
<td width="31%" valign="top"> Type
 
</td><td width="69%"> {{{type}}}
 
</td><td width="69%"> {{{type}}}
 
</td></tr>
 
</td></tr>
<tr><td width="31%" valign="top"> Holosite
+
{{#if:{{{holosite|}}}|<tr>
 +
<td width="31%" valign="top"> Holosite
 
</td><td width="69%"> {{{holosite}}}
 
</td><td width="69%"> {{{holosite}}}
</td></tr>
+
</td></tr>}}
 
</table><noinclude>
 
</table><noinclude>
  
Line 42: Line 52:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Infobox Alliance
 
{{Infobox Alliance
| Name =  
+
| name =  
| Image =  
+
| image =  
| Status =  
+
| status =  
| Leader =
+
| motto = Fill out if true. Leave empty if false.
| Second-in-Command = Only fill out if necessary. Otherwise, leave empty.
+
| leader =
| Members =  
+
| secondincommand = Fill out if true. Leave empty if false.
| Founded =  
+
| members =  
| Dissolved = Only fill out if necessary. Otherwise, leave empty.
+
| founded =  
| Affiliation = Only fill out if necessary. Otherwise, leave empty.
+
| dissolved = Fill out if true. Leave empty if false.
| Type =  
+
| affiliation = Fill out if true. Leave empty if false.
| Holosite =
+
| type =  
 +
| holosite = Fill out if true. Leave empty if false.
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
 
[[Category:Infobox 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.
}}