Шаблон:Alliance: различия между версиями
Нет описания правки |
Нет описания правки |
||
Строка 35: | Строка 35: | ||
}}}}|80px|link=]]<!-- | }}}}|80px|link=]]<!-- | ||
--></div><!-- | --></div><!-- | ||
-->{{#if:{{{ | -->{{#if:{{{options|}}}|<div class="alliance-cols">{{#switch:{{#explode:{{{options}}}|/}}<!-- | ||
|1=<div class="alliance- | |1=<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> | |||
|3=<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> | |||
-->}}</div>}}<!-- | |||
--><div class="alliance-description">{{#if:{{{2|}}}|{{{2}}}}}</div><!-- | --><div class="alliance-description">{{#if:{{{2|}}}|{{{2}}}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><templatestyles src="Шаблон:Alliance/styles.css" /><!-- | --><templatestyles src="Шаблон:Alliance/styles.css" /><!-- | ||
--></onlyinclude><noinclude>{{doc}}</noinclude> | --></onlyinclude><noinclude>{{doc}}</noinclude> |