Template:CoordDec/doc

From Zoophilia Wiki
Revision as of 08:59, 15 July 2013 by meta>Salix alba (simple)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.

Template parameters

ParameterDescriptionTypeStatus
Latitude1

The latitude in decimal format with negative for south eg -79.38.

Numberrequired
Longitude2

The longitude in decimal format, negative for west eg -79.38.

Numberrequired
Displaydisplay

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

Stringoptional