Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Example usage

Latitude

Code Result
{{Location map-line |lat=-30}} Template:Location map+
{{Location map-line |lat=60}} Template:Location map+
{{Location map-line |lat=0}} Template:Location map+
{{Location map-line |lat=-90}} Template:Location map+
{{Location map-line |lat=90}} Template:Location map+
{{Location map-line |lat=91}} Error: Out of range.

Longitude

Code Result
{{Location map-line |lon=-50}} Template:Location map+
{{Location map-line |lon=130}} Template:Location map+
{{Location map-line |lon=0}} Template:Location map+
{{Location map-line |lon=180}} Template:Location map+
{{Location map-line |lon=181}} Error: Out of range.

width and caption parameters

Code Result
{{Location map-line |lon=0}} Template:Location map+
{{Location map-line |lon=0 |width=400}} Template:Location map+
{{Location map-line |lon=0 |caption=Test}} Template:Location map+

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]}}.

Both parameters

Code Result
{{Location map-line|lat=34|lon=130}} Template:Location map+

Parameters

This 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.

Template parameters

ParameterDescriptionTypeStatus
latlat

no description

Unknownoptional
lonlon

no description

Unknownoptional
widthwidth

no description

Unknownoptional
captioncaption

no description

Unknownoptional

Tracking category

Supporting templates and modules