Difference between revisions of "Template:Infobox Group"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(5 intermediate revisions by 4 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: #21314c; 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: #21314c;" | <font color=white>'''General information'''</font>
+
</td><td width="69%"> {{{Status}}}
|-
+
</td></tr>
width="31%" valign="top" | Status
+
<tr>
width="69%" | {{{Status}}}
+
<td width="31%" valign="top"> Leader
|-
+
</td><td width="69%"> {{{Leader}}}
width="31%" valign="top" | Leader
+
</td></tr>
width="69%" | {{{Leader}}}
+
{{#if:{{{2IC|}}}|<tr>
|-
+
<td width="31%" valign="top"> 2IC
| width="31%" valign="top" | Motto  
+
</td><td width="69%"> {{{2IC}}}
width="69%" | {{{Motto}}}
+
</td></tr>}}
|-
+
{{#if:{{{Motto|}}}|<tr>
width="31%" valign="top" | Headquarters
+
<td width="31%" valign="top"> Motto  
width="69%" | {{{Headquarters}}}
+
</td><td width="69%"> {{{Motto}}}
|-
+
</td></tr>}}
width="100%" colspan="2" style="background-color: #21314c;" | <font color=white>'''Historical Information'''</font>
+
{{#if:{{{Headquarters|}}}|<tr>
|-
+
<td width="31%" valign="top"> Headquarters
width="31%" valign="top" | Founded
+
</td><td width="69%"> {{{Headquarters}}}
width="69%" | {{{Founded}}}
+
</td></tr>}}
|-
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"> <font color="white"><b>Historical Information</b></font></td></tr>
width="100%" colspan="2" style="background-color: #21314c;" | <font color=white>'''Political Information'''</font>
+
<tr>
|-
+
<td width="31%" valign="top"> Founded
width="31%" valign="top" | Affiliation
+
</td><td width="69%"> {{{Founded}}}
width="69%" | {{{Affiliation}}}
+
</td></tr>
|-
+
{{#if:{{{Dissolved|}}}|<tr>
width="31%" valign="top" | Type
+
<td width="31%" valign="top"> Dissolved
width="69%" | {{{Type}}}
+
</td><td width="69%"> {{{Dissolved}}}
|-
+
</td></tr>}}
width="31%" valign="top" | Holosite
+
<tr><td width="100%" colspan="2" style="background-color: #21314c;"> <font color="white"><b>Political Information</b></font></td></tr>
width="69%" | {{{Holosite}}}
+
<tr>
|}
+
{{#if:{{{Affiliation|}}}|<tr>
 +
<td width="31%" valign="top"> Affiliation
 +
</td><td width="69%"> {{{Affiliation}}}
 +
</td></tr>}}
 +
{{#if:{{{Type|}}}|<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>
 
<noinclude>
 
===Usage===
 
===Usage===
Line 45: Line 56:
 
| Status =  
 
| Status =  
 
| Leader =  
 
| Leader =  
 +
| 2IC =
 
| Motto =  
 
| Motto =  
| Founded =
 
 
| Headquarters =  
 
| Headquarters =  
 +
| Founded =
 +
| Dissolved =
 
| Affiliation =  
 
| Affiliation =  
 
| Type =  
 
| Type =  
| Holosite =
+
| Holosite =  
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 12:13, 15 December 2018

{{{name}}}
{{{image}}}
General Information
Status {{{Status}}}
Leader {{{Leader}}}
Historical Information
Founded {{{Founded}}}
Political Information

Usage

The Group Box template is used for non-faction group pages only, to describe the group. Paste the following code into the top of an article, filling all known fields:

{{Infobox Group
| name = 
| image = 
| Status = 
| Leader = 
| 2IC =
| Motto = 
| Headquarters = 
| Founded = 
| Dissolved = 
| Affiliation = 
| Type = 
| Holosite = 
}}