Difference between revisions of "Template:JumpMap"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(No www on travellermap.com links)
Line 1: Line 1:
<div class="va-infobox" style="margin-left:0px; text-align: center">http://www.travellermap.com/api/jumpmap?sector={{{1|Dagudashaag}}}&hex={{{2|0240}}}&options=8451&jump=3&scale=32&junk=junk.png
+
<div class="va-infobox" style="margin-left:0px; text-align: center">http://travellermap.com/api/jumpmap?sector={{{1|Dagudashaag}}}&hex={{{2|0240}}}&options=8451&jump=3&scale=32&junk=junk.png
<div style="font-size: 75%;text-align: center">Jump map from [https://www.travellermap.com Travellermap.com] {{#tag: ref|"[https://travellermap.com/doc/api#jump-worlds--return-a-list-of-worlds-within-n-parsecs Jump Map API]" and [https://travellermap.com/go/{{{1|Dagudashaag}}}/{{{2|0240}}} map location] from [https://www.travellermap.com Travellermap.com]}}</div></div><noinclude>
+
<div style="font-size: 75%;text-align: center">Jump map from [https://travellermap.com Travellermap.com] {{#tag: ref|"[https://travellermap.com/doc/api#jump-worlds--return-a-list-of-worlds-within-n-parsecs Jump Map API]" and [https://travellermap.com/go/{{{1|Dagudashaag}}}/{{{2|0240}}} map location] from [https://travellermap.com Travellermap.com]}}</div></div><noinclude>
 
[[Category: Templates|JumpMap]]
 
[[Category: Templates|JumpMap]]
 
[[Category:TravellerMap templates]]
 
[[Category:TravellerMap templates]]

Revision as of 11:10, 20 April 2017

This template uses the JumpMap functionality from Traveller Map to render a small map of the space around a given world.

Example: {{JumpMap|<sector>|<hex>}}

The template takes two unnamed parameters:

  1. The sector is the common name of the sector as used by Traveller Map to identify the sectors.
  2. Hex is the hex location with in the sector where the world is located. The puts the identified hex as the center of the map.

The map is sized and placed to fit with in the space allocated for infoboxs, and works with the world articles.