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|0833}}}&jump=3&scale=32&junk=junk.png
 
<div class="va-infobox">http://www.travellermap.com/api/jumpmap?sector={{{1|Dagudashaag}}}&hex={{{2|0833}}}&jump=3&scale=32&junk=junk.png
 
<span style="font-size: 75%;text-align: center">Jump map from [http://www.travellermap.com Travellermap.com]</span></div><noinclude>
 
<span style="font-size: 75%;text-align: center">Jump map from [http://www.travellermap.com Travellermap.com]</span></div><noinclude>
 +
[[Category: Templates|JumpMap]]
  
 +
This template uses the [http://www.travellermap.com/api.htm#jumpmap JumpMap] functionality from Traveller Map to render a small map of the space around a given world.
 +
 +
Example: <nowiki>{{JumpMap|<sector>|<hex>}}</nowiki>
 +
 +
The template takes two unnamed parameters:
 +
# The sector is the common name of the sector as used by Traveller Map to identify the sectors.
 +
# 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.
 
</noinclude>
 
</noinclude>

Revision as of 14:18, 8 September 2013

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.