From Wikipedia, the free encyclopedia
A version of the {{koord}} template where the latitude and longitude are specified by signed decimal numbers. It has been designed to work well with the Visual Editor/TemplateData system.
To je dokumentacijska podstran za glavno stran Predloga:KoordDec. Namenjena je shranjevanju navodil, kategorizaciji in drugi vsebini, ki ni del glavne strani. |
Usage
{{koordDec| ''decimal latitude'' | ''decimal longitude'' | display=inline,title}}
Example
{{koordDec| -41.289 | 174.777 | display=inline}}
gives 41.289°S 174.777°E
No alternate set of parameter are available for this template. See {{koordDMS}} for angles specified in degrees minutes and seconds, and {{koordDM}} for when just degrees and minutes are specified.
These coordinates are in degrees and minutes.
Optional parameters the are all named parameters in the form name=value
|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=X
to label the place on maps (default is PAGENAME)|notes=
text displayed immediately following the coordinates,|format=dec
decimal format|format=dms
degrees minutes and seconds formatOptional geodata coordinates parameters, the old geohack format with colon and underscore is not supported
Thus: {{KoordDec | -41.289 | 174.777 | 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.
Parameter | Opis | Vrsta | Stanje | |
---|---|---|---|---|
Latitude | 1 | The latitude in decimal format with negative for south eg -79.38. Avoid excessive precision, 0.01° is approximately 1k m and 0.0001° is approximately 10 m | Številka | zahtevano |
Longitude | 2 | The longitude in decimal format, negative for west eg -79.38. Avoid excessive precision, 0.01° is approximately 1k m and 0.0001° is approximately 10 m | Številka | zahtevano |
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 | Niz | neobvezno |
Name | name | a label to place on maps (default is PAGENAME) | Niz | neobvezno |
Notes | notes | text displayed immediately following the coordinates | Niz | neobvezno |
Format | format | How the coordinates are displayed, either 'dec' or 'dms' | Niz | neobvezno |
Dim | dim | approximate size of the object, used to scale the map to fit. | Niz | neobvezno |
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. | Niz | neobvezno |
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 | Niz | neobvezno |
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. | Niz | neobvezno |
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. | Niz | neobvezno |
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.