Fyrimynd:Koord/leinkja

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search

{{{dms-lat}}} {{{dms-long}}} / Feilur í frágreiðing: Ókend teknseting "{". Feilur í frágreiðing: Ókend teknseting "{". / {{{dec-lat}}}; {{{dec-long}}}

[view] [edit]Template-info.svg Template documentation

Henda fyrimyndin, {{Koord/leinkja}}, verður brúkt av {{Koord}}.

Dømi[rætta wikitekst]

{{koord|10|N|30|V}}10°00′00″N 30°00′00″V / 10°N 30°V / 10; -30
{{koord|10|11|N|30|31|V}}10°11′N 30°31′V / Feilur í málbering: Óvæntaður < operatorur. Feilur í málbering: Óvæntaður < operatorur. / Feilur í málbering: Óvæntaður < operatorur.; Feilur í málbering: Óvæntaður < operatorur.
{{koord|10|11|12|N|30|31|32|V}}10°11′12″N 30°31′32″V / Feilur í málbering: Óvæntaður < operatorur. Feilur í málbering: Óvæntaður < operatorur. / Feilur í málbering: Óvæntaður < operatorur.; Feilur í málbering: Óvæntaður < operatorur.[[Bólkur:Feilur í málbering: Óvæntaður < operatorur.|Koord/leinkja]][[Bólkur:Feilur í málbering: Óvæntaður < operatorur.|Koord/leinkja]]

Notes on classes[rætta wikitekst]

Note: the span classes "geo-default", "geo-dec", and "geo-dms" are defined at http://en.wikipedia.org/wiki/MediaWiki:Common.css.

In addition, "geo" and the nested "latitude" and "longitude" have special meaning as a Geo microformat and so might also be used by other templates; see also http://microformats.org/wiki/geo.

Vís[rætta wikitekst]

To always display coordinates as DMS values, add this to your common.css:

.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: none }
.geo-dms { display: inline }

To always display coordinates as decimal values, add this to your common.css:

.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: inline }
.geo-dms { display: none }

To display coordinates in both formats, add this to your common.css:

.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: inline }
.geo-dms { display: inline }
.geo-multi-punct { display: inline }

If CSS is disabled, or you have an old copy of MediaWiki:Common.css cached, you will see both formats. (You can either clear your cache or manually refresh this URL: [1].)

To disable display of the blue globe adjacent to coordinates, add this to your common.js

var wma_settings = {enabled:false}

Note that this will disable WikiMiniAtlas

See also en:Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates.