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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update list of templates and modules used, add category)
imported>Zyxw
(add examples using width and caption parameters)
Line 27: Line 27:
 
  | <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 |lon=181}}</nowiki> | {{Location map-line |lon=181}}
 
  | <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}}
 
}}
 
}}
  

Revision as of 05:15, 29 November 2018

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