Difference between revisions of "Template:Infobox Sector"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(13 intermediate revisions by 5 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}}}
 
|}
 
<noinclude>
 
 
===Usage===
 
===Usage===
  
The Character 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:
+
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:
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 30: Line 15:
 
| name =  
 
| name =  
 
| image =  
 
| image =  
| Region =
+
| region =
| Systems =  
+
| systems =  
| Pop =  
+
| events =  
| Events =  
+
| controller =  
| Controller =  
+
| entry =  
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
 
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
 
 
[[Category:Templates]]
 

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 = 
}}