Шаблон:MapThemes: відмінності між версіями
Перейти до навігації
Перейти до пошуку
Larrrun (обговорення | внесок) Немає опису редагування |
Larrrun (обговорення | внесок) Немає опису редагування |
||
Рядок 2: | Рядок 2: | ||
{{#ifexpr: {{#count: {{{themes}}} | , }} = 0 | | {{#ifexpr: {{#count: {{{themes}}} | , }} = 0 | | ||
<div class="map-info__theme"><div>[[File:{{{id}}}_{{lc:{{{themes}}}}}.jpg|link=]]</div> | <div class="map-info__theme"><div>[[File:{{{id}}}_{{lc:{{{themes}}}}}.jpg|link=]]</div> | ||
<div class="map-info__theme-name">{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{lc:{{{themes}}}}}|space|Космос}}|winter_night|Зима ніч}}|summer_night|Літо ніч}}|winter|Зима}}|summer|Літо}}|spring|Весна}}|ny|Новий рік}}|halloween|Хелловін}}</div> | <div class="map-info__theme-name">{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{lc:{{{themes}}}}}|space|Космос}}|winter_night|Зима ніч}}|summer_night|Літо ніч}}|winter|Зима}}|summer|Літо}}|spring|Весна}}|ny|Новий рік}}|halloween|Хелловін}}|minecraft|Майнкрафт}}</div> | ||
</div><div style="display: none">|}} | </div><div style="display: none">|}} | ||
<slideshow refresh="4000" transition="fade"> | <slideshow refresh="4000" transition="fade"> | ||
Рядок 36: | Рядок 36: | ||
<div class="map-info__theme"><div>[[File:{{{id}}}_halloween.jpg|link=]]</div> | <div class="map-info__theme"><div>[[File:{{{id}}}_halloween.jpg|link=]]</div> | ||
<div class="map-info__theme-name">Хелловін</div> | <div class="map-info__theme-name">Хелловін</div> | ||
</div> | |||
|}}{{#if: {{#pos: {{lc:{{{themes}}}}}} | ny | 0}} | | |||
<div class="map-info__theme"><div>[[File:{{{id}}}_minecraft.jpg|link=]]</div> | |||
<div class="map-info__theme-name">Майнкрафт</div> | |||
</div> | </div> | ||
|}} | |}} |
Версія за 00:12, 21 вересня 2024
[[File:{{{id}}}_{{{themes}}}.jpg|link=]]
{{{themes}}}