Template:Map Link/Doc

From Starfield Wiki
Jump to: navigation, search

Summary[edit]

This template creates a link to one of Starfield Wiki's interactive maps for the provided location.

Parameters[edit]

There are three main options available for this template:

  • Map Only – Links directly to the map with no location specified.
  • System - links directly to the system specified.
  • Place – Links to a place on the map.
  • X,Y – Links to the location's in-game (x,y) coordinates (for example, taken from the construction set or as displayed in the console).
Map Link
Parameter Scope Description
All
label or
1
optional Text to display in link. Defaults to "(map)". If a place or x/y parameters are explicitly defined, then the first unnamed parameter is the label. Otherwise, the first unnamed parameter is the place and the second, if any, is the label.
search optional You can optionally specify a search to perform at the given location or for the entire map. This is useful when creating a map link for multiple locations or when you want to highlight a specific item near another location. The search parameter may be a word common in several place names (e.g., "Wayshrine"), or a term from the location search tags.
zoom optional Zoom level to use for link. If not provided, map will use its default zoom.
system or
world
optional The system to use for the map. This can either be the full text name (e.g., "Alpha Centauri") or the compressed name used in the URL (e.g., "alphacentauri"). Defaults to "galaxy".

The "world" parameter name is to match the URL on the maps themselves. In most cases, however, "system" is the logically correct name, thus both are allowed.

Map Only
No additional parameters. You must use a name for the label parameter in Map Only mode or it will be interpreted as a place.
System
No additional parameters. You must use a name for the system parameter in System mode or it will be interpreted as a place.
Place
place required Name of place as shown on UESP's map (typically same as the wiki name of the place). The first unnamed parameter is assumed to be the place parameter if neither place nor x/y parameters are specified explicitly.
For ESO: If numerous place markers have the same name, the locationId can be used
X,Y
x
y
required X- and Y-coordinates of location. These parameters must be named to use this option.
world optional worldId, name, or displayName

Examples[edit]

Code Link
Map Only
{{Map Link|label=Starfield Map}}
Starfield Map
System
{{Map Link|system=Alpha Centauri}} or
{{Map Link|system=alphacentauri}}
(map)
Place
{{Map Link|Alpha Centauri}} or
{{Map Link|place=Alpha Centauri}}
(map)
(Click to see the difference between this link and the one above.)
X,Y
{{Map Link|x=340|y=447|system=alphacentauri|zoom=3.735|label=lower left quadrant}}
lower left quadrant
Search
{{Map Link|search=alpha|label=search for "alpha"}}
search for "alpha"