Шаблон:Listing: различия между версиями
Содержимое удалено Содержимое добавлено
Atsirlin (обсуждение | вклад) м пробел перед значком ЮНЕСКО |
Atsirlin (обсуждение | вклад) выясняем проблему с listing editor |
||
Строка 10:
--><span id="{{anchorencode:{{{name}}}}}"><!--
Map
-----><b>{{#if:{{{lat|}}}|{{#if:{{{long|}}}<!--
Map marker with a link to the map
----->|<span class="plainlinks">[{{PoiMap2|{{{lat|0}}}|{{{long|0}}}|15|M}}<span class="listing-map{{#ifeq:{{{type|listing}}}|other| listing-general}}{{#ifeq:{{{type|listing}}}|go| listing-general}}" style="background:{{TypeToColor|{{{type|other}}}}}" title="Открыть карту"> </span>]</span><!--
----->|}}|<!--▼
Empty colored square for listings without coordinates, format=nocoords will suppress this completely
▲---->|}}|<!--
-->{{#switch: {{{format|}}}|poi=|star= ☆ |  }}<!--
▲----><span style="background:{{TypeToColor|{{{type|other}}}}}; color:{{#ifeq:{{{format|}}}|nocoords|white|{{TypeToColor|{{{type|listing}}}}}}}; padding:{{#ifeq:{{{format|}}}|nocoords|0pt 0.25em|0pt 0.1em 0pt 0.35em}}; font-size: 0.8em">{{#ifeq:{{{format|}}}|nocoords|✦|12}}</span><!--
Name
-->{{#switch: {{{format|}}}|poi=|address=|{{#if:{{{name|}}}<!--
-->|{{#ifeq:{{{unesco}}}|yes|
-->{{#ifeq:{{{star}}}|yes|
--
-->{{#if:{{{alt|}}}| (''<span class="listing-alt">{{{alt}}}</span>'')|}}<!--
-->{{#if:{{{address|}}}||{{#if:{{{directions|}}}||.}}}}}}</span><!--
URL, facebook, vkontakte
-->{{#switch: {{{format|}}}|poi=|address=|{{#if:{{{wdid|}}}| [[File:Wikidata-logo.svg|20px|link=http://www.wikidata.org/wiki/{{{wdid}}}|Элемент в Викиданных]]|}}{{#if:{{{facebook|}}}|<span class="noprint"> [[File:Facebook icon.svg|
Address
-->{{#switch: {{{format|}}}|poi=|address= {{{address|}}}{{#if:{{{directions|}}}| (
-->{{#if:{{{address|}}}|, <span class="label">{{{address|}}}</span>{{#if:{{{directions|}}}| (<span style="font-style:italic">{{{directions|}}}</span>). |. }}|{{#if:{{{directions|}}}|
E-mail and Phone
Строка 50 ⟶ 52 :
Metadata - last edit date, "edit" link, etc
-->{{#ifeq:{{{format|}}}|poi||<span class="listing-metadata">{{#if:{{{lastedit|}}}
| <!--
|