Difference between revisions of "Module:Location map/data/Japan complete/doc"
Jump to navigation
Jump to search
blackwiki>Frietjes |
blackwiki>Frietjes (copied from Module:Location map/data/Japan/doc) |
||
| Line 1: | Line 1: | ||
{{Module:Location map/data/doc | {{Module:Location map/data/doc | ||
| + | | examples = | ||
| + | {{Location map |Japan complete | ||
| + | |label = Fukuoka | ||
| + | |coordinates = {{coord|33|35|N|130|24|E|display=inline}} | ||
| + | }} | ||
| + | <pre style=width:40em> | ||
| + | {{Location map |Japan complete | ||
| + | |label = Fukuoka | ||
| + | |coordinates = {{coord|33|35|N|130|24|E|display=inline}} | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| + | |||
| + | ==Examples using Infobox settlement== | ||
| + | {{Infobox settlement | ||
| + | |name = Fukuoka | ||
| + | |subdivision_type = Country | ||
| + | |subdivision_name = Japan | ||
| + | |subdivision_type1 = Region | ||
| + | |subdivision_name1 = Kyūshū | ||
| + | |subdivision_type2 = Prefecture | ||
| + | |subdivision_name2 = Fukuoka | ||
| + | |pushpin_map = Japan complete | ||
| + | |coordinates = {{coord|33|35|N|130|24|E|region:JP|display=inline}} | ||
| + | }} | ||
| + | <pre style=width:40em> | ||
| + | {{Infobox settlement | ||
| + | |name = Fukuoka | ||
| + | |subdivision_type = Country | ||
| + | |subdivision_name = Japan | ||
| + | |subdivision_type1 = Region | ||
| + | |subdivision_name1 = Kyūshū | ||
| + | |subdivision_type2 = Prefecture | ||
| + | |subdivision_name2 = Fukuoka | ||
| + | |pushpin_map = Japan complete | ||
| + | |coordinates = {{coord|33|35|N|130|24|E|region:JP|display=inline}} | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| see also = | | see also = | ||
* [[Module:Location map/data/Japan]] | * [[Module:Location map/data/Japan]] | ||
Revision as of 17:19, 1 March 2018
| name | Japan | |||
|---|---|---|---|---|
| border coordinates | ||||
| 47.56 | ||||
| 121.96 | ←↕→ | 151.58 | ||
| 22.95 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Japan location map.svg
| |||
Module:Location map/data/Japan complete is a location map definition used to overlay markers and labels on an equirectangular projection map of Japan. 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 "Japan complete":
{{Location map | Japan complete | ...}}{{Location map many | Japan complete | ...}}{{Location map+ | Japan complete | ...}}{{Location map~ | Japan complete | ...}}
Map definition
name = Japan- Name used in the default map caption
image = Japan location map.svg- The default map image, without "Image:" or "File:"
top = 47.56- Latitude at top edge of map, in decimal degrees
bottom = 22.95- Latitude at bottom edge of map, in decimal degrees
left = 121.96- Longitude at left edge of map, in decimal degrees
right = 151.58- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 29.62 degrees.
- At an image width of 200 pixels, that is 0.1481 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0296 degrees per pixel.
Latitude: from North to South this map definition covers 24.61 degrees.
- At an image height of 200 pixels, that is 0.1231 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0246 degrees per pixel.
Examples using location map templates
Lua error in Module:Location_map at line 399: Malformed coordinates value.
{{Location map |Japan complete
|label = Fukuoka
|coordinates = {{coord|33|35|N|130|24|E|display=inline}}
}}
Examples using Infobox settlement
[[Category:Template:Pagetype with short description]]
Script error: No such module "If empty". | |
|---|---|
| Lua error in Module:Location_map at line 399: Malformed coordinates value. | |
| Coordinates: Lua error: callParserFunction: function "#coordinates" was not found. | |
| Country | Japan |
| Region | Kyūshū |
| Prefecture | Fukuoka |
| Script error: No such module "If empty". | |
| Script error: No such module "If empty". | |
{{Infobox settlement
|name = Fukuoka
|subdivision_type = Country
|subdivision_name = Japan
|subdivision_type1 = Region
|subdivision_name1 = Kyūshū
|subdivision_type2 = Prefecture
|subdivision_name2 = Fukuoka
|pushpin_map = Japan complete
|coordinates = {{coord|33|35|N|130|24|E|region:JP|display=inline}}
}}
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