Template:CoordDec/doc
A coordinate template where the latitude and longitude are specified by signed decimal numbers.
Usage
{{coordDec| ''decimal latitude'' | ''decimal longitude'' | display=inline,title}}
Example
{{coordDec| -41.289 | 174.777 | display=inline}}
gives Lua error: callParserFunction: function "#coordinates" was not found.{{#coordinates: -41.289 | 174.777|dim=|globe=|scale=|region=|type=
|
|name=
}}
Template Data
Encodes the decimal latitude and longitude coordinates of a location, provides a link to a map of the location.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Latitude | 1 | The latitude in decimal format with negative for south eg -79.38. | Number | required |
Longitude | 2 | The longitude in decimal format, negative for west eg -79.38. | Number | required |
Display | display | Where it is displayed. Can be one of: 'inline' in the body of the article (default), 'title' at the top of the article or 'inline,title' both | String | optional |