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

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

Материал из wiki.iccup.org
Нет описания правки
Метки: ручная отмена редактор вики-текста 2017
Нет описания правки
Метка: редактор вики-текста 2017
 
(не показаны 33 промежуточные версии 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:Beorn_Str.webp|frameless|24px]]
tables=Heroes
            [[Сила]] ({{#cargo_query:table=Heroes|fields=COUNT(*)|where=attribute='Сила' AND game='Dota1'|format=plain}})
|fields=name, pageName, image
        </div>
|where=attribute='Сила' AND game='Dota1' AND numberHome=1
        <ul class="heroes-panel__category-list">
|limit=1000
            {{#cargo_query:
|order by=orderHome ASC
                table=Heroes
|format=template
                |where=attribute='Сила' AND game='Dota1'
|template=Hero Entry
                |limit=1000
|named args=yes  
                |order=name ASC
}}</ul>
                |format=template
<ul class="heroes-panel__category-list">{{#cargo_query:
                |template=Hero Entry
tables=Heroes
                |named args=yes
|fields=name, pageName, image
                |subpage={{{subpage|}}}
|where=attribute='Сила' AND game='Dota1' AND numberHome=2
                |vercheck={{{vercheck|}}}
|limit=1000
            }}
|order by=orderHome ASC
        </ul>
|format=template
    </div>
|template=Hero Entry
 
|named args=yes  
    <div class="heroes-panel__category category--agility">
}}</ul>
        <div class="heroes-panel__category-title">
<ul class="heroes-panel__category-list">{{#cargo_query:
            [[File:Beorn_Agi.webp|frameless|24px]]
tables=Heroes
            [[Ловкость]] ({{#cargo_query:table=Heroes|fields=COUNT(*)|where=attribute='Ловкость' AND game='Dota1'|format=plain}})
|fields=name, pageName, image
        </div>
|where=attribute='Сила' AND game='Dota1' AND numberHome=3
        <ul class="heroes-panel__category-list">
|limit=1000
            {{#cargo_query:
|order by=orderHome ASC
                table=Heroes
|format=template
                |where=attribute='Ловкость' AND game='Dota1'
|template=Hero Entry
                |limit=1000
|named args=yes  
                |order=name ASC
}}
                |format=template
</ul>
                |template=Hero Entry
                |named args=yes
                |subpage={{{subpage|}}}
                |vercheck={{{vercheck|}}}
            }}
        </ul>
    </div>
 
    <div class="heroes-panel__category category--intelligence">
        <div class="heroes-panel__category-title">
            [[File:Beorn_Int.webp|frameless|24px]]
            [[Интеллект]] ({{#cargo_query:table=Heroes|fields=COUNT(*)|where=attribute='Интеллект' AND game='Dota1'|format=plain}})
        </div>
        <ul class="heroes-panel__category-list">
            {{#cargo_query:
                table=Heroes
                |where=attribute='Интеллект' AND game='Dota1'
                |limit=1000
                |order=name ASC
                |format=template
                |template=Hero Entry
                |named args=yes
                |subpage={{{subpage|}}}
                |vercheck={{{vercheck|}}}
            }}
        </ul>
    </div>
</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