Шаблон:Alliance: различия между версиями
Нет описания правки |
Нет описания правки |
||
Строка 36: | Строка 36: | ||
--></div><!-- | --></div><!-- | ||
-->{{#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 {{#switch:{{lc:{{{1}}}|ассасины=assasins|барды=bards|берсерки=berserks}}"></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 {{#switch:{{lc:{{{1}}}}}|ассасины=assasins|барды=bards|берсерки=berserks}}"></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> | |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> | <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> |