Template:EB9 Coordinates/doc

From Wikisource
Jump to navigation Jump to search

Purpose[edit]

This template is to simplify entry of properly-formatted geographical coördinates into articles in the Encyclopædia Britannica, 9th Edition.

It employs non-breaking spaces and the proper symbols—°, ′, and ″—for denoting degrees, minutes, and seconds of latitude and longitude.

If latitude (N/S) or longitude (E/W) is specified, it automatically produces the EB’s terminal period and also automatically links to the associated 9th edition Encyclopædia Britannica article. (These are currently blank but will eventually be transcribed. If you prefer not to employ the links, you can use the template for the digits and type the latitude or longitude notation separately.)

In keeping with the style of the 9th edition EB’s font, the numbers are left unchanged.

Usage[edit]

Where all three divisions are used, the formatting is:
{{EB9 Coordinates|degrees|minutes|seconds|N/S/E/W}}

However, only the first term is manditory.
{{EB9 Coordinates|degrees|minutes|N/S/E/W}}
and
{{EB9 Coordinates|degrees|N/S/E/W}}
are both supported.

Examples[edit]

Degrees

{{EB9 Coordinates|1}} produces 1°

{{EB9 Coordinates|1|N}} produces 1° N.

Degrees and Minutes

{{EB9 Coordinates|1|2}} produces 1° 2′

{{EB9 Coordinates|1|2|N}} produces 1° 2′ N.

Degrees, Minutes, and Seconds

{{EB9 Coordinates|1|2|3}} produces 1° 2′ 3″

{{EB9 Coordinates|1|2|3|N}} produces 1° 2′ 3″ N.

{{EB9 Coordinates|1|2|3|S}} produces 1° 2′ 3″ S.

{{EB9 Coordinates|1|2|3|W}} produces 1° 2′ 3″ W.

Note[edit]

The notation for N, S, E, and W must be entered with a single capital letter after the last desired entry and should not include an extra period.

{{EB9 Coordinates|1|2|3|e}} produces 1° 2′ 3″

{{EB9 Coordinates|1|||E}} produces 1°

{{EB9 Coordinates|1|0|0|E}} produces 1° 0′ 0″ E.

{{EB9 Coordinates|1|2|3|E.}} produces 1° 2′ 3″

Shorthand[edit]