ಟೆಂಪ್ಲೇಟು:Location map New Zealand/doc

ವಿಕಿಪೀಡಿಯದಿಂದ, ಇದು ಮುಕ್ತ ಹಾಗೂ ಸ್ವತಂತ್ರ ವಿಶ್ವಕೋಶ
Map of New Zealand

Template:Location map New Zealand is a location map definition used to overlay markers and labels on an equirectangular projection map of New Zealand. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage[ಬದಲಾಯಿಸಿ]

These definitions are used by the following templates when invoked with parameter "New Zealand":

Map definition[ಬದಲಾಯಿಸಿ]

  • name = New Zealand
    Name used in the default map caption
  • bottom = -48.3
    Latitude at bottom edge of map, in decimal degrees
  • left = 165.8
    Longitude at left edge of map, in decimal degrees
  • right = 179.4
    Longitude at right edge of map, in decimal degrees
  • mark = Disc Plain red.svg (Disc Plain red.svg)
    The default mark image to display with this map. This can be overridden by the mark parameter in Template:Location map, which would otherwise default to Red pog.svg ().
  • marksize = 5
    The default mark size (in pixels) for the mark image displayed with this map (should not include px, for example marksize=5, not marksize=5px). This can be overridden by the marksize parameter in Template:Location map, which would otherwise default to 8.

Alternative map

The map defined as image1 (New Zealand relief map.jpg) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using location map templates[ಬದಲಾಯಿಸಿ]

Location map, using default map (image)[ಬದಲಾಯಿಸಿ]

Lua error in ಮಾಡ್ಯೂಲ್:Location_map at line 525: Unable to find the specified location map definition: "ಮಾಡ್ಯೂಲ್:Location map/data/New Zealand" does not exist.

{{Location map | New Zealand
| width   = 250
| lat_deg = -41.29
| lon_deg = 174.78
| label   = Wellington
}}

Location map many, using relief map (image1)[ಬದಲಾಯಿಸಿ]

Lua error in ಮಾಡ್ಯೂಲ್:Location_map/multi at line 143: Unable to find the specified location map definition: "ಮಾಡ್ಯೂಲ್:Location map/data/New Zealand" does not exist.

{{Location map many | New Zealand
| relief   = yes
| width    = 250
| caption  = Three locations in New Zealand
| lat1_deg = -41.29
| lon1_deg = 174.78
| label1   = Wellington
| lat2_deg = -36.84
| lon2_deg = 174.74
| label2   = Auckland
| lat3_deg = -46.43
| lon3_deg = 168.31
| label3   = Invercargill
}}

Location map+, using AlternativeMap[ಬದಲಾಯಿಸಿ]

Lua error in ಮಾಡ್ಯೂಲ್:Location_map/multi at line 27: Unable to find the specified location map definition: "ಮಾಡ್ಯೂಲ್:Location map/data/New Zealand" does not exist.

{{Location map+ | New Zealand
| AlternativeMap = New Zealand relief map.jpg
| width   = 250
| caption = Three locations in New Zealand
| places  =
  {{Location map~ | New Zealand
  | lat_deg = -41.29
  | lon_deg = 174.78
  | label   = Wellington
  }}
  {{Location map~ | New Zealand
  | lat_deg = -36.84
  | lon_deg = 174.74
  | label   = Auckland
  }}
  {{Location map~ | New Zealand
  | lat_deg = -46.43
  | lon_deg = 168.31
  | label   = Invercargill
  }}
}}

See also[ಬದಲಾಯಿಸಿ]

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List