Difference between revisions of "Template:InfoboxSector"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 157: Line 157:
 
  |x= {{Sector Co-ordinates trailing+, spinward-}}
 
  |x= {{Sector Co-ordinates trailing+, spinward-}}
 
  |y= {{Sector Co-ordinates coreward+, rimward-}}
 
  |y= {{Sector Co-ordinates coreward+, rimward-}}
  |worlds= true {{include the [[Template: SectorWorlds2]] list}}
+
  |worlds     = true {{include the [[Template: SectorWorlds2]] list}}
 +
|sectordata = true {{include a link to the source sector data on TravellerMap}}
 
}}</pre>
 
}}</pre>
  

Revision as of 03:27, 5 April 2016

{{{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: the ssX parameters are numbered in a different order than the subsector letters.

 {{InfoboxSector
 |name= {{Sector Name}}
 |coreward= {{coreward sector}}
 |tailing= {{trailing sector}}
 |rimward= {{rimward sector}}
 |spinward= {{spinward sector}}
 |ss1= {{Subsector A}}
 |ss2= {{Subsector E}}
    ...
 |ss15= {{Subsector L}}
 |ss16= {{Subsector P}}
/* Alternatively */
 |ssa= {{Subsector A}}
    ...
 |ssp= {{Subsector P}}
 |number= {{number of worlds in sector}}
 |population= {{population of the sector (in millions)}}
 |gsp= {{Gross sector product (in billions)}}
 |trade= {{trade volume (in billions)}}
 |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}} 
 |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}}
}}
  • 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 trademap parameters contains a link to an "Image" pdf file, which is the trade map of the sector. These trade maps are generated by Anthony Jackson's nroute.c program.
  • The sectorfile parameter is a link to the sector data (.sec) file used to generate the trade maps above.
  • 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)

.