Difference between revisions of "Template:TravellermapSector"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(make message smaller)
(Modified map options to suppress the big homeworld and capital world indicators, which are not particularly useful for single sector displays.)
Line 1: Line 1:
[http://www.travellermap.com/iframe.htm?x={{#expr: {{{1|-2}}} * 27.776 + 13.888}}&y={{#expr: {{{2|1}}} * 40 + 20}}&scale=8&options=887 {{{3|Corridor}}} style="width: 250px; height: 350px; border: solid 1px black;"]<br><span style="font-size: 75%;text-align: center">map from [http://www.travellermap.com Travellermap.com]</span><noinclude>
+
[http://www.travellermap.com/iframe.htm?x={{#expr: {{{1|-2}}} * 27.776 + 13.888}}&y={{#expr: {{{2|1}}} * 40 + 20}}&scale=8&options=119 {{{3|Corridor}}} style="width: 250px; height: 350px; border: solid 1px black;"]<br><span style="font-size: 75%;text-align: center">map from [http://www.travellermap.com Travellermap.com]</span><noinclude>
 
[[Category: Templates]]
 
[[Category: Templates]]
  

Revision as of 05:23, 31 March 2008

Corridor style="width: 250px; height: 350px; border: solid 1px black;"
map from Travellermap.com

This template, along with the renderTravellerMap() javascript in MediaWiki:Common.js, produces a iframe to Travellermap.com. This is a fully scrollable image, you can wander all over charted space. By double clicking the image you can zoom in. See Travellermap.com for more details, and other options.

Example:

{{TravellermapSector|x|y|name}}

This template takes three unnamed parameters:

  1. x - from the imperial Coordinates, 0 is core sector, +to trailing, - to spinward.
  2. y - from the Imperial Coordinates, 0 is core sector, +to coreward, - to rimward.
  3. name - sector name, used as the placeholder.

See Charted Space and the sector matrix for the coordinate to a sector if they are not included in the InfoboxSector already.