Открыть меню
Открыть персональное меню
Вы не представились системе
Your IP address will be publicly visible if you make any edits.

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

Материал из wiki.iccup.org
Нет описания правки
Метка: редактор вики-текста 2017
Нет описания правки
Метка: редактор вики-текста 2017
 
(не показано 12 промежуточных версий этого же участника)
Строка 1: Строка 1:
<div class="heroes-panel" data-component="heroes-panel"><div class="heroes-panel__category category--strength"><div class="heroes-panel__category-title">[[File:Beorn Str.webp|100x56px|link=]] [[Сила]]({{#cargo_query:table=Heroes|fields=COUNT(name)|where=attribute='Сила' AND game!='Unreleased'|format=plain}})</div><ul class="heroes-panel__category-list">{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Сила' AND game!='Unreleased' |limit=12|offset=0 |order=name ASC |format=template |template=Hero Entry |named args=yes}}</ul><ul class="heroes-panel__category-list">{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Сила' AND game!='Unreleased' |limit=12|offset=12 |order=name ASC |format=template |template=Hero Entry |named args=yes}}</ul><ul class="heroes-panel__category-list">{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Сила' AND game!='Unreleased' |limit=10|offset=24 |order=name ASC |format=template |template=Hero Entry |named args=yes}}</ul></div><div class="heroes-panel__category category--agility"><div class="heroes-panel__category-title">[[File:Beorn Agi.webp|100x56px|link=]] [[Ловкость]]({{#cargo_query:table=Heroes|fields=COUNT(name)|where=attribute='Ловкость' AND game!='Unreleased'|format=plain}})</div><ul class="heroes-panel__category-list">{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Ловкость' AND game!='Unreleased' |limit=1000 |order=name ASC |format=template |template=Hero Entry |named args=yes}}</ul></div><div class="heroes-panel__category category--intelligence"><div class="heroes-panel__category-title">[[File:Beorn Int.webp|100x56px|link=]] [[Интеллект]]({{#cargo_query:table=Heroes|fields=COUNT(name)|where=attribute='Интеллект' AND game!='Unreleased'|format=plain}})</div><ul class="heroes-panel__category-list">{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Интеллект' AND game!='Unreleased' |limit=1000 |order=name ASC |format=template |template=Hero Entry |named args=yes}}</ul></div></div><noinclude>[[Category:Templates]] [[ru:Шаблон:HeroTable]]</noinclude>
<div class="heroes-panel" data-component="heroes-panel"><div class="heroes-panel__category category--strength"><div class="heroes-panel__category-title">[[File:Beorn Str.webp|100x56px|link=]] [[Сила]]({{#cargo_query:table=Heroes|fields=COUNT(name)|where=attribute='Сила' AND game!='Unreleased'|format=plain}})</div>
<div class="heroes-panel__category-block">
<ul class="heroes-panel__category-list">{{#cargo_query:
tables=Heroes
|fields=name, pageName, image
|where=attribute='Сила' AND game='Dota1' AND numberHome=1
|limit=1000
|order by=orderHome ASC
|format=template
|template=Hero Entry
|named args=yes  
}}</ul>
<ul class="heroes-panel__category-list">{{#cargo_query:
tables=Heroes
|fields=name, pageName, image
|where=attribute='Сила' AND game='Dota1' AND numberHome=2
|limit=1000
|order by=orderHome ASC
|format=template
|template=Hero Entry
|named args=yes  
}}</ul>
<ul class="heroes-panel__category-list">{{#cargo_query:
tables=Heroes
|fields=name, pageName, image
|where=attribute='Сила' AND game='Dota1' AND numberHome=3
|limit=1000
|order by=orderHome ASC
|format=template
|template=Hero Entry
|named args=yes  
}}
</ul>
</div>
</div>
<div class="heroes-panel__category category--agility">
<div class="heroes-panel__category-title">[[File:Beorn Agi.webp|100x56px|link=]] [[Ловкость]]({{#cargo_query:table=Heroes|fields=COUNT(name)|where=attribute='Ловкость' AND game!='Unreleased'|format=plain}})</div>
<div class="heroes-panel__category-block">
<ul class="heroes-panel__category-list">
{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Ловкость' AND game!='Unreleased' AND numberHome=1|limit=1000 |order by=orderHome ASC |format=template |template=Hero Entry |named args=yes}}
</ul>
<ul class="heroes-panel__category-list">
{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Ловкость' AND game!='Unreleased' AND numberHome=2|limit=1000 |order by=orderHome ASC |format=template |template=Hero Entry |named args=yes}}
</ul>
<ul class="heroes-panel__category-list">
{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Ловкость' AND game!='Unreleased' AND numberHome=3|limit=1000 |order by=orderHome ASC |format=template |template=Hero Entry |named args=yes}}
</ul>
</div>
</div>
<div class="heroes-panel__category category--intelligence"><div class="heroes-panel__category-title">[[File:Beorn Int.webp|100x56px|link=]] [[Интеллект]]({{#cargo_query:table=Heroes|fields=COUNT(name)|where=attribute='Интеллект' AND game!='Unreleased'|format=plain}})</div>
<div class="heroes-panel__category-block">
<ul class="heroes-panel__category-list">{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Интеллект' AND game!='Unreleased' AND numberHome=1|limit=1000 |order by=orderHome ASC |format=template |template=Hero Entry |named args=yes}}</ul>
<ul class="heroes-panel__category-list">{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Интеллект' AND game!='Unreleased' AND numberHome=2|limit=1000 |order by=orderHome ASC |format=template |template=Hero Entry |named args=yes}}</ul>
<ul class="heroes-panel__category-list">{{#cargo_query: table=Heroes |fields=name, pageName, image |where=attribute='Интеллект' AND game!='Unreleased' AND numberHome=3|limit=1000 |order by=orderHome ASC |format=template |template=Hero Entry |named args=yes}}</ul>
</div>
</div></div>
<noinclude>[[Category:Templates]] [[ru:Шаблон:HeroTable]]</noinclude>

Текущая версия от 09:32, 24 сентября 2024