This is a documentation subpage for Template:Location map-line. It may contain usage information, categories and other content that is not part of the original template page. |
Example usage
editLatitude
editCode | Result |
---|---|
{{Location map-line |lat=-30}} | |
{{Location map-line |lat=60}} | |
{{Location map-line |lat=0}} | |
{{Location map-line |lat=-90}} | |
{{Location map-line |lat=90}} | |
{{Location map-line |lat=91}} | Error: Out of range. |
Longitude
editCode | Result |
---|---|
{{Location map-line |lon=-50}} | |
{{Location map-line |lon=130}} | |
{{Location map-line |lon=0}} | |
{{Location map-line |lon=180}} | |
{{Location map-line |lon=181}} | Error: Out of range. |
width and caption parameters
editCode | Result |
---|---|
{{Location map-line |lon=0}} | |
{{Location map-line |lon=0 |width=400}} | |
{{Location map-line |lon=0 |caption=Test}} |
No parameters
editCode | 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]}}. |
Both parameters
editCode | Result |
---|---|
{{Location map-line|lat=34|lon=130}} |
Parameters
editThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Location map-line in articles based on its 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 |
Tracking category
editSupporting templates and modules
edit- Template:Location map-line/draw line
- Template:Location map-line/x
- Template:Location map-line/y
- Template:Location map+
- Module:Location map
- Module:Location map/data/Earth