Шаблон:Alliance: различия между версиями
Нет описания правки |
Нет описания правки |
||
Строка 36: | Строка 36: | ||
--></div><!-- | --></div><!-- | ||
-->{{#if:{{{options|}}}|<div class="alliance-cols">{{#switch:{{#explode:{{{options}}}|/}}<!-- | -->{{#if:{{{options|}}}|<div class="alliance-cols">{{#switch:{{#explode:{{{options}}}|/}}<!-- | ||
|1=<div class="alliance-col"></div> | |1=<div class="alliance-col">1</div> | ||
|2=<div class="alliance-col">{{#ifexpr:{{#explode:{{{options}}}|/|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:{{{options}}}|/|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:{{{options}}}|/|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:{{{options}}}|/|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> |