Template:CoordDec/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Salix alba
simple
(No difference)

Revision as of 08:59, 15 July 2013

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