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

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

Материал из wiki.iccup.org
м DarkMuse переименовал страницу Шаблон:Herobox в Шаблон:HeroBox
Нет описания правки
Метка: редактор вики-текста 2017
Строка 2: Строка 2:
<div class="herobox" style="width: 300px; border: 1px solid grey; padding: 10px; margin: 10px; float: right;">
<div class="herobox" style="width: 300px; border: 1px solid grey; padding: 10px; margin: 10px; float: right;">


    <!-- Основная информация -->
<!-- Основная информация -->
    <div style="text-align: center; font-weight: bold; font-size: 120%; margin-bottom: 10px;">
<div style="text-align: center; font-weight: bold; font-size: 120%; margin-bottom: 10px;">
        {{#if: {{{image|}}} | [[File:{{{image}}}|300px]] }}<br>
{{#if: {{{image|}}} | [[File:{{{image}}}|300px]] }}<br>
        {{{name|Hero Name}}}
{{{name|Hero Name}}}
    </div>
</div>


    <!-- Основные атрибуты -->
<!-- Основные атрибуты -->
    <div style="text-align: center; display: flex; justify-content: space-evenly; margin-bottom: 10px;">
<div style="text-align: center; display: flex; justify-content: space-evenly; margin-bottom: 10px;">
        <div>
<div>
            [[File:Beorn Str.webp|35px|link=Сила]]<br>
[[File:Beorn Str.webp|35px|link=Сила]]<br>
            {{{strbase}}} + {{{strgain}}}
{{{strbase}}} + {{{strgain}}}
        </div>
</div>
        <div>
<div>
            [[File:Beorn Agi.webp|35px|link=Ловкость]]<br>
[[File:Beorn Agi.webp|35px|link=Ловкость]]<br>
            {{{agibase}}} + {{{agigain}}}
{{{agibase}}} + {{{agigain}}}
        </div>
</div>
        <div>
<div>
            [[File:Beorn Int.webp|35px|link=Интеллект]]<br>
[[File:Beorn Int.webp|35px|link=Интеллект]]<br>
            {{{intbase}}} + {{{intgain}}}
{{{intbase}}} + {{{intgain}}}
        </div>
</div>
    </div>
</div>


    <!-- Статистика -->
<!-- Статистика -->
    <div style="font-size: 90%; border-top: 1px solid grey; padding-top: 10px;">
<div style="font-size: 90%; border-top: 1px solid grey; padding-top: 10px;">
        <div style="display: flex; justify-content: space-between;">
<div style="display: flex; justify-content: space-between;">
            <span>Здоровье:</span>
<span>Здоровье:</span>
            <span>{{{hp}}}</span>
<span>{{{hp}}}</span>
        </div>
</div>
        <div style="display: flex; justify-content: space-between;">
<div style="display: flex; justify-content: space-between;">
            <span>Мана:</span>
<span>Мана:</span>
            <span>{{{mana}}}</span>
<span>{{{mana}}}</span>
        </div>
</div>
        <div style="display: flex; justify-content: space-between;">
<div style="display: flex; justify-content: space-between;">
            <span>Урон:</span>
<span>Урон:</span>
            <span>{{{damage}}}</span>
<span>{{{damage}}}</span>
        </div>
</div>
        <div style="display: flex; justify-content: space-between;">
<div style="display: flex; justify-content: space-between;">
            <span>Броня:</span>
<span>Броня:</span>
            <span>{{{armor}}}</span>
<span>{{{armor}}}</span>
        </div>
</div>
        <div style="display: flex; justify-content: space-between;">
<div style="display: flex; justify-content: space-between;">
            <span>Скорость движения:</span>
<span>Скорость движения:</span>
            <span>{{{movespeed}}}</span>
<span>{{{movespeed}}}</span>
        </div>
</div>
        <div style="display: flex; justify-content: space-between;">
<div style="display: flex; justify-content: space-between;">
            <span>Скорость атаки:</span>
<span>Скорость атаки:</span>
            <span>{{{atkspeed}}}</span>
<span>{{{atkspeed}}}</span>
        </div>
</div>
        <div style="display: flex; justify-content: space-between;">
<div style="display: flex; justify-content: space-between;">
            <span>Дальность атаки:</span>
<span>Дальность атаки:</span>
            <span>{{{atkrange}}}</span>
<span>{{{atkrange}}}</span>
        </div>
</div>
    </div>
</div>


    <!-- Дополнительные параметры -->
<!-- Дополнительные параметры -->
    <div style="font-size: 90%; margin-top: 10px; border-top: 1px solid grey; padding-top: 10px;">
<div style="font-size: 90%; margin-top: 10px; border-top: 1px solid grey; padding-top: 10px;">
        <div style="display: flex; justify-content: space-between;">
<div style="display: flex; justify-content: space-between;">
            <span>Уровень здоровья за уровень:</span>
<span>Уровень здоровья за уровень:</span>
            <span>{{{hpregen}}}</span>
<span>{{{hpregen}}}</span>
        </div>
</div>
        <div style="display: flex; justify-content: space-between;">
<div style="display: flex; justify-content: space-between;">
            <span>Мана за уровень:</span>
<span>Мана за уровень:</span>
            <span>{{{mpregen}}}</span>
<span>{{{mpregen}}}</span>
        </div>
</div>
    </div>
</div>


</div>
</div>
</includeonly>
</includeonly>
<noinclude>{{Doc}}[[Category:Hero templates]]</noinclude>
<noinclude>{{Doc}}[[Category:Hero templates]]</noinclude>

Версия от 17:36, 24 сентября 2024