Difference between revisions of "Template:UF-coord-classes"
Jump to navigation
Jump to search
en>Wdchk (manual refresh URL: rm http protocol prefix, let user stay with protocol they are using; rm external link icon for internal link) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 30: | Line 30: | ||
var wma_settings = {enabled:false} | var wma_settings = {enabled:false} | ||
</pre> | </pre> | ||
− | Note that this will disable [[meta:WikiMiniAtlas|WikiMiniAtlas]]. | + | Note that this will disable [[Wikipedia:meta:WikiMiniAtlas|WikiMiniAtlas]]. |
See also [[Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates]].<noinclude> | See also [[Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates]].<noinclude> |
Latest revision as of 00:00, 3 January 2019
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 Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates.