Difference between revisions of "Template:InfoboxSector"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
(17 intermediate revisions by 3 users not shown)
Line 13: Line 13:
 
|-
 
|-
 
|colspan="2" style="text-align: center; align: center" |
 
|colspan="2" style="text-align: center; align: center" |
 
+
 
{|
 
{|
|rowspan="3" style="text-align: center; max-width: 2em" width="2em" class="rotateright"| {{{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="text-align: center; max-width: 2em" width="2em" class="rotateleft"| {{{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}}}}}
Line 37: Line 37:
 
| {{#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=F}}|Unknown|{{{ss6|{{{ssf|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=F}}}}
 
| {{#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=G}}|Unknown|{{{ss10|{{{ssg|Unknown}}}}}}|{{SubsectorName from position|sector={{{name}}} Sector|position=G}}}}
| {{#ifeq: {{SubsectorName from position|sector={{{name|}}} Sector|position=H}}|Unknown|{{{ss14|{{{ssf|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|{{{ssi|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}}}}
Line 86: Line 86:
 
{{!}}Quiniary Control
 
{{!}}Quiniary Control
 
{{!}}{{{c5}}} - {{{c5p}}}%
 
{{!}}{{{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}}}%
 
{{!}}-}}
 
{{!}}-}}
  
Line 97: 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 140: Line 160:
 
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-}}
 +
|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}}
 
  |coreward= {{coreward sector}}
  |tailing= {{trailing sector}}
+
  |tailing = {{trailing sector}}
  |rimward= {{rimward sector}}
+
  |rimward = {{rimward sector}}
 
  |spinward= {{spinward sector}}
 
  |spinward= {{spinward sector}}
|ss1= {{Subsector A}}
+
|
|ss2= {{Subsector E}}
+
  ...
    ...
+
  Subsectors are now autogenerated
|ss15= {{Subsector L}}
+
|ss1= {{Subsector A}}
|ss16= {{Subsector P}}
+
|ss2= {{Subsector E}}
/* Alternatively */
+
  ...
|ssa= {{Subsector A}}
+
|ss15= {{Subsector L}}
    ...
+
|ss16= {{Subsector P}}
|ssp= {{Subsector P}}
+
  /* Alternatively */
|number= {{number of worlds in sector}}
+
|ssa= {{Subsector A}}
|population= {{population of the sector (in millions)}}
+
  ...
|gsp= {{Gross sector product (in billions)}}
+
|ssp= {{Subsector P}}
|trade= {{trade volume (in billions)}}
+
|
|c1= {{Name of empire with most stars}}
+
|worlds    = true {{include the [[Template: SectorWorlds2]] list}}
|c1p= {{percentage of stars owned by c1}}
+
|sectordata = true {{include a link to the source sector data on TravellerMap}}
|c2= {{Name of empire with second most stars}}
+
|
|c2p= {{percentage of stars owned by c2}}
+
|source     = {{Source of the sector data }}
|c3= {{Name of empire with third most stars}}
+
|credits   = {{Credits for source of the information about the sector}} -> Use [[Template:Ludography ref]]
|c3p= {{percentage of stars owned by c3}} 
+
|other_names= {{Comma separated list of other names for this sector}}
|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}}
 
|domain= {{Domain or Province Name}}
 
|capital= {{Capital of Sector (or primary empire)}}
 
|x= {{Sector Co-ordinates trailing+, spinward-}}
 
|y= {{Sector Co-ordinates coreward+, rimward-}}
 
|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 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 sectordata parameter generates a link to the T5 Second Survey formatted data on the Traveller Map site.  
+
* 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.  
 
* 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)
 
* 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.
 
* 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.