Changes
Jump to navigation
Jump to search
Template:UF-coord-classes (view source)
Revision as of 08:04, 12 September 2015
, 08:04, 12 September 2015manual refresh URL: rm http protocol prefix, let user stay with protocol they are using; rm external link icon for internal link
To always display coordinates as DMS values, add this to [[Special:Mypage/common.css|your common.css]]:
<pre style="display:table; padding:0.5em; margin-left:1em; border-radius:2px">
.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: none }
.geo-dms { display: inline }
</pre>
To always display coordinates as decimal values, add this to [[Special:Mypage/common.css|your common.css]]:
<pre style="display:table; padding:0.5em; margin-left:1em; border-radius:2px">
.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: inline }
.geo-dms { display: none }
</pre>
To display coordinates in both formats, add this to [[Special:Mypage/common.css|your common.css]]:
<pre style="display:table; padding:0.5em; margin-left:1em; border-radius:2px">
.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: inline }
.geo-dms { display: inline }
.geo-multi-punct { display: inline }
</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: {{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]]:
<pre style="display:table; padding:0.5em; margin-left:1em; border-radius:2px">
var wma_settings = {enabled:false}
</pre>
Note that this will disable [[meta:WikiMiniAtlas|WikiMiniAtlas]].
See also [[Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates]].<noinclude>
[[Category:Coord template]]
[[Category:Microformat (uF) message templates]]
[[Category:WikiProject Geographical coordinates|τ]]
</noinclude>
<pre style="display:table; padding:0.5em; margin-left:1em; border-radius:2px">
.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: none }
.geo-dms { display: inline }
</pre>
To always display coordinates as decimal values, add this to [[Special:Mypage/common.css|your common.css]]:
<pre style="display:table; padding:0.5em; margin-left:1em; border-radius:2px">
.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: inline }
.geo-dms { display: none }
</pre>
To display coordinates in both formats, add this to [[Special:Mypage/common.css|your common.css]]:
<pre style="display:table; padding:0.5em; margin-left:1em; border-radius:2px">
.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: inline }
.geo-dms { display: inline }
.geo-multi-punct { display: inline }
</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: {{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]]:
<pre style="display:table; padding:0.5em; margin-left:1em; border-radius:2px">
var wma_settings = {enabled:false}
</pre>
Note that this will disable [[meta:WikiMiniAtlas|WikiMiniAtlas]].
See also [[Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates]].<noinclude>
[[Category:Coord template]]
[[Category:Microformat (uF) message templates]]
[[Category:WikiProject Geographical coordinates|τ]]
</noinclude>