Difference between revisions of "Module:Location map/data/New Zealand transparent/doc"
Jump to navigation
Jump to search
blackwiki>Frietjes m (Frietjes moved page Template:Location map New Zealand transparent to Module:Location map/data/New Zealand transparent/doc: preserve history for attribution after merge with the module) |
blackwiki>Frietjes |
||
| Line 1: | Line 1: | ||
| − | + | <!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata --> | |
| − | + | {{Module:Location map/data/doc | |
| − | + | |examples= | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{Location map/ | ||
| − | |||
| − | |||
| − | |||
===Standard version=== | ===Standard version=== | ||
{{Location map | {{Location map | ||
| Line 24: | Line 13: | ||
|caption= | |caption= | ||
}} | }} | ||
| − | + | ||
| − | + | <pre style="overflow:auto; width:30em;"> | |
| − | |||
| − | |||
{{Location map | {{Location map | ||
|New Zealand transparent | |New Zealand transparent | ||
| Line 38: | Line 25: | ||
|caption= | |caption= | ||
}} | }} | ||
| − | </pre> | + | </pre>{{clear}} |
| − | |||
| − | |||
===Standard version with coloured background=== | ===Standard version with coloured background=== | ||
| − | + | <div style="width:160px; background:#E0FFFF; float:right;" border="0">{{Location map | |
| − | |||
| − | |||
|New Zealand transparent | |New Zealand transparent | ||
|label=Kumara | |label=Kumara | ||
| Line 54: | Line 37: | ||
|float=right | |float=right | ||
|caption= | |caption= | ||
| − | }} | + | }}</div> |
| − | + | <pre style="overflow:auto; width:30em;"> | |
| − | + | <div style="width:160px; background:#E0FFFF; float:right;" border="0">{{Location map | |
| − | |||
| − | |||
| − | < | ||
| − | |||
| − | |||
| − | |||
|New Zealand transparent | |New Zealand transparent | ||
|label=Kumara | |label=Kumara | ||
| Line 71: | Line 48: | ||
|float=right | |float=right | ||
|caption= | |caption= | ||
| − | } | + | }}</div></pre> |
| − | |||
| − | |||
| − | < | ||
===Long placename on East Coast=== | ===Long placename on East Coast=== | ||
| − | + | {{Location map | |
| − | |||
| − | |||
|New Zealand transparent | |New Zealand transparent | ||
|label=Maungakotukutuku | |label=Maungakotukutuku | ||
|lat_dir=S | lat_deg=40 | lat_min=57 | |lat_dir=S | lat_deg=40 | lat_min=57 | ||
|lon_dir=E | lon_deg=175 | lon_min=1 | |lon_dir=E | lon_deg=175 | lon_min=1 | ||
| − | |||
|width= 150 | |width= 150 | ||
|float=left | |float=left | ||
|caption= | |caption= | ||
}} | }} | ||
| − | + | <pre style="overflow:auto; width:30em; margin-left:1em;"> | |
| − | + | {{Location map | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|New Zealand transparent | |New Zealand transparent | ||
|label=Maungakotukutuku | |label=Maungakotukutuku | ||
|lat_dir=S | lat_deg=40 | lat_min=57 | |lat_dir=S | lat_deg=40 | lat_min=57 | ||
|lon_dir=E | lon_deg=175 | lon_min=1 | |lon_dir=E | lon_deg=175 | lon_min=1 | ||
| − | |||
|width= 150 | |width= 150 | ||
|float=left | |float=left | ||
|caption= | |caption= | ||
}} | }} | ||
| − | + | </pre> | |
| − | + | {{clear}} | |
| − | |||
| − | |||
===Large version=== | ===Large version=== | ||
{{Location map | {{Location map | ||
| Line 123: | Line 85: | ||
|caption= | |caption= | ||
}} | }} | ||
| − | + | <pre style="overflow:auto; width:30em;"> | |
| − | |||
| − | |||
| − | |||
{{Location map | {{Location map | ||
|New Zealand transparent | |New Zealand transparent | ||
| Line 140: | Line 99: | ||
}} | }} | ||
</pre> | </pre> | ||
| − | + | {{clear}} | |
| − | |||
===Multiple locations=== | ===Multiple locations=== | ||
{{Location map+|New Zealand transparent|width=150|caption=|border=none|places= | {{Location map+|New Zealand transparent|width=150|caption=|border=none|places= | ||
| Line 148: | Line 106: | ||
{{Location map~|New Zealand transparent|label_size=75|marksize=5|lat=-43.53|long=172.620278|position=right|label=Christchurch}} | {{Location map~|New Zealand transparent|label_size=75|marksize=5|lat=-43.53|long=172.620278|position=right|label=Christchurch}} | ||
}} | }} | ||
| − | + | <pre style="overflow:auto; width:70em;"> | |
| − | |||
| − | |||
| − | |||
{{Location map+|New Zealand transparent|width=150|caption=|border=none|places= | {{Location map+|New Zealand transparent|width=150|caption=|border=none|places= | ||
{{Location map~|New Zealand transparent|label_size=90|marksize=7|lat=-36.85|long=174.783333|position=left|label=Auckland}} | {{Location map~|New Zealand transparent|label_size=90|marksize=7|lat=-36.85|long=174.783333|position=left|label=Auckland}} | ||
| Line 158: | Line 113: | ||
}} | }} | ||
</pre> | </pre> | ||
| − | | | + | | see also = |
| − | + | * [[Module:Location map/data/New Zealand]] | |
| + | }}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
| + | <!-- Categories below this line; interwikis at Wikidata --> | ||
[[Category:New Zealand location map templates]] | [[Category:New Zealand location map templates]] | ||
| − | </ | + | }}</includeonly> |
Revision as of 15:37, 11 April 2018
| name | New Zealand | |||
|---|---|---|---|---|
| border coordinates | ||||
| -34 | ||||
| 165.8 | ←↕→ | 179.4 | ||
| -48.3 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | New Zealand location map transparent.svg
| |||
| 400x400px | ||||
| mark | Disc Plain red.svg
| |||
| marksize | 5 | |||
Module:Location map/data/New Zealand transparent 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.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "New Zealand transparent":
{{Location map | New Zealand transparent | ...}}{{Location map many | New Zealand transparent | ...}}{{Location map+ | New Zealand transparent | ...}}{{Location map~ | New Zealand transparent | ...}}
Map definition
name = New Zealand- Name used in the default map caption
image = New Zealand location map transparent.svg- The default map image, without "Image:" or "File:"
top = -34- Latitude at top edge of map, in decimal degrees
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 (
)- The default mark image to display with this map. This can be overridden by the
markparameter in Template:Location map, which would otherwise default to Red pog.svg (
).
- The default mark image to display with this map. This can be overridden by the
marksize = 5- The default mark size (in pixels) for the mark image displayed with this map (should not include
px, for examplemarksize=5, notmarksize=5px). This can be overridden by themarksizeparameter in Template:Location map, which would otherwise default to 8.
- The default mark size (in pixels) for the mark image displayed with this map (should not include
Precision
Longitude: from West to East this map definition covers 13.6 degrees.
- At an image width of 200 pixels, that is 0.068 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0136 degrees per pixel.
Latitude: from North to South this map definition covers 14.3 degrees.
- At an image height of 200 pixels, that is 0.0715 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0143 degrees per pixel.
Examples using location map templates
Standard version
{{Location map
|New Zealand transparent
|label=Kumara
|lat_dir=S | lat_deg=42 | lat_min=38
|lon_dir=E | lon_deg=171 | lon_min=11
|position=left
|width= 150
|float=right
|caption=
}}
Standard version with coloured background
<div style="width:160px; background:#E0FFFF; float:right;" border="0">{{Location map
|New Zealand transparent
|label=Kumara
|lat_dir=S | lat_deg=42 | lat_min=38
|lon_dir=E | lon_deg=171 | lon_min=11
|position=left
|width= 150
|float=right
|caption=
}}</div>
Long placename on East Coast
Maungakotukutuku is located in New Zealand
Maungakotukutuku
{{Location map
|New Zealand transparent
|label=Maungakotukutuku
|lat_dir=S | lat_deg=40 | lat_min=57
|lon_dir=E | lon_deg=175 | lon_min=1
|width= 150
|float=left
|caption=
}}
Large version
{{Location map
|New Zealand transparent
|label=Kinloch
|label_size=150
|marksize=9
|lat_dir=S | lat_deg=38 | lat_min=39
|lon_dir=E | lon_deg=175 | lon_min=55
|position=left
|width= 250
|float=right
|caption=
}}
Multiple locations
Location map/data/New Zealand transparent/doc is located in New Zealand
Auckland
WELLINGTON
Christchurch
{{Location map+|New Zealand transparent|width=150|caption=|border=none|places=
{{Location map~|New Zealand transparent|label_size=90|marksize=7|lat=-36.85|long=174.783333|position=left|label=Auckland}}
{{Location map~|New Zealand transparent|label_size=85|marksize=5|lat=-41.288889|long=174.777222|position=left|label=WELLINGTON}}
{{Location map~|New Zealand transparent|label_size=75|marksize=5|lat=-43.53|long=172.620278|position=right|label=Christchurch}}
}}
See also
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels