Difference between revisions of "Template:TravellermapSector"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(No www on travellermap.com links)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://www.travellermap.com/?x={{#expr: {{{1|-2}}} * 27.776 + 13.888}}&y={{#expr: {{{2|1}}} * 40 + 20}}&scale=8&options=91&galdir=0 {{{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>
+
[https://travellermap.com/?x={{#expr: {{{1|-2}}} * 27.71281292110204 + 12.95}}&y={{#expr: {{{2|1}}} * 40 + 20}}&scale=8&options=41051&galdir=0 {{{3|Corridor}}} style="width: 250px; height: 350px; border: solid 1px black;"]<br><span style="font-size: 75%;text-align: center">map from [http://travellermap.com Travellermap.com]</span><noinclude>
 
[[Category: Templates]]
 
[[Category: Templates]]
 
[[Category:TravellerMap templates]]
 
[[Category:TravellerMap templates]]
  
This template, along with the renderTravellerMap() javascript in [[MediaWiki:Common.js]] or [[MediaWiki:Wikia.js]], produces a iframe to [http://www.travellermap.com 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 [http://www.travellermap.com Travellermap.com] for more details, and other options.  
+
This template, along with the renderTravellerMap() javascript in [[MediaWiki:Common.js]] or [[MediaWiki:Wikia.js]], produces a iframe to [http://travellermap.com 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 [http://travellermap.com Travellermap.com] for more details, and other options.  
  
 
Example:  
 
Example:  

Latest revision as of 16:14, 20 April 2017

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 or MediaWiki:Wikia.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.