Шаблон:PlaceCard: відмінності між версіями
Remove leading spaces to avoid <pre> blocks
(Avoid preformatted: remove leading spaces before parser function) |
(Remove leading spaces to avoid <pre> blocks) |
||
| Рядок 29: | Рядок 29: | ||
|lon={{{lon|}}} | |lon={{{lon|}}} | ||
}} | }} | ||
<div class=place-card> | <div class=place-card> | ||
<div class=place-card__img>{{#if:{{{image|}}}|[[File:{{{image}}}|260px]]|[[File:Place default.png|260px]]}}</div> | |||
<div class=place-card__body> | |||
<div class=place-card__title>[[{{FULLPAGENAME}}|{{{title|{{PAGENAME}}}}}]]</div> | |||
<div class=place-card__meta> | |||
{{#if:{{{category|}}}|'''Категорія:''' {{{category}}}<br>|}} | |||
{{#if:{{{address|}}}|'''Адреса:''' {{{address}}}<br>|}} | |||
{{#if:{{{phone|}}}|'''Телефон:''' {{{phone}}}<br>|}} | |||
{{#if:{{{website|}}}|'''Сайт:''' [{{{website}}} {{{website}}}]<br>|}} | |||
</div> | |||
<div class=place-card__desc>{{{description|}}}</div> | |||
</div> | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||