Difference between revisions of "Template:JumpMap"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 1: Line 1:
 
<div class="va-infobox">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">http://www.travellermap.com/api/jumpmap?sector={{{1|Dagudashaag}}}&hex={{{2|0240}}}&options=8451&jump=3&scale=32&junk=junk.png
<span style="font-size: 75%;text-align: center">Jump map from [https://www.travellermap.com Travellermap.com]<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}}}&hex={{{2|0240}}} map location] from [https://www.travellermap.com Travellermap.com]</ref></span></div><noinclude>
+
<span style="font-size: 75%;text-align: center">Jump map from [https://www.travellermap.com Travellermap.com]<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]</ref></span></div><noinclude>
 
[[Category: Templates|JumpMap]]
 
[[Category: Templates|JumpMap]]
 
[[Category:TravellerMap templates]]
 
[[Category:TravellerMap templates]]

Revision as of 14:33, 14 November 2015

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.