Difference between revisions of "Template:Infobox Sector"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(3 intermediate revisions by 3 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>'''General information'''</font></td></tr>
width="100%" colspan="2" style="text-align: center;" | {{{image}}}
+
<tr><td width="31%" valign="top">Region</td><td width="69%">{{{region}}}</td></tr>
|-
+
<tr><td width="31%" valign="top">Systems</td><td width="69%">{{{systems}}}</td></tr>
width="100%" colspan="2" style="background-color: #21314c;" | <font color=white>'''General information'''</font>
+
{{#if:{{{events|}}}|<tr><td width="31%" valign="top">Historical Events</td><td width="69%">{{{events}}}</td></tr>}}
|-
+
<tr><td width="31%" valign="top">Controlled By</td><td width="69%">{{{controller}}}</td></tr>
width="31%" valign="top" | Region
+
<tr><td width="31%" valign="top">Astrographic Entry</td><td width="69%">{{{entry}}}</td></tr></table><noinclude>
width="69%" | {{{region}}}
 
|-
 
width="31%" valign="top" | Systems
 
width="69%" | {{{systems}}}
 
|-
 
|  width="31%" valign="top" | Population
 
|  width="69%" | {{{pop}}}
 
|-
 
width="31%" valign="top" | Historical Events
 
width="69%" | {{{events}}}
 
|-
 
width="31%" valign="top" | Controlled By
 
width="69%" | {{{controller}}}
 
|-
 
width="31%" valign="top" | Astrographic Entry
 
width="69%" | {{{entry}}}
 
|}
 
<noinclude>
 
 
===Usage===
 
===Usage===
  
Line 35: Line 17:
 
| region =
 
| region =
 
| systems =  
 
| systems =  
| pop =
 
 
| events =  
 
| events =  
 
| controller =  
 
| controller =  
Line 42: Line 23:
 
</nowiki></pre>
 
</nowiki></pre>
  
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 10:48, 25 June 2022

{{{name}}}
{{{image}}}
General information
Region{{{region}}}
Systems{{{systems}}}
Controlled By{{{controller}}}
Astrographic Entry{{{entry}}}

Usage

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

{{Infobox Sector
| name = 
| image = 
| region =
| systems = 
| events = 
| controller = 
| entry = 
}}