Template:MapTheme: Difference between revisions

From ProTanki Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
<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|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 class="map-info__theme-name">{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{lc:{{{themes}}}}}|space|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>|
<slideshow refresh="4000" transition="fade">
<slideshow refresh="4000" transition="fade">
{{#if: {{#pos: {{lc:{{{themes}}}}}} | summer | 0}} |
{{#if: {{#pos: {{lc:{{{themes}}}}}} | summer | 0}} |
Line 27: Line 27:
|}}
|}}
</slideshow>
</slideshow>
{{#ifexpr: {{#count: {{{themes}}} | , }} = 0 | </div> |}}
}}
</div>
</div>

Revision as of 20:57, 30 December 2024

[[File:{{{id}}}_{{{themes}}}.jpg|link=]]
{{{themes}}}