Шаблон:MapThemes: различия между версиями

Материал из Энциклопедия игры «ProTanki Online»
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
<div style="display: flex; justify-content: center;">
<div style="display: flex; justify-content: center;">
{{#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-name">{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{lc:{{{themes}}}}}|space|Космос}}|winter_night|Зима ночь}}|summer_night|Лето ночь}}|winter|Зима}}|summer|Лето}}|new_year|Новый год}}|halloween|Хэллоуин}}|minecraft|Minecraft}}|spring|Весна}}|beach|Пляж}}</div>
</div>|
<slideshow refresh="4000" transition="fade">
<slideshow refresh="4000" transition="fade">
{{#if: {{#pos: {{lc:{{{themes}}}}}} | summer | 0}} |
{{#if: {{#pos: {{lc:{{{themes}}}}}} | summer | 0}} |
Строка 27: Строка 24:
|}}
|}}
</slideshow>
</slideshow>
}}
|}}
</div><noinclude>{{/doc}} [[Категория:Шаблоны-заготовки]]</noinclude>
</div><noinclude>{{/doc}} [[Категория:Шаблоны-заготовки]]</noinclude>

Версия от 04:52, 27 января 2025