Difference between revisions of "Template:Infobox Alliance"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="width: 100%; height: 100%; border: 5px solid #0033CC; background-color: #003366"
+
<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="110%" colspan="25" style="background-color: #444666;" | <font color=white></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>
 +
<tr>
 +
<td width="31%" valign="top"> Status
 +
</td><td width="69%"> {{{status}}}
 +
</td></tr>
 +
{{#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></tr>
 +
{{#if:{{{secondincommand|}}}|<tr>
 +
<td width="31%" valign="top"> SIC
 +
</td><td width="69%"> {{{secondincommand}}}
 +
</td></tr>}}
 +
<tr>
 +
<td width="31%" valign="top"> Members
 +
</td><td width="69%"> {{{members}}}
 +
</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
 +
</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;"><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>
  
{|table border="5" cellspacing="2" cellpadding="4px" margin: "0" style="border: 5px solid grey; background-color: #4B0801; padding: 3px; width: 100%; float: right; font-size: 10px;"
 
        |  {|
 
{|  style="border: 1px solid grey; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;"
 
|  width="100%" colspan="2" style="background-color: #000099; font-size: 16px; text-align: center;" | <font color=white>'''{{{name}}}'''</font>
 
|-
 
|  width="100%" colspan="2" style="text-align: center;" | {{{image}}}
 
|-
 
|  width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''General information'''</font>
 
|-
 
|  width="31%" valign="top" | Status
 
|  width="69%" | {{{Status}}}
 
|-
 
|  width="31%" valign="top" | Leader
 
|  width="69%" | {{{Leader}}}
 
|-
 
|  width="31%" valign="top" | Members
 
|  width="69%" | {{{Members}}}
 
|-
 
|  width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''Historical Information'''</font>
 
|-
 
|  width="31%" valign="top" | Founded
 
|  width="69%" | {{{Founded}}}
 
|-
 
|  width="100%" colspan="2" style="background-color: #000099;" | <font color=white>'''Political Information'''</font>
 
|-
 
|  width="31%" valign="top" | Affiliation
 
|  width="69%" | {{{Affiliation}}}
 
|-
 
|  width="31%" valign="top" | Type
 
|  width="69%" | {{{Type}}}
 
|-
 
|  width="31%" valign="top" | Holosite
 
|  width="69%" | {{{Holosite}}}
 
|}
 
<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.
}}