Template:MapTheme: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 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:{{#replace:{{#replace:{{lc:{{{themes}}}}}|space| | <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><div style="display: none">|}} | </div><div style="display: none">|}} | ||
<slideshow refresh="4000" transition="fade"> | <slideshow refresh="4000" transition="fade"> | ||
{{#if: {{#pos: {{lc:{{{themes}}}}}} | summer | 0}} | | {{#if: {{#pos: {{lc:{{{themes}}}}}} | summer | 0}} | | ||
<div class="map-info__theme"><div>[[File:{{{id}}}_summer.jpg|link=]]</div> | <div class="map-info__theme"><div>[[File:{{{id}}}_summer.jpg|link=]]</div> | ||
<div class="map-info__theme-name"> | <div class="map-info__theme-name">Лето</div> | ||
</div> | </div> | ||
|}}{{#if: {{#pos: {{lc:{{{themes}}}}}} | winter | 0}} | | |}}{{#if: {{#pos: {{lc:{{{themes}}}}}} | winter | 0}} | | ||
Line 23: | Line 23: | ||
|}}{{#if: {{#pos: {{lc:{{{themes}}}}}} | space | 0}} | | |}}{{#if: {{#pos: {{lc:{{{themes}}}}}} | space | 0}} | | ||
<div class="map-info__theme"><div>[[File:{{{id}}}_space.jpg|link=]]</div> | <div class="map-info__theme"><div>[[File:{{{id}}}_space.jpg|link=]]</div> | ||
<div class="map-info__theme-name"> | <div class="map-info__theme-name">Space</div> | ||
</div> | </div> | ||
|}} | |}} |
Revision as of 18:26, 18 December 2024
[[File:{{{id}}}_{{{themes}}}.jpg|link=]]
{{{themes}}}