Разлика между версии на „Шаблон:Coord/link“
от wiki.bgmountains.org
(Нова страница: <span class="plainlinks nourlexpansion"> [{{Coor URL}}{{{param}}}{{#if:{{{name|}}}|&title={{urlencode:{{{name}}}}}}} <span class="{{#ifeq:{{{default|}}}|dec|geo-nondefaul...) |
|||
Ред 1: | Ред 1: | ||
− | <span class="plainlinks nourlexpansion"> | + | <span class="plainlinks nourlexpansion">[{{Coor URL}}{{{param}}}{{#if:{{{name|}}}|&title={{urlencode:{{{name}}}}}}} <span class="{{#ifeq:{{{default|}}}|dec|geo-nondefault|geo-default}}"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">{{{dms-lat}}}</span> <span class="longitude">{{{dms-long}}}</span></span></span><span class="geo-multi-punct"> / </span><span class="{{#ifeq:{{{default|}}}|dec|geo-default|geo-nondefault}}">{{#if:{{{name|}}}|<span class="vcard">|}}<span class="geo-dec" title="Maps, aerial photos, and other data for this location">{{{dec-lat-display|{{#ifexpr:{{{dec-lat}}}<0|{{Coord/negzeropad|{{{dec-lat}}}|{{#expr:abs{{{dec-lat}}}}}}}°S|{{{dec-lat}}}°N}}}}} {{{dec-long-display|{{#ifexpr:{{{dec-long}}}<0|{{Coord/negzeropad|{{{dec-long}}}|{{#expr:abs{{{dec-long}}}}}}}°W|{{{dec-long}}}°E}}}}}</span><span style="display:none"> / <span class="geo">{{{dec-lat}}}; {{{dec-long}}}</span></span>{{#if:{{{name|}}}|<span style="display:none"> (<span class="fn org">{{{name|}}}</span>)</span></span>|}}</span>]</span><noinclude> |
− | [{{Coor URL}}{{{param}}}{{#if:{{{name|}}}|&title={{urlencode:{{{name}}}}}}} | + | <!-- BE CAREFUL WITH COPY PASTING |
− | + | HTMLTidy moves our whitespace around. We use  (unicode zero width no break space/BOM) to force a space char at the end or beginning of a span to stay where it is, and this character gets lost in copypasting. This is a deprecated unicode character for these purposes, but it is the only method that works consistently around all browsers (opposed to #x2060 and #x200b). | |
− | <span class="{{#ifeq:{{{default|}}}|dec|geo-nondefault|geo-default}}"> | + | -->{{documentation}}[[Category:Coord template]]</noinclude> |
− | <span class="geo-dms" title="Maps, aerial photos, and other data for this location"> | + | |
− | <span class="latitude">{{{dms-lat}}}</span> | + | |
− | <span class="longitude">{{{dms-long}}}</span> | + | |
− | </span> | + | |
− | </span> | + | |
− | <span class="geo-multi-punct"> /  </span> | + | |
− | <span class="{{#ifeq:{{{default|}}}|dec|geo-default|geo-nondefault}}">{{#if:{{{name|}}}| | + | |
− | <span class="vcard">|}} | + | |
− | <span class="geo-dec" title="Maps, aerial photos, and other data for this location">{{{dec-lat-display|{{#ifexpr:{{{dec-lat}}}<0|{{Coord/negzeropad|{{{dec-lat}}}|{{#expr:abs{{{dec-lat}}}}}}}°S|{{{dec-lat}}}°N}}}}} {{{dec-long-display|{{#ifexpr:{{{dec-long}}}<0|{{Coord/negzeropad|{{{dec-long}}}|{{#expr:abs{{{dec-long}}}}}}}°W|{{{dec-long}}}°E}}}}}</span><span style="display:none"> / <span class="geo">{{{dec-lat}}}; {{{dec-long}}}</span></span>{{#if:{{{name|}}}|<span style="display:none"> (<span class="fn org">{{{name|}}}</span>)</span></span>|}}</span>]</span><noinclude> | + |
Версия от 23:13, 13 април 2011
[[[:Шаблон:Coor URL]]{{{param}}} {{{dms-lat}}} {{{dms-long}}} / Грешка в записа: Неразпознат пунктуационен знак "{" Грешка в записа: Неразпознат пунктуационен знак "{"] Шаблон:Documentation