Difference between revisions of "Template:Travellermap Subsector"
Jump to navigation
Jump to search
(New page: [http://www.travellermap.com/iframe.htm?x={{#expr: {{{1|-2}}} * 27.776 + 13.888 + {{#switch: {{lc: {{{3|a}}}}} |a|e|i|m=-11.284 |b|f|j|n=-4.34 |c|g|k|o=2.604 |d|h|l|p=9.548}} }}&y={{#expr:...) |
|||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | [ | + | [https://travellermap.com/?x={{#expr: {{{1|-2}}} * 27.71281292110204 + 13.888 + {{#switch: {{lc: {{{3|a}}}}} |a|e|i|m=-11.284 |b|f|j|n=-4.34 |c|g|k|o=2.604 |d|h|l|p=9.548}} }}&y={{#expr: {{{2|1}}} * 40 + 20 + {{#switch: {{lc: {{{3|a}}}}} |a|b|c|d=15 |e|f|g|h=5 |i|j|k|l=-5 |m|n|o|p=-15}}}}&milieu={{#switch:{{{era}}}|Milieu 1200=M1201|Milieu 1248=M1248|Milieu 1900=M1900|M1105}}&scale=32&options=25439&galdir=0 {{{4|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]] | ||
| + | |||
| + | This template, along with the renderTravellerMap() javascript in [[MediaWiki:Common.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 [https://travellermap.com Travellermap.com] for more details, and other options. | ||
Example: | Example: | ||
| Line 11: | Line 14: | ||
# p - position of the subsector within the sector (one of A-P). | # p - position of the subsector within the sector (one of A-P). | ||
# name - sector name, used as the placeholder. | # name - sector name, used as the placeholder. | ||
| + | # era - Milieu of the map to display: Use the wiki milieus: Milieu 1116, Milieu 1200, Milieu 1900, etc. | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:24, 8 September 2024
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:
{{Travellermap Subsector|x|y|p|name}}
This template takes four unnamed parameters:
- x - Sector location from the imperial Coordinates, 0 is core sector, +to trailing, - to spinward.
- y - Sector location from the Imperial Coordinates, 0 is core sector, +to coreward, - to rimward.
- p - position of the subsector within the sector (one of A-P).
- name - sector name, used as the placeholder.
- era - Milieu of the map to display: Use the wiki milieus: Milieu 1116, Milieu 1200, Milieu 1900, etc.