Difference between revisions of "Template:Location map-line/doc"

From blackwiki
Jump to navigation Jump to search
imported>Peterwhy
m (+cat)
imported>Vanisaac
m (→‎Supporting templates and modules: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
  
=== Usage ===
+
== Example usage ==
{| class="wikitable"
+
 
|-
+
=== Latitude ===
! code
+
{{Aligned table
! result
+
|class=wikitable |colstyle=vertical-align:middle;
|-
+
|col1style=padding-left:1.0em;font-family:monospace;padding-right:1.0em;white-space:nowrap;
| <nowiki>{{Location map-line|lon=-50}}</nowiki>
+
|row1header=on| {{sans-serif|Code}} | Result
| {{Location map-line|lon=-50}}
+
| <nowiki>{{Location map-line |lat=-30}}</nowiki> | {{Location map-line |lat=-30}}
|-
+
| <nowiki>{{Location map-line |lat=60}}</nowiki>  | {{Location map-line |lat=60}}
| <nowiki>{{Location map-line|lon=130}}</nowiki>
+
| <nowiki>{{Location map-line |lat=0}}</nowiki>  | {{Location map-line |lat=0}}
| {{Location map-line|lon=130}}
+
| <nowiki>{{Location map-line |lat=-90}}</nowiki> | {{Location map-line |lat=-90}}
|-
+
| <nowiki>{{Location map-line |lat=90}}</nowiki>  | {{Location map-line |lat=90}}
| <nowiki>{{Location map-line|lat=-30}}</nowiki>  
+
| <nowiki>{{Location map-line |lat=91}}</nowiki> | {{Location map-line |lat=91}}
| {{Location map-line|lat=-30}}
+
}}
|-
+
 
| <nowiki>{{Location map-line|lat=60}}</nowiki>  
+
=== Longitude ===
| {{Location map-line|lat=60}}
+
{{Aligned table
|}
+
|class=wikitable |colstyle=vertical-align:middle;
=== See also ===
+
|col1style=padding-left:1.0em;font-family:monospace;padding-right:1.0em;white-space:nowrap;
<includeonly>
+
|row1header=on| {{sans-serif|Code}} | Result
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
| <nowiki>{{Location map-line |lon=-50}}</nowiki> | {{Location map-line |lon=-50}}
 +
| <nowiki>{{Location map-line |lon=130}}</nowiki> | {{Location map-line |lon=130}}
 +
| <nowiki>{{Location map-line |lon=0}}</nowiki> | {{Location map-line |lon=0}}
 +
| <nowiki>{{Location map-line |lon=180}}</nowiki> | {{Location map-line |lon=180}}
 +
| <nowiki>{{Location map-line |lon=181}}</nowiki> | {{Location map-line |lon=181}}
 +
}}
 +
 
 +
=== width and caption parameters ===
 +
{{Aligned table
 +
|class=wikitable |colstyle=vertical-align:middle;
 +
|col1style=padding-left:1.0em;font-family:monospace;padding-right:1.0em;white-space:nowrap;
 +
|row1header=on| {{sans-serif|Code}} | Result
 +
| <nowiki>{{Location map-line |lon=0}}</nowiki> | {{Location map-line |lon=0}}
 +
| <nowiki>{{Location map-line |lon=0 |width=400}}</nowiki> | {{Location map-line |lon=0 |width=400}}
 +
| <nowiki>{{Location map-line |lon=0 |caption=Test}}</nowiki> | {{Location map-line |lon=0 |caption=Test}}
 +
}}
 +
 
 +
=== No parameters ===
 +
{{Aligned table
 +
|class=wikitable |colstyle=vertical-align:middle;
 +
|col1style=padding-left:1.0em;font-family:monospace;padding-right:1.0em;white-space:nowrap;
 +
|row1header=on| {{sans-serif|Code}} | Result
 +
| <nowiki>{{Location map-line}}</nowiki> | {{Location map-line}}
 +
}}
 +
 
 +
== Parameters ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"lat": {},
 +
"lon": {},
 +
"width": {},
 +
"caption": {}
 +
}
 +
}
 +
</templatedata>
 +
 
 +
== Tracking category ==
 +
* {{clc|Articles using the location map-line template incorrectly}}
 +
 
 +
== Supporting templates and modules ==
 +
* [[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]]
 +
 
 +
<includeonly>{{Sandbox other|
 +
| <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: -->
 
[[Category:Location map templates| ]]
 
[[Category:Location map templates| ]]
[[Category:Graphic templates]]
+
[[Category:Map formatting and function templates]]
[[Category:Mapping templates]]
+
[[Category:Templates that add a tracking category]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
+
}}</includeonly>
 
 
[[ko:틀:위치 지도-선]]
 
[[mk:Шаблон:ПозКарта-линија]]
 
[[pt:Predefinição:Location map-line]]
 
[[ru:Шаблон:ПозКарта-линия]]
 
</includeonly>
 

Latest revision as of 00:13, 26 April 2020

Example usage

Latitude

Script error: No such module "aligned table".

Longitude

Script error: No such module "aligned table".

width and caption parameters

Script error: No such module "aligned table".

No parameters

Script error: No such module "aligned table".

Parameters

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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