Үлгі:Coor/doc

Уикипедия — ашық энциклопедиясынан алынған мәлімет
Навигацияға өту Іздеуге өту

Usage[қайнарын өңдеу]

This template produces a link to a list of map sources, based on the geographical coordinates and other parameters, concatenated into one template parameter. The other template parameter is the link label.

Use:

{{coor|cc|tt}}

Where:

  • cc is the coordinate written in the format required by the Special:Mapsources page. For example, for the coordinate 59° 55′ N 10° 44′ E, use: 59_55_N_10_44_E.
  • tt is the text appearing in the link

Implementation details[қайнарын өңдеу]

Geo tag[қайнарын өңдеу]

To define a geographical point, the Mediawiki gis extension is required. For further information, see the Mediawiki documentation.

NOTE: This extension is available, but is currently not enabled for Wikipedia. The functionality is thus currently only available via the template:coor family, which is an interim solution, e.g.
On the surface of the earth, 1 minute of arc of latitude corresponds to 1.0 nautical mile or 1.852 kilometer, whereas, 1 arc second of latitude corresponds to 30.8667 meters (101.269 ft). Because of the numerical equivalence of minute of arc and nautical mile measures, many people find minutes, in degree-minute (dm) format easier to comprehend than arc seconds in degree-minute-second (dms) format, e.g., for navigation.

The geo tag specifies the coordinates as degrees/minutes/seconds of latitude and longitude, like this:

<geo>48 46 36 N 121 48 51 W</geo>.

In the finished article, the tag will appear as 48°46′36″N, 121°48′51″W. Seconds, or minutes and seconds, may be omitted. Optionally, the precision of the smallest unit used may be increased using decimals.

Parameters[қайнарын өңдеу]

Following the geographical coordinate, further parameters can optionally be supplied, separated by underscores. This will help in finding suitable map resources, and will become more important when the Wikimaps become fully functional.

type:T[қайнарын өңдеу]

Sets the type of this location, which will be used for the reverse mapping of the points. Will also set the default map scale. Types are:

country (e.g. "type:country") 1:10,000,000
state Where applicable 1:3,000,000
adm1st Administrative unit of country, 1st level (province, county) 1:1,000,000
adm2nd Administrative unit of country, 2nd level 1:300,000
city(pop) City, town or village with specified population. Commas will be ignored in pop. There should be no blanks. 1:30,000 ... 1:300,000
city City, town or village, unspecified population. Will be treated as a minor city. 1:100,000
airport 1:30,000
mountain 1:100,000
isle 1:100,000
waterbody Bays, fjords, lakes, glaciers, inland seas... 1:100,000
landmark Cultural landmark, building of special interest, tourist attraction and other points of interest. 1:10,000
forest Forests and woodlands ?

Sample:

scale:N[қайнарын өңдеу]

Sets the desired map scale as 1:N. This will override the default scale. The scale: prefix can be omitted.

region:R[қайнарын өңдеу]

Sets the preferred map region of coverage, used in selecting appropriate map resources for the area. The region should be supplied as either a two character ISO 3166-1 alpha-2 country code, or an ISO 3166-2 region code. Examples:

Sample:

globe:G[қайнарын өңдеу]

Specifies other worlds than earth. Such as Moon.

source:S[қайнарын өңдеу]

Specifies, where present, the data source and data format/datum, and optionally the original data, presented in parentheses. This is initially primarily intended for use by geotagging robots, so that data is not blindly repeatedly copied from format to format and Wikipedia to Wikipedia, with progressive loss of precision and attributability.

Examples:

  • A lat/long geotag derived from a Ordnance Survey National Grid Reference NM 435 355 found in the English-language Wikipedia would be tagged as "source:enwiki-osgb36(NM435355)"
  • A latitude-longitude location sourced from data taken from the German-language Wikipedia would be tagged as "source:dewiki" -- and so on, for other language codes;
  • A location sourced from the public domain GeoNet Names Server database would be tagged as "source:GNS". No datum or format information is needed, since by default all Wikipedia coordinates are in latitude/longitude format based on the WGS84 datum. Similarly, U.S. locations sourced from the similar public domain GNIS database would be tagged as "source:GNIS".

The main coordinates templates (see below) are generally used instead of this template.

See also[қайнарын өңдеу]

On how to use the different templates, see Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates

For further information, see WikiProject Geographical coordinates.

Main coordinates templates[қайнарын өңдеу]