Template:UF-coord-classes: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing ←Created page with 'By default coordinates are displayed in the format in which they are specified. To always display coordinates as DMS values, add this to [[Special:Mypage/monobook....' |
meta>Pigsonthewing update |
||
| Line 10: | Line 10: | ||
:<code>.geo-default { display: inline } .geo-nondefault { display: inline }<br />.geo-dec { display: inline } .geo-dms { display: inline }<br />.geo-multi-punct { display: inline }</code> | :<code>.geo-default { display: inline } .geo-nondefault { display: inline }<br />.geo-dec { display: inline } .geo-dms { display: inline }<br />.geo-multi-punct { display: inline }</code> | ||
If CSS is disabled, or you have an old copy of [[MediaWiki:Common.css]] cached, you will see both formats. ( | 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].) | ||
See also [[Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates]]. | See also [[Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates]]. | ||
Revision as of 23:34, 3 November 2008
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].)
See also Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates.