Difference between revisions of "Template:Location map-line/doc"
Jump to navigation
Jump to search
imported>Zyxw (update examples) |
imported>Zyxw (update examples, add links to tracking category and supporting templates) |
||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> | ||
| − | + | == Example usage == | |
| + | |||
| + | === Latitude === | ||
| + | {{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 |lat=-30}}</nowiki> | {{Location map-line |lat=-30}} | ||
| + | | <nowiki>{{Location map-line |lat=60}}</nowiki> | {{Location map-line |lat=60}} | ||
| + | | <nowiki>{{Location map-line |lat=0}}</nowiki> | {{Location map-line |lat=0}} | ||
| + | | <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=91}}</nowiki> | {{Location map-line |lat=91}} | ||
| + | }} | ||
| + | |||
| + | === Longitude === | ||
{{Aligned table | {{Aligned table | ||
|class=wikitable |colstyle=vertical-align:middle; | |class=wikitable |colstyle=vertical-align:middle; | ||
| − | |col1style=padding-left:1.0em;font-family:monospace;padding-right:1.0em; | + | |col1style=padding-left:1.0em;font-family:monospace;padding-right:1.0em;white-space:nowrap; |
|row1header=on| {{sans-serif|Code}} | Result | |row1header=on| {{sans-serif|Code}} | Result | ||
| <nowiki>{{Location map-line |lon=-50}}</nowiki> | {{Location map-line |lon=-50}} | | <nowiki>{{Location map-line |lon=-50}}</nowiki> | {{Location map-line |lon=-50}} | ||
| Line 11: | Line 26: | ||
| <nowiki>{{Location map-line |lon=0}}</nowiki> | {{Location map-line |lon=0}} | | <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=180}}</nowiki> | {{Location map-line |lon=180}} | ||
| − | | <nowiki>{{Location map-line | | + | | <nowiki>{{Location map-line |lon=181}}</nowiki> | {{Location map-line |lon=181}} |
| − | | | + | }} |
| − | | <nowiki>{{Location map-line | + | |
| + | === 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> | <templatedata> | ||
{ | { | ||
| Line 27: | Line 49: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| + | |||
| + | == Tracking category == | ||
| + | * {{clc|Articles using the location map-line template incorrectly}} | ||
| + | |||
| + | == Supporting templates == | ||
| + | * {{tl|Location map+}} | ||
| + | * {{tl|Location map-line/draw line}} | ||
| + | |||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | ||
| <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: --> | | <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: --> | ||
Revision as of 02:26, 29 November 2018
| 40px | This is a documentation subpage for Template:Location map-line. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Example usage
Latitude
Script error: No such module "aligned table".
Longitude
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.
| 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
Supporting templates