Template:UF-coord-classes: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing
fmt
meta>Dschwen
specified how? explain.
Line 1: Line 1:
By default coordinates are displayed in the format in which they are specified.
By default coordinates are displayed in the format in which they are specified. The ''display'' parameter allows toggling the coordinate display to either ''inline'' in the text, up near the ''title'' of the page, or both.


To always display coordinates as DMS values, add this to [[Special:Mypage/monobook.css|your monobook.css]]:
To always display coordinates as DMS values, add this to [[Special:Mypage/monobook.css|your monobook.css]]:

Revision as of 17:51, 30 November 2008

By default coordinates are displayed in the format in which they are specified. The display parameter allows toggling the coordinate display to either inline in the text, up near the title of the page, or both.

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.