قالب:CoordDM
A version of the {{coord}} template where just degrees and minutes and are specified.
Usage
To add 57°18′N 4°27′W / 57.300°N 4.450°W to the top of an article, use {{CoordDM}}, thus:
{{CoordDM|57|18|N|4|27|W|display=title}}
No alternate set of parameter are available for this template. See {{coordDec}} for angles specified as signed decimal degrees, and {{coordDMS}} for when degrees, minutes and seconds are all specified.
These coordinates are in degrees and minutes.
- Map datum must be WGS84 (except for off-earth bodies).
- Avoid excessive precision (0.0001° is <11 m, 1″ is <31 m).
- Latitude (N/S) must appear before longitude (E/W).
Optional parameters the are all named parameters in the form name=value
- display
|display=inline
(the default) to display in the body of the article only,|display=title
to display at the top of the article only, or|display=inline,title
to display in both places.
- name
|name=X
to label the place on maps (default is PAGENAME)
- Notes
|notes=
text displayed immediately following the coordinates,
- format How the coordinates are displayed
|format=dec
decimal format|format=dms
degrees minutes and seconds format
Optional geodata coordinates parameters, the old geohack format with colon and underscore is not supported
- dim: approximate size of the object, used to scale the map to fit.
- scale: Scale of map display for this object, e.g. scale of 300 is 1:300. Gets converted into dim internally using formula dim = scale / 10. If both scale and dim are set, dim has precedence.
- globe: earth by default, can be one of earth, mercury, venus, moon, mars, phobos, deimos, ganymede, callisto, io, europa, mimas, enceladus, tethys, dione, rhea, titan, hyperion, iapetus, phoebe, miranda, ariel, umbriel, titania, oberon, triton and pluto
- name: name of this point, up to 255 bytes (UTF-8).
- region: ISO 3166-1 alpha-2 country code (e.g. US or RU) or an ISO 3166-2 region code (e.g. US-FL or RU-MOS). This parameter is always capitalised internally.
- type: type of object with these coordinates, can be one of the following: country, satellite, state, adm1st, adm2nd, adm3rd, city, isle, mountain, river, waterbody, event, forest, glacier, airport, railwaystation, edu, pass, camera, landmark.
Thus: {{CoordDM|57|18|N|4|27|W| dim=30 | region=US-WI | type=event | display=inline,title | name=accident site}}
Use |display=title
(or |display=inline,title
) once per article, for the subject of the article, where appropriate.
Per WP:ORDER, the template is placed in articles after any navigation templates, but before any Persondata or Defaultsort templates, or Categories.
- For full details, refer to {{Coord/doc}}.
- Additional guidance is available: obtaining coordinates, converting coordinates
Template Data
Encodes the latitude and longitude coordinates of a location specified in degrees and minutes, provides a link to map of the location.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Latitude degrees | 1 | The degrees part of the latitude, a positive whole number. | رقم | مطلوب |
Latitude minutes | 2 | The minutes part of the latitude. Do not be overly precise, 1' is approximately 1.5km. | رقم | مطلوب |
Latitude direction | 3 | Direction part of latitude: N or S. | نص | مطلوب |
Longitude degrees | 4 | The degrees part of the longitude, a positive whole number. | رقم | مطلوب |
Longitude minutes | 5 | The minutes part of the longitude. Do not be overly precise 1' is approximately 1.5km. | رقم | مطلوب |
Longitude direction | 6 | Direction part of longitude: E or W. Not used if decimal degrees are specified. | نص | مطلوب |
Display | display | Where it is displayed. Can be one of: 'inline' in the body of the article (default), 'title' at the top of the article or 'inline,title' both | نص | اختياري |
Name | name | a label to place on maps (default is PAGENAME) | نص | اختياري |
Notes | notes | text displayed immediately following the coordinates | نص | اختياري |
Format | format | How the coordinates are displayed, either 'dec' or 'dms' | نص | اختياري |
Dim | dim | approximate size of the object, used to scale the map to fit. | نص | اختياري |
Scale | scale | Scale of map display for this object, e.g. scale of 300 is 1:300. Gets converted into ''dim'' internally using formula ''dim = scale / 10''. If both scale and dim are set, dim has precedence. | نص | اختياري |
Globe | globe | earth by default, can be one of earth, mercury, venus, moon, mars, phobos, deimos, ganymede, callisto, io, europa, mimas, enceladus, tethys, dione, rhea, titan, hyperion, iapetus, phoebe, miranda, ariel, umbriel, titania, oberon, triton and pluto | نص | اختياري |
Region | region | [[ISO 3166-1 alpha-2]] country code (e.g. ''US'' or ''RU'') or an [[ISO 3166-2]] region code (e.g. ''US-FL'' or ''RU-MOS''). This parameter is always capitalised internally. | نص | اختياري |
Type | type | type of object with these coordinates, can be one of the following: country, satellite, state, adm1st, adm2nd, adm3rd, city, isle, mountain, river, waterbody, event, forest, glacier, airport, railwaystation, edu, pass, camera, landmark. | نص | اختياري |
See also
- {{coord}} the base template has more details on some of the parameters
- {{coordDec}} an alternative version where signed decimal degrees are specified
- {{coordDMS}} an alternative version where degrees, minutes and seconds are specified
The above documentation is transcluded from قالب:CoordDM/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |