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

Нет описания правки
Нет описания правки
Строка 37: Строка 37:
-->{{#if:{{{cols|}}}|<div class="alliance-cols">{{#switch:{{#explode:{{{cols}}}|/}}
-->{{#if:{{{cols|}}}|<div class="alliance-cols">{{#switch:{{#explode:{{{cols}}}|/}}
|1=<div class="alliance-col">{{#ifexpr:{{#explode:{{{cols}}}|/|1}} < 3|<div class="alliance-cell"></div><div class="alliance-cell"></div>|<div class="alliance-cell"></div><div class="alliance-cell"></div><div class="alliance-cell"></div>}}</div>
|1=<div class="alliance-col">{{#ifexpr:{{#explode:{{{cols}}}|/|1}} < 3|<div class="alliance-cell"></div><div class="alliance-cell"></div>|<div class="alliance-cell"></div><div class="alliance-cell"></div><div class="alliance-cell"></div>}}</div>
|2=<div class="alliance-col">{{#ifexpr:{{#explode:{{{cols}}}|/|1}} < 3|<div class="alliance-cell"></div><div class="alliance-cell"></div>|<div class="alliance-cell"></div><div class="alliance-cell"></div><div class="alliance-cell"></div>}}</div>
<div class="alliance-col">{{#ifexpr:{{#explode:{{{cols}}}|/|1}} < 3|<div class="alliance-cell"></div><div class="alliance-cell"></div>|<div class="alliance-cell"></div><div class="alliance-cell"></div><div class="alliance-cell"></div>}}</div>
|3=<div class="alliance-col">{{#ifexpr:{{#explode:{{{cols}}}|/|1}} < 3|<div class="alliance-cell"></div><div class="alliance-cell"></div>|<div class="alliance-cell"></div><div class="alliance-cell"></div><div class="alliance-cell"></div>}}</div>
<div class="alliance-col">{{#ifexpr:{{#explode:{{{cols}}}|/|1}} < 3|<div class="alliance-cell"></div><div class="alliance-cell"></div>|<div class="alliance-cell"></div><div class="alliance-cell"></div><div class="alliance-cell"></div>}}</div>
<div class="alliance-col">{{#ifexpr:{{#explode:{{{cols}}}|/|1}} < 3|<div class="alliance-cell"></div><div class="alliance-cell"></div>|<div class="alliance-cell"></div><div class="alliance-cell"></div><div class="alliance-cell"></div>}}</div>
}}</div>}}<!--
}}</div>}}<!--
--><div class="alliance-description">{{#if:{{{2|}}}|{{{2}}}}}</div><!--
--><div class="alliance-description">{{#if:{{{2|}}}|{{{2}}}}}</div><!--

Версия от 10:02, 27 октября 2022

[[Файл:|80px|link=]]

Шаблон:Doc