Template:UF-coord-classes: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Wdchk <code> now has background and border (in certain skins), using it with <br> in multi-line example gives stripes, & borders that vary between lines; here's a cleaner format with <pre> + some custom styling |
meta>Wdchk manual refresh URL: rm http protocol prefix, let user stay with protocol they are using; rm external link icon for internal link |
||
| Line 24: | Line 24: | ||
</pre> | </pre> | ||
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: | 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: {{Plain link|url=//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/common.js|your common.js]]: | To disable display of the blue globe adjacent to coordinates, add this to [[Special:Mypage/common.js|your common.js]]: | ||
Revision as of 02:34, 12 September 2015
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.