Template:Location map-line
From HandWiki
Example usage
Latitude
Code | Result |
---|---|
{{Location map-line |lat=-30}} | 30th parallel south |
{{Location map-line |lat=60}} | 60th parallel north |
{{Location map-line |lat=0}} | Equator |
{{Location map-line |lat=-90}} | 90th parallel south |
{{Location map-line |lat=90}} | 90th parallel north |
{{Location map-line |lat=91}} | Error: Out of range. |
Longitude
Code | Result |
---|---|
{{Location map-line |lon=-50}} | 50th meridian west |
{{Location map-line |lon=130}} | 130th meridian east |
{{Location map-line |lon=0}} | Prime Meridian |
{{Location map-line |lon=180}} | 180th meridian |
{{Location map-line |lon=181}} | Error: Out of range. |
width and caption parameters
Code | Result |
---|---|
{{Location map-line |lon=0}} | Prime Meridian |
{{Location map-line |lon=0 |width=400}} | Prime Meridian |
{{Location map-line |lon=0 |caption=Test}} | Test |
No parameters
Code | Result |
---|---|
{{Location map-line}} | WARNING You are using the {{location map-line}} template without proper parameters. If the text {{location map-line}} appears in the wiki markup, this is not the proper use of the location map-line template. Replace {{location map-line}} with {{location map-line|lat=[latitude]}} or {{location map-line|lon=[longitude]}}. |
Parameters
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for Location map-line
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
lat | lat | no description | Unknown | optional |
lon | lon | no description | Unknown | optional |
width | width | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |