Template:UF-coord-classes: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing cats |
meta>Voice of Clam Add code for disabling blue globe and wikiminiatlas |
||
| Line 11: | Line 11: | ||
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: [http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400].) | 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: [http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400].) | ||
To disable display of the blue globe adjacent to coordinates, add this to [[Special:Mypage/monobook.js|your monobook.js]] | |||
:<code>var wma_settings = {enabled:false}</code> | |||
Note that this will disable [[meta:WikiMiniAtlas|WikiMiniAtlas]] | |||
See also [[Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates]]. | See also [[Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates]]. | ||
<noinclude> | <noinclude> | ||
[[Category: WikiProject Geographical coordinates]] | [[Category: WikiProject Geographical coordinates]] | ||
[[Category: Coord template]] | [[Category: Coord template]] | ||
</noinclude> | </noinclude> | ||
Revision as of 16:01, 21 January 2009
By default coordinates are displayed in the format in which they are specified.
To always display coordinates as DMS values, add this to your monobook.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 monobook.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 monobook.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 monobook.js
var wma_settings = {enabled:false}
Note that this will disable WikiMiniAtlas
See also Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates.