Template:Map Link/Doc

The UESPWiki – Your source for The Elder Scrolls since 1995

Jump to: navigation, search



 #####################
 # Template:Map Link #
 ##########################################################################################
 # This template creates a link to one of UESP's interactive maps for the provided place  #
 # name.  It can be used for the Oblivion, Shivering Isles or Morrowind maps (normally the#
 # namespace where the template is used automatically determines the appropriate map).    #
 #                                                                                        #
 # Usage:                                                                                 #
 #       place = Name of place as shown on UESP's map (typically same as the wiki name    #
 #               of the place).                                                           #
 #               If parameter names are not used, the first parameter is assumed to be the#
 #               place parameter.                                                         #
 #       label = text to display in link.  Defaults to "(map)"                            #
 #               If parameter names are not used, the second parameter is assumed to be   #
 #               the label parameter.                                                     #
 #       zoom  = zoom level to use for link.  Optional.  If not provided, map will use its#
 #               default zoom.                                                            #
 #       ns    = Namespace.  Optional and normally defaults to SUBJECTSPACE where template#
 #               is being used.  To override default namespace or to use template outside #
 #               of standard namespaces, set ns to "Oblivion", "Shivering", or "Morrowind"#
 # Example:                                                                               #
 #       {{Map Link|place=Shetcombe Farm}}                                                #
 #       same as: {{Map Link|Shetcombe Farm}}                                             #
 #             or {{Map Link|place=Shetcombe Farm|ns=Oblivion}}                           #
 #                                                                                        #
 # Option B:                                                                              #
 #   This system uses the location's in-game (x,y) coordinates (for example, taken        #
 #   from the construction set or as displayed in the console).                           #
 #       x     = x coordinate of location - this parameter MUST be named to use this      #
 #               calling system.                                                          #
 #       y     = y coordinate - this parameter also must be named                         #
 #       label = text to display in link.  Defaults to "(map)"                            #
 #               If an unnamed parameter is provided, it is assumed be the label          #
 #       zoom  = as above                                                                 #
 #       ns    = as above                                                                 #
 # Examples:                                                                              #
 #       {{Map Link|x=37643.1|y=22760.8}}                                                 #
 #       {{Map Link|x=37643.1|y=22760.8|label=view on map}}                               #
 #       {{Map Link|x=37643.1|y=22760.8|view on map}}                                     #
 #                                                                                        #
 # Option C:                                                                              #
 #   This system does a search on the provided name instead of centering the map on the   #
 #   provided name.  This is useful when creating a maplink for multiple locations        #
 #   instead of a single location.  The search parameter may be a word common in several  #
 #   place names (e.g., "Wayshrine"), or a term from the location search tags.            #
 #       search = name to use for search.  This parameter MUST be provided to use this    #
 #                calling system.                                                         #
 #       label  = text to display in link.  Defaults to "(map)"                           #
 #                If an unnamed parameter is provided, it is assumed be the label         #
 #       zoom   = as above                                                                #
 #       ns     = as above                                                                #
 # Example:                                                                               #
 #       {{Map Link|search=Daedric Shrine}}                                               #
 ##########################################################################################
Sponsored Links
Personal tools