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

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

Материал из wiki.iccup.org
Нет описания правки
Метка: редактор вики-текста 2017
Нет описания правки
Метка: редактор вики-текста 2017
 
(не показано 47 промежуточных версий 2 участников)
Строка 1: Строка 1:
<div class="heroes-panel" data-component="heroes-panel">
<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 category--strength">
<div class="heroes-panel__category-block">
<div class="heroes-panel__category-title">
<ul class="heroes-panel__category-list">{{#cargo_query:
[[File:Dota2_Strength_icon_solid_allmode.png|frameless|24px]]
tables=Heroes
[[Сила]] ({{#iccupdb:datapoint|query=count::pagename|conditions=[[type::hero]] and [[extradata_primary::Сила]] and [[extradata_game::iCCup]]|template=Identity{{!}}param=count_pagename}})
|fields=name, pageName, image
</div>
|where=attribute='Сила' AND game='Dota1' AND numberHome=1
<ul class="heroes-panel__category-list">
|limit=1000
{{#iccupdb:datapoint
|order by=orderHome ASC
| conditions = [[type::hero]] and [[extradata_primary::Сила]] and [[extradata_game::iCCup]]
|format=template
| limit = 1000
|template=Hero Entry
| order = name asc
|named args=yes
| template = Hero Entry{{!}}userparam={{{subpage|}}}{{!}}vercheck={{{vercheck|}}}
}}</ul>
}}
<ul class="heroes-panel__category-list">{{#cargo_query:
</ul>
tables=Heroes
</div>
|fields=name, pageName, image
 
|where=attribute='Сила' AND game='Dota1' AND numberHome=2
<div class="heroes-panel__category category--agility">
|limit=1000
<div class="heroes-panel__category-title">
|order by=orderHome ASC
[[File:Dota2_Agility_icon_solid_allmode.png|frameless|24px]]
|format=template
[[Ловкость]] ({{#iccupdb:datapoint|query=count::pagename|conditions=[[type::hero]] and [[extradata_primary::Ловкость]] and [[extradata_game::iCCup]]|template=Identity{{!}}param=count_pagename}})
|template=Hero Entry
</div>
|named args=yes
<ul class="heroes-panel__category-list">
}}</ul>
{{#iccupdb:datapoint
<ul class="heroes-panel__category-list">{{#cargo_query:
| conditions = [[type::hero]] and [[extradata_primary::Ловкость]] and [[extradata_game::iCCup]]
tables=Heroes
| limit = 1000
|fields=name, pageName, image
| order = name asc
|where=attribute='Сила' AND game='Dota1' AND numberHome=3
| template = Hero Entry{{!}}userparam={{{subpage|}}}{{!}}vercheck={{{vercheck|}}}
|limit=1000
}}
|order by=orderHome ASC
</ul>
|format=template
</div>
|template=Hero Entry
 
|named args=yes
<div class="heroes-panel__category category--intelligence">
<div class="heroes-panel__category-title">
[[File:Dota2_Intelligence_icon_solid_allmode.png|frameless|24px]]
[[Интеллект]] ({{#iccupdb:datapoint|query=count::pagename|conditions=[[type::hero]] and [[extradata_primary::Интеллект]] and [[extradata_game::iCCup]]|template=Identity{{!}}param=count_pagename}})
</div>
<ul class="heroes-panel__category-list">
{{#iccupdb:datapoint
| conditions = [[type::hero]] and [[extradata_primary::Интеллект]] and [[extradata_game::iCCup]]
| limit = 1000
| order = name asc
| template = Hero Entry{{!}}userparam={{{subpage|}}}{{!}}vercheck={{{vercheck|}}}
}}
</ul>
</div>
 
}}
}}
</ul>
</div>
</div>
<noinclude>
</div>
[[Category:Templates]]
<div class="heroes-panel__category category--agility">
</noinclude>
<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