Шаблон:CaliberQuickRatingWeapons — различия между версиями
Версия 09:28, 29 июня 2020 | Версия 09:29, 29 июня 2020 | |||
Строка 22: | Строка 22: | |||
<!-- Урон --> | <!-- Урон --> | |||
? | <div title="Урон в топе {{CaliberWeapons|{{{weapons}}}|damage|top}} ед." style="background-color:#e10000; height: | + | <div title="Урон в топе {{CaliberWeapons|{{{weapons}}}|damage|top}} ед." style="background-color:#e10000; height:16px; width:{{ #expr: {{#var:maxwidth}} * {{CaliberWeapons|{{{weapons}}}|damage|top}} / {{#var:maxdamage}} round 0}}px"></div> | |
<!-- Скорострельность --> | <!-- Скорострельность --> | |||
? | <div title="Скорострельность в топе {{CaliberWeapons|{{{weapons}}}|rateOfFire|top}} выстр/мин" style="margin-top: 2px; background-color:#009933; height: | + | <div title="Скорострельность в топе {{CaliberWeapons|{{{weapons}}}|rateOfFire|top}} выстр/мин" style="margin-top: 2px; background-color:#009933; height:16px; width:{{ #expr: {{#var:maxwidth}} * {{CaliberWeapons|{{{weapons}}}|rateOfFire|top}} / {{#var:maxrateOfFire}} round 0}}px"></div> | |
<!-- Бронепробиваемость --> | <!-- Бронепробиваемость --> | |||
? | <div title="Бронепробиваемость в топе {{CaliberWeapons|{{{weapons}}}|penetration|top}} ед." style="margin-top: 2px; background-color:#0058e6; height: | + | <div title="Бронепробиваемость в топе {{CaliberWeapons|{{{weapons}}}|penetration|top}} ед." style="margin-top: 2px; background-color:#0058e6; height:16px; width:{{ #expr: {{#var:minpenetration}} * {{#var:maxpenetration}} / {{CaliberWeapons|{{{weapons}}}|penetration|top}} round 0}}px"></div> | |
<!-- Эффективная дальность --> | <!-- Эффективная дальность --> | |||
? | <div title="Эффективная дальность в топе {{CaliberWeapons|{{{weapons}}}|effectiverange|top}} м." style="margin-top: 2px; background-color:#ff9900; height: | + | <div title="Эффективная дальность в топе {{CaliberWeapons|{{{weapons}}}|effectiverange|top}} м." style="margin-top: 2px; background-color:#ff9900; height:16px; width:{{ #expr: {{#var:maxwidth}} * {{CaliberWeapons|{{{weapons}}}|effectiverange|top}} / {{#var:maxeffectiverange}} round 0}}px"></div> | |
<!-- Время перезарядки --> | <!-- Время перезарядки --> | |||
? | <div title="Время перезарядки в топе {{CaliberWeapons|{{{weapons}}}|reloadtime|top}} сек." style="margin-top: 2px; background-color: #d26806; height: | + | <div title="Время перезарядки в топе {{CaliberWeapons|{{{weapons}}}|reloadtime|top}} сек." style="margin-top: 2px; background-color: #d26806; height:16px; width:{{ #expr: {{#var:maxwidth}} * (1 - {{CaliberWeapons|{{{weapons}}}|reloadtime|top}} / {{#var:maxreloadtime}}) round 0}}px"></div> | |
<!-- Боезапас --> | <!-- Боезапас --> |
Версия 09:29, 29 июня 2020
Пример результата:
Категория: