Difference between revisions of "Template:InfoboxSector"
Jump to navigation
Jump to search
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|{{{ | + | | {{#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}}}} |
Revision as of 09:30, 4 December 2018
This template defines the table "SectorData". View table.
{{{name}}} Sector | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
Subsectors | |||||||||||||||||
| |||||||||||||||||
Sector Data | |||||||||||||||||
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.