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

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

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