Jump to content

Template:Location map-line/doc

From Wikipedia, the free encyclopedia

Example usage

[edit]

Latitude

[edit]
Code Result
{{Location map-line |lat=-30}}
Line across the Earth
30°
30th parallel south
{{Location map-line |lat=60}}
Line across the Earth
60°
60th parallel north
{{Location map-line |lat=0}}
{{Location map-line |lat=-90}}
Line across the Earth
90°
90th parallel south
{{Location map-line |lat=90}}
Line across the Earth
90°
90th parallel north
{{Location map-line |lat=91}} Error: Out of range.

Longitude

[edit]
Code Result
{{Location map-line |lon=-50}}
Line across the Earth
50°
50th meridian west
{{Location map-line |lon=130}}
Line across the Earth
130°
130th meridian east
{{Location map-line |lon=0}}
Line across the Earth
Prime meridian
{{Location map-line |lon=180}}
Line across the Earth
180°
180th meridian
{{Location map-line |lon=181}} Error: Out of range.

width and caption parameters

[edit]
Code Result
{{Location map-line |lon=0}}
Line across the Earth
Prime meridian
{{Location map-line |lon=0 |width=400}}
Line across the Earth
Prime meridian
{{Location map-line |lon=0 |caption=Test}}

No parameters

[edit]
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

[edit]
Code Result
{{Location map-line|lat=34|lon=130}}
Line across the Earth
34°
130th meridian east

Parameters

[edit]
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

[edit]

Supporting templates and modules

[edit]