Difference between revisions of "Template:Infobox Sector"

From Tresario Archives
Jump to: navigation, search
 
Line 1: Line 1:
{| style="border: 1px solid black; background:#232730; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;"
+
{| class="infobox" cellspacing="9"
| width="100%" colspan="2" style="border: 1px solid grey; background-color: #CC9900; font-size: 16px; text-align: center;" | <font color="black"><b>{{{name}}}</b></font>
 
|-
 
| width="100%" colspan="2" style="text-align: center;" | {{{image}}}
 
|-
 
| width="100%" colspan="2" style="border: 1px solid grey; background-color: #CC9900;" | <font color=black>'''General information'''</font>
 
|-
 
| width="31%" valign="top" | Region
 
| width="69%" | {{{region}}}
 
|-
 
| width="31%" valign="top" | Systems
 
| width="69%" | {{{systems}}}
 
|-
 
| width="31%" valign="top" | Population
 
| width="69%" | {{{pop}}}
 
|-{{#if:{{{events|}}} | | style="display: none" }}
 
| 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}}}
 
 
|-
 
|-
 +
!  colspan="2" class="infoboxHOM-section" style="font-size: 16px;" | '''{{{name}}}'''
 +
 +
|-
 +
|  colspan="2" class="infobox-image" | {{{image}}}
 +
 +
|-
 +
|  colspan="2" class="infoboxHOM-section" | '''Astrographical Information'''
 +
 +
|- {{#if: {{{region|}}} | | style="display: none" }}
 +
!  Region
 +
|  {{{region}}}
 +
 +
|- {{#if: {{{systems|}}} | | style="display: none" }}
 +
!  Systems
 +
|  {{{systems}}}
 +
 +
|- {{#if: {{{routes|}}} | | style="display: none" }}
 +
!  Trade Routes
 +
|  {{{routes}}}
 +
 +
|-
 +
|  colspan="2" class="infoboxHOM-section" | '''Societal Information'''
 +
 +
|- {{#if: {{{events|}}} | | style="display: none" }}
 +
! Historical Events
 +
| {{{events}}}
 +
 +
|- {{#if: {{{affiliation|}}} | | style="display: none" }}
 +
! Affiliation
 +
| {{{affiliation}}}
 +
 +
|- {{#if: {{{entry|}}} | | style="display: none" }}
 +
! Astrographic Entry
 +
| {{{entry}}}
 
|}
 
|}
 
 
<noinclude>
 
<noinclude>
 
===Usage===
 
===Usage===
Line 37: Line 47:
 
| region =
 
| region =
 
| systems =  
 
| systems =  
| pop =  
+
| routes =  
 
| events =  
 
| events =  
| controller =  
+
| affiliation =  
 
| entry =  
 
| entry =  
 
}}
 
}}

Latest revision as of 06:03, 10 September 2023

{{{name}}}
{{{image}}}
Astrographical Information
Region {{{region}}}
Systems {{{systems}}}
Trade Routes {{{routes}}}
Societal Information
Historical Events {{{events}}}
Affiliation {{{affiliation}}}
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 = 
| routes = 
| events = 
| affiliation = 
| entry = 
}}