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|Космос}}|winter_night| | <div class="map-info__theme-name">{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{lc:{{{themes}}}}}|space|Космос}}|winter_night|Winter night}}|summer_night|Summer night}}|winter|Winter}}|summer|Summer}}|new_year|New year}}|halloween|Halloween}}|minecraft|Minecraft}}|spring|Spring}}|beach|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">Summer</div> | ||
</div> | </div> | ||
|}}{{#if: {{#pos: {{lc:{{{themes}}}}}} | winter | 0}} | | |}}{{#if: {{#pos: {{lc:{{{themes}}}}}} | winter | 0}} | |
Revision as of 18:28, 18 December 2024
[[File:{{{id}}}_{{{themes}}}.jpg|link=]]
{{{themes}}}