Difference between revisions of "Template:InfoboxSector"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|style="width: 20em; text-align: left; font-size: 95%; float: right; border-spacing: 0px"
+
<noinclude>{{#cargo_declare:
!colspan="2" style="font-size: larger; background: #b0c4de;" | {{{name}}} Sector
+
_table=SectorData
 +
|name=String
 +
|pos_x=Integer
 +
|pos_y=Integer
 +
|source=Page
 +
|credits=Wikitext
 +
|other_names=List (,) of String
 +
|capital=Wikitext
 +
}}</noinclude>
 +
{|style="width: 20em; text-align: left; font-size: 95%; float: right; border-spacing: 0px; max-width: 20em"
 +
!colspan="2" class="color2" style="font-size: larger" | {{#replace:{{{name}}}|!|&#33;}} Sector
 
|-
 
|-
|colspan="2" |
+
|colspan="2" style="text-align: center; align: center" |
 +
 
{|
 
{|
|rowspan="3" style="width:2%"| {{{spinward}}}
+
|rowspan="3" style="text-align: center; max-width: 2em; background-color: transparent !important" width="2em" class="rotateright"| {{{spinward}}}
 
|colspan="3" style="text-align: center"| {{{coreward}}}
 
|colspan="3" style="text-align: center"| {{{coreward}}}
|rowspan="3" style="width:2%"| {{{trailing}}}
+
|rowspan="3" style="text-align: center; max-width: 2em; background-color: transparent !important" width="2em" class="rotateleft"| {{{trailing}}}
 
|-
 
|-
|colspan="3" align="center"| {{TravellermapSector|{{{x}}}|{{{y}}}|{{{name}}}}}
+
| colspan="3" align="center"| {{TravellermapSector|{{{x}}}|{{{y}}}|{{{name}}}}}
 
|-
 
|-
 
|colspan="3" style="text-align: center" | {{{rimward}}}
 
|colspan="3" style="text-align: center" | {{{rimward}}}
 
|}
 
|}
 
|-
 
|-
!style="background: #b0c4de; text-align: center" colspan="2"|Subsectors
+
!class="color2" colspan="2" |Subsectors
 
|-
 
|-
 
|colspan="2" align="center" |
 
|colspan="2" align="center" |
 +
 
{| class="wikitable" style="text-align: center;" width="95%"
 
{| class="wikitable" style="text-align: center;" width="95%"
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=A}}|Unknown|{{{ss1|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=A}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=A}}|Unknown|{{{ss1|{{{ssa|Unknown}}}}}}|{{SubsectorName from position|sector={{{name|}}} Sector|position=A}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=B}}|Unknown|{{{ss5|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=B}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=B}}|Unknown|{{{ss5|{{{ssb|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=B}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=C}}|Unknown|{{{ss9|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=C}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=C}}|Unknown|{{{ss9|{{{ssc|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=C}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=D}}|Unknown|{{{ss13|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=D}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=D}}|Unknown|{{{ss13|{{{ssd|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=D}}}}
 
|-
 
|-
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=E}}|Unknown|{{{ss2|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=E}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=E}}|Unknown|{{{ss2|{{{sse|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=E}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=F}}|Unknown|{{{ss6|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=F}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=F}}|Unknown|{{{ss6|{{{ssf|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=F}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=G}}|Unknown|{{{ss10|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=G}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=G}}|Unknown|{{{ss10|{{{ssg|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=G}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=H}}|Unknown|{{{ss14|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=H}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=H}}|Unknown|{{{ss14|{{{ssh|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=H}}}}
 
|-
 
|-
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=I}}|Unknown|{{{ss3|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=I}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=I}}|Unknown|{{{ss3|{{{ssi|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=I}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=J}}|Unknown|{{{ss7|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=J}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=J}}|Unknown|{{{ss7|{{{ssj|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=J}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=K}}|Unknown|{{{ss11|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=K}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=K}}|Unknown|{{{ss11|{{{ssk|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=K}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=L}}|Unknown|{{{ss15|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=L}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=L}}|Unknown|{{{ss15|{{{ssl|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=L}}}}
 
|-
 
|-
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=M}}|Unknown|{{{ss4|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=M}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=M}}|Unknown|{{{ss4|{{{ssm|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=M}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=N}}|Unknown|{{{ss8|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=N}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=N}}|Unknown|{{{ss8|{{{ssn|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=N}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=O}}|Unknown|{{{ss12|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=O}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=O}}|Unknown|{{{ss12|{{{sso|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=O}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name}}} Sector|position=P}}|Unknown|{{{ss16|Unknown}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=P}}}}
+
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=P}}|Unknown|{{{ss16|{{{ssp|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=P}}}}
 
|}
 
|}
 +
 
|-
 
|-
!style="background: #b0c4de; text-align: center" colspan="2"|[[Charted Space|Sector Data]]
+
!class="color2" colspan="2"|Sector Data
 
|-
 
|-
 +
 
{{#if: {{{number|}}}|
 
{{#if: {{{number|}}}|
 
{{!}}No. of Worlds
 
{{!}}No. of Worlds
Line 48: Line 62:
 
{{!}}{{{population}}} million
 
{{!}}{{{population}}} million
 
{{!}}-}}
 
{{!}}-}}
 +
 
{{#if: {{{c1|}}}|
 
{{#if: {{{c1|}}}|
 
{{!}}Majority Control
 
{{!}}Majority Control
 
{{!}}{{{c1}}} - {{{c1p}}}%
 
{{!}}{{{c1}}} - {{{c1p}}}%
 
{{!}}-}}
 
{{!}}-}}
 +
 
{{#if: {{{c2|}}}|
 
{{#if: {{{c2|}}}|
 
{{!}}Secondary Control
 
{{!}}Secondary Control
 
{{!}}{{{c2}}} - {{{c2p}}}%
 
{{!}}{{{c2}}} - {{{c2p}}}%
 
{{!}}-}}
 
{{!}}-}}
 +
 
{{#if: {{{c3|}}}|
 
{{#if: {{{c3|}}}|
 
{{!}}Tertiary Control
 
{{!}}Tertiary Control
 
{{!}}{{{c3}}} - {{{c3p}}}%
 
{{!}}{{{c3}}} - {{{c3p}}}%
 
{{!}}-}}
 
{{!}}-}}
 +
 +
{{#if: {{{c4|}}}|
 +
{{!}}Quaternary Control
 +
{{!}}{{{c4}}} - {{{c4p}}}%
 +
{{!}}-}}
 +
 +
{{#if: {{{c5|}}}|
 +
{{!}}Quiniary Control
 +
{{!}}{{{c5}}} - {{{c5p}}}%
 +
{{!}}-}}
 +
 +
{{#if: {{{c6|}}}|
 +
{{!}}Sextenary Control
 +
{{!}}{{{c6}}} - {{{c6p}}}%
 +
{{!}}-}}
 +
 +
{{#if: {{{c7|}}}|
 +
{{!}}Septenary Control
 +
{{!}}{{{c7}}} - {{{c7p}}}%
 +
{{!}}-}}
 +
 +
{{#if: {{{c8|}}}|
 +
{{!}}Octonary Control
 +
{{!}}{{{c8}}} - {{{c8p}}}%
 +
{{!}}-}}
 +
 +
{{#if: {{{c9|}}}|
 +
{{!}}Nonary Control
 +
{{!}}{{{c9}}} - {{{c9p}}}%
 +
{{!}}-}}
 +
 
{{#if: {{{domain|}}}|
 
{{#if: {{{domain|}}}|
 
{{!}}{{#ifexpr:{{{x}}}<-4|Province|Domain}}
 
{{!}}{{#ifexpr:{{{x}}}<-4|Province|Domain}}
Line 69: Line 117:
 
{{!}}-}}
 
{{!}}-}}
 
{{#if: {{{gsp|}}}|
 
{{#if: {{{gsp|}}}|
{{!}}Gross Sector Product
+
{{!}}[[Gross Sector Product]]
{{!}}BCr{{{gsp}}}
+
{{!}}[[BCr]]{{{gsp}}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#if: {{{trade|}}}|
 
{{#if: {{{trade|}}}|
 
{{!}}Trade Volume
 
{{!}}Trade Volume
{{!}}BCr{{{trade}}}
+
{{!}}[[BCr]]{{{trade}}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#if: {{{x|}}}|
 
{{#if: {{{x|}}}|
Line 80: Line 128:
 
{{!}} {{{x}}} / {{{y}}}
 
{{!}} {{{x}}} / {{{y}}}
 
{{!}}-}}
 
{{!}}-}}
{{#if: {{{list|}}}|
+
{{#ifexist: File:{{PAGENAME}}.pdf|
{{!}} colspan="2" style="color: #000; background-color: #e0ffE0" {{!}}This sector has a [[{{PAGENAME}}/world list|world list]][[Category: Articles with a list of worlds]]
+
{{!}} colspan="2" style="color: #000; background-color: #e0ffE0"{{!}}This sector has a [[:File:{{PAGENAME}}.pdf|trade map]][[Category: Sectors with a trade map]]
{{!}}-}}
+
{{!}}-|}}
{{#if: {{{trademap|}}}|
+
{{#ifexist: {{PAGENAME}}/economic|
{{!}} colspan="2" style="color: #000; background-color: #e0ffE0"{{!}}This sector has a [[:Image:{{PAGENAME}}.pdf|trade map]][[Category: Sectors with a trade map]]
+
{{!}}colspan="2" style="color: #000; background-color: #e0ffE0"{{!}}This sector has [[{{PAGENAME}}/economic|economic data]]
{{!}}-}}
+
{{!}}-|}}
{{#if: {{{sectorfile|}}}|
+
{{#ifexist: {{PAGENAME}}/sector|
{{!}}colspan="2" style="color: #000; background-color: #e0ffE0"{{!}}This sector has a [[{{PAGENAME}}/data|data file]][[Category: Sectors with sector data]]
+
{{!}}colspan="2" style="color: #000; background-color: #e0ffE0"{{!}}This sector has [[{{PAGENAME}}/sector|sector data]]
{{!}}-}}
+
{{!}}-|}}
{{#if: {{{climatefile|}}}|
+
{{#ifexist: {{PAGENAME}}/climate|
 
{{!}}colspan="2" style="color: #000; background-color:#e0ffe0"{{!}}This sector has a [[{{PAGENAME}}/climate|climate file]][[Category: Sectors with climate data]]
 
{{!}}colspan="2" style="color: #000; background-color:#e0ffe0"{{!}}This sector has a [[{{PAGENAME}}/climate|climate file]][[Category: Sectors with climate data]]
{{!}}-}}
+
{{!}}-|}}
 
{{#if: {{{sectordata|}}}|
 
{{#if: {{{sectordata|}}}|
 
{{!}}colspan="2" style="color:#000;background-color:#e0FFe0"{{!}}This sector has [http://travellermap.com/data/{{urlencode:{{{name}}}|PATH}} sector data]
 
{{!}}colspan="2" style="color:#000;background-color:#e0FFe0"{{!}}This sector has [http://travellermap.com/data/{{urlencode:{{{name}}}|PATH}} sector data]
Line 98: Line 146:
 
{{!}} colspan="2" {{!}} {{SectorWorlds2|{{{name}}}}}}}
 
{{!}} colspan="2" {{!}} {{SectorWorlds2|{{{name}}}}}}}
 
|-
 
|-
| colspan="3" align="center" | {{SOV|sx={{{x}}}|sy={{{y}}}|dx=1|dy=1|name={{{name}}}|xcen=-14|ycen=-20}}
+
| colspan="2" style="text-align: center; align: center" |  
|}<includeonly>[[Category: Sectors]]</includeonly><noinclude>[[Category:Infobox|Sectors]][[Category:Templates|Sectors]]
+
{{SOV|sx={{{x}}}|sy={{{y}}}|dx=1|dy=1|name={{{name}}}|xcen=-14|ycen=-20}}
 +
|}<includeonly>{{#cargo_store:
 +
  _table=SectorData
 +
  |name={{{name|}}}
 +
  |pos_x={{{x}}}
 +
  |pos_y={{{y}}}
 +
  |source={{{source|}}}
 +
  |credits={{{credits|}}}
 +
  |other_names={{{other_names|}}}
 +
  |capital={{{capital|}}}
 +
}}[[Category: Sectors]]</includeonly><noinclude>[[Category:Infobox|Sectors]][[Category:Templates|Sectors]][[Category:Cargo Templates|Sectors]]
 
The Infobox Sector is a display of basic information about a sector, including the display of subsectors. Previously if you don't know what the subsectors are, you would have used the [[Template:InfoboxSectorNoSS]], this does not apply any further the template will detect if the ss1 parameter is set.  
 
The Infobox Sector is a display of basic information about a sector, including the display of subsectors. Previously if you don't know what the subsectors are, you would have used the [[Template:InfoboxSectorNoSS]], this does not apply any further the template will detect if the ss1 parameter is set.  
  
'''Note:''' the ssX parameters are numbered in a different order than the subsector letters.  
+
'''Note-1:''' the ssX parameters are numbered in a different order than the subsector letters.
 +
 
 +
'''Note-2:''' Directions below.  
  
 
<pre style="clear: both">
 
<pre style="clear: both">
{{InfoboxSector
+
|name       = {{Sector Name}}
    |name={{Sector Name}}
+
|x = X parameter on Charted Space map {{Sector Co-ordinates trailing+, spinward-}}
    |coreward={{coreward sector}}
+
|y = Y parameter on Charted Space map {{Sector Co-ordinates coreward+, rimward-}}
    |tailing={{trailing sector}}
+
|
    |rimward={{rimward sector}}
+
|alg        = {{two-letter allegiance code, all lower case}}
    |spinward={{spinward sector}}
+
|capital    = {{Capital of Sector (or primary empire)}}
    |ss1={{Subsector A}}
+
|domain     = {{Domain or Province Name}}
    |ss2={{Subsector E}}
+
|era        = {{year of data set, usually default to Classic Traveller year 1105 unless otherwise stated}}
     ...
+
|
    |ss15={{Subsector L}}
+
|gsp        = {{Gross sector product (in billions of Imperial Credits or BCr)}}
    |ss16={{Subsector P}}
+
|number     = {{number of worlds in sector}}
/* Alternatively */
+
|population = {{population of the sector (in millions of Imperial Credits or MCr)}}
    |ssa={{Subsector A}}
+
|trade     = {{trade volume (in billions of Imperial Credits or BCr)}}
    ...
+
|
    |ssp={{Subsector P}}
+
|c1 = {{Name of empire with most stars}}
    |number={{number of worlds in sector}}
+
|c1p= {{percentage of stars owned by c1}}
    |population={{population of the sector (in millions)}}
+
|c2 = {{Name of empire with second most stars}}
    |gsp={{Gross sector product (in billions)}}
+
|c2p= {{percentage of stars owned by c2}}
    |trade={{trade volume (in billions)}}
+
|c3 = {{Name of empire with third most stars}}
    |c1={{Name of empire with most stars}}
+
|c3p= {{percentage of stars owned by c3}} 
    |c1p={{percentage of stars owned by c1}}
+
|c4 = {{Name of empire with fourth most stars}}
    |c2={{Name of empire with second most stars}}
+
|c4p= {{percentage of stars owned by c4}} 
    |c2p={{percentage of stars owned by c2}}
+
|c5 = {{Name of empire with fifth most stars}}
    |c3={{Name of empire with third most stars}}
+
|c5p= {{percentage of stars owned by c5}}
    |c3p={{percentage of stars owned by c3}}
+
|c6 = {{Name of empire with sixth most stars}}
    |domain={{Domain or Province Name}}
+
|c6p= {{percentage of stars owned by c6}}
    |capital={{Capital of Sector (or primary empire)}}
+
|c7 = {{Name of empire with seventh most stars}}
    |x={{Sector Co-ordinates trailing+, spinward-}}
+
|c7p= {{percentage of stars owned by c7}}  
    |y={{Sector Co-ordinates coreward+, rimward-}}
+
|c8 = {{Name of empire with eighth most stars}}
    |list=true{{this sector has a world list page}}
+
|c8p= {{percentage of stars owned by c8}}  
    |worlds=true {{include the [[Template: SectorWorlds2]] list}}
+
|c9 = {{Name of empire with ninth most stars}}
    |trademap=true {{{This sector has a pdf trade map}}}
+
|c9p= {{percentage of stars owned by c9}}
     |sectorfile=true {{{This sector has a sector data .sec file}}}
+
|
    |climatefile=true {{{This sector has a sector climate data file}}}
+
|coreward= {{coreward sector}}
 +
|tailing = {{trailing sector}}
 +
|rimward = {{rimward sector}}
 +
|spinward= {{spinward sector}}
 +
|
 +
  ...
 +
  Subsectors are now autogenerated
 +
|ss1= {{Subsector A}}
 +
|ss2= {{Subsector E}}
 +
  ...
 +
|ss15= {{Subsector L}}
 +
|ss16= {{Subsector P}}
 +
  /* Alternatively */
 +
|ssa= {{Subsector A}}
 +
  ...
 +
|ssp= {{Subsector P}}
 +
|
 +
|worlds     = true {{include the [[Template: SectorWorlds2]] list}}
 +
|sectordata = true {{include a link to the source sector data on TravellerMap}}
 +
|
 +
|source     = {{Source of the sector data }}
 +
|credits    = {{Credits for source of the information about the sector}} -> Use [[Template:Ludography ref]]
 +
|other_names= {{Comma separated list of other names for this sector}}
 
}}</pre>
 
}}</pre>
 
* The list parameter include the text "this sector has a worlds list" and replaces the use of the [[Template:WorldList]] in the sector page. Include it with "list=true" to turn it on.
 
 
* The worlds parameter include the [[Template: SectorWorlds2]] which provides a complete list of worlds in the wiki that are in this sector.  This can be quite long for sectors which have many articles in the wiki.  
 
* The worlds parameter include the [[Template: SectorWorlds2]] which provides a complete list of worlds in the wiki that are in this sector.  This can be quite long for sectors which have many articles in the wiki.  
* The trademap parameters contains a link to an "Image" pdf file, which is the trade map of the sector. These [[Trade map summary|trade maps]] are generated by Anthony Jackson's [[nroute.c]] program.
+
* The sectordata parameter generates a link to the T5 Second Survey formatted data on the Traveller Map site.  
* The sectorfile parameter is a link to the sector data (.sec) file used to generate the trade maps above.
+
* The links to the trademap, generated climate data, local copy of the sector and economic data are all generated automatically if the pages exist.  
* The climatefile parameter generates a link to the climate data file generated from the .sec file.  
 
 
* New and improved this template now accepts either ss1..ss16 or ssa..ssp (one is the inverse of the other)
 
* New and improved this template now accepts either ss1..ss16 or ssa..ssp (one is the inverse of the other)
 +
* The Source, credits, and other_names parameters are used as part of the SectorData table and saved to the database, but not displayed in the infobox.
 
</noinclude>
 
</noinclude>

Latest revision as of 16:18, 21 February 2021

This template defines the table "SectorData". View table.

{{{name}}} Sector
{{{spinward}}} {{{coreward}}} {{{trailing}}}
Expression error: Unrecognized punctuation character "{".&y=Expression error: Unrecognized punctuation character "{".&scale=8&options=41051&galdir=0 {{{name}}} style="width: 250px; height: 350px; border: solid 1px black;"
map from Travellermap.com
{{{rimward}}}
Subsectors
Unknown Unknown Unknown Unknown
Unknown Unknown Unknown Unknown
Unknown Unknown Unknown Unknown
Unknown Unknown Unknown Unknown
Sector Data

Expression error: Unrecognized punctuation character "{".&y=Expression error: Unrecognized punctuation character "{".&ox=Expression error: Unrecognized punctuation character "{".&oy=Expression error: Unrecognized punctuation character "{".&ow=27.776&oh=40&scale=2&options=859&galdir=0 {{{name}}} style="width: 250px; height: 350px; border: solid 1px black; float: right; clear: left"

The Infobox Sector is a display of basic information about a sector, including the display of subsectors. Previously if you don't know what the subsectors are, you would have used the Template:InfoboxSectorNoSS, this does not apply any further the template will detect if the ss1 parameter is set.

Note-1: the ssX parameters are numbered in a different order than the subsector letters.

Note-2: Directions below.

|name       = {{Sector Name}}
|x = X parameter on Charted Space map {{Sector Co-ordinates trailing+, spinward-}}
|y = Y parameter on Charted Space map {{Sector Co-ordinates coreward+, rimward-}}
|
|alg        = {{two-letter allegiance code, all lower case}}
|capital    = {{Capital of Sector (or primary empire)}}
|domain     = {{Domain or Province Name}}
|era        = {{year of data set, usually default to Classic Traveller year 1105 unless otherwise stated}}
|
|gsp        = {{Gross sector product (in billions of Imperial Credits or BCr)}}
|number     = {{number of worlds in sector}}
|population = {{population of the sector (in millions of Imperial Credits or MCr)}}
|trade      = {{trade volume (in billions of Imperial Credits or BCr)}}
|
|c1 = {{Name of empire with most stars}}
|c1p= {{percentage of stars owned by c1}}
|c2 = {{Name of empire with second most stars}}
|c2p= {{percentage of stars owned by c2}}
|c3 = {{Name of empire with third most stars}}
|c3p= {{percentage of stars owned by c3}}   
|c4 = {{Name of empire with fourth most stars}}
|c4p= {{percentage of stars owned by c4}}  
|c5 = {{Name of empire with fifth most stars}}
|c5p= {{percentage of stars owned by c5}} 
|c6 = {{Name of empire with sixth most stars}}
|c6p= {{percentage of stars owned by c6}} 
|c7 = {{Name of empire with seventh most stars}}
|c7p= {{percentage of stars owned by c7}} 
|c8 = {{Name of empire with eighth most stars}}
|c8p= {{percentage of stars owned by c8}} 
|c9 = {{Name of empire with ninth most stars}}
|c9p= {{percentage of stars owned by c9}} 
|
 |coreward= {{coreward sector}}
 |tailing = {{trailing sector}}
 |rimward = {{rimward sector}}
 |spinward= {{spinward sector}}
| 
   ...
   Subsectors are now autogenerated
|ss1= {{Subsector A}}
|ss2= {{Subsector E}}
   ...
|ss15= {{Subsector L}}
|ss16= {{Subsector P}}
   /* Alternatively */
|ssa= {{Subsector A}}
   ...
|ssp= {{Subsector P}}
|
|worlds     = true {{include the [[Template: SectorWorlds2]] list}}
|sectordata = true {{include a link to the source sector data on TravellerMap}}
|
|source     = {{Source of the sector data }}
|credits    = {{Credits for source of the information about the sector}} -> Use [[Template:Ludography ref]]
|other_names= {{Comma separated list of other names for this sector}}
}}
  • The worlds parameter include the Template: SectorWorlds2 which provides a complete list of worlds in the wiki that are in this sector. This can be quite long for sectors which have many articles in the wiki.
  • The sectordata parameter generates a link to the T5 Second Survey formatted data on the Traveller Map site.
  • The links to the trademap, generated climate data, local copy of the sector and economic data are all generated automatically if the pages exist.
  • New and improved this template now accepts either ss1..ss16 or ssa..ssp (one is the inverse of the other)
  • The Source, credits, and other_names parameters are used as part of the SectorData table and saved to the database, but not displayed in the infobox.