Difference between revisions of "Template:TravellermapSector"
Jump to navigation
Jump to search
(No www on travellermap.com links) |
|||
Line 1: | Line 1: | ||
− | [http:// | + | [http://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:// | + | 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: |
Revision as of 16:12, 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:
- x - from the imperial Coordinates, 0 is core sector, +to trailing, - to spinward.
- y - from the Imperial Coordinates, 0 is core sector, +to coreward, - to rimward.
- 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.