Шаблон:Geobox coor
Вы находитесь на сайте "Архив статей из ЭЕЭ и статей на еврейские темы из Википедии"
(Перенаправление на Географические координаты) |
|||
Строка 1: | Строка 1: | ||
- | # | + | <includeonly><span style="{{#if:{{{wrap|}}}||white-space: nowrap;}}">{{#if:{{{3|}}}| |
- | + | {{coord|{{{1|0}}}|{{{2|0}}}|{{{3|0}}}|{{#if:{{{4|}}}|{{{4}}}|N}}|{{{5|0}}}|{{{6|0}}}|{{{7|0}}}|{{#if:{{{8|}}}|{{{8}}}|E}}|{{{9|type:other}}}|format={{{format|dms}}}|display={{#if:{{{title|}}}|inline,title|inline}} }}| {{#if:{{{2|}}}| | |
+ | {{coord|{{{1|0}}}|{{{2|0}}}|{{#if:{{{4|}}}|{{{4}}}|N}}|{{{5|0}}}|{{{6|0}}}|{{#if:{{{8|}}}|{{{8}}}|E}}|{{{9|type:other}}}|format={{{format|dms}}}|display={{#if:{{{title|}}}|inline,title|inline}}}}| {{#if:{{{4|}}}| | ||
+ | {{coord|{{{1|0}}}|{{{4|N}}}|{{{5|0}}}|{{{8|E}}}|{{{9|type:other}}}|format={{{format|dec}}}|display={{#if:{{{title|}}}|inline,title|inline}}}}| {{#if:{{{1|}}}| | ||
+ | {{coord|{{{1|0}}}|{{{5|0}}}|{{{9|type:other}}}|format={{{format|dec}}}|display={{#if:{{{title|}}}|inline,title|inline}}}}}}}}}}}}</span></includeonly><noinclude> | ||
+ | {{documentation}} | ||
+ | </noinclude> |
Текущая версия на 05:08, 2 сентября 2011
This is a template used in {{Infobox settlement}} and some of the templates of the Geobox series. It only translates the coordinates related parameters from the Geoboxes to the {{coord}} templates which handles the actual display and therefore it shouldn't be used on its own.
It displays coordinates and the appropriate wikimap link from various styles of input (can be classic with deg, min and sec or decimal with NSWE or decimal with negative values for S and W hemispheres). Additional formatting parameters can be used: to display the coordinates in title to, to display decimally-entered values as classic DMS values and vice-versa.
For usage see examples at Template talk:Geobox coor or any Geobox.
Note: This is not used by {{Geobox}}. Geobox uses Template:Geobox2 coor and Template:Geobox2 coor title.
Содержание |
Optional parameters
title
– if set to any value, the coordinates will appear in the title as well as inline.format
– set to dms for "degrees/minutes/seconds" or dec for "decimal".wrap
– if set to any value, the coordinates will be allowed to linewrap.
Examples of use
{{Geobox coor|25|30|01|N|12|15|01|E|type:city}}:
{{Geobox coor|25|30|01|N|12|15|01|E|type:city|title=1}}:
{{Geobox coor|25|30|01|N|12|15|01|E|type:city|format=dec}}:
{{Geobox coor|25|30||N|12|15||E|type:city}}:
{{Geobox coor|25|30||N|12|15||E|type:city|format=dec}}:
{{Geobox coor|25.135|||N|12.588|||E|type:city}}:
{{Geobox coor|25.135|||N|12.588|||E|type:city|format=dms}}:
{{Geobox coor|25.135||||-12.588||||}}:
{{Geobox coor|25.135||||-12.588||||type:city|format=dms}}:
{{Geobox coor|25|30|01||12|15|01||type:city}}:
{{Geobox coor|25|30|01||12|15|01||type:city|format=dec}}:
{{Geobox coor|25|30|||12|15|||type:city}}:
{{Geobox coor|25|30|||12|15|||type:city|format=dec}}:
See also
- Template:Geobox2 coor
- Template:Geobox2 coor title
Microformat
Шаблон:UF-geo