Шаблон:Item-shop: различия между версиями
(Новая страница: «<div class="item rarity-{{#switch: {{{item__type|{{{{{id|}}}|item__type}}}}} | 0 = common | 1 = uncommon | 2 = rare | 3 = epic | 4 = legendary | 5 = relic...») |
м |
||
| Строка 1: | Строка 1: | ||
<div class="item rarity-{{#switch: {{{item__type|{{{{{id|}}}|item__type}}}}} | <div class="item rarity-{{#switch: {{{item__type|{{{{{id|}}}|item__type}}}}} | ||
| − | | 0 = common | + | | {{sys/itemgrade|0}} = common |
| − | | 1 = uncommon | + | | {{sys/itemgrade|1}} = uncommon |
| − | | 2 = rare | + | | {{sys/itemgrade|2}} = rare |
| − | | 3 = epic | + | | {{sys/itemgrade|3}} = epic |
| − | | 4 = legendary | + | | {{sys/itemgrade|4}} = legendary |
| − | | 5 = relic | + | | {{sys/itemgrade|5}} = relic |
}}"> | }}"> | ||
| − | <div class="item__quantity text_center">{{{quantity|}}}</div> | + | {{#if: {{{sale|}}} |<div class="item__price_sale">{{{sale|}}}</div>}}<div class="item__quantity text_center">{{{quantity|}}}</div> |
| + | <div class="item__status">{{#if: {{{recom|}}}|<span>Рекоменд.</span>}}{{#if: {{{hit|}}}|<span>Хит</span>}}{{#if: {{{new|}}}|<span>Новинка</span>}}</div> | ||
<div class="item__img flex_center"> | <div class="item__img flex_center"> | ||
<div class="item__decors flex_center"><div></div><div></div><div></div></div>[[image:{{{item__img|{{{{{id|}}}|item__img}}}}}|link=]] | <div class="item__decors flex_center"><div></div><div></div><div></div></div>[[image:{{{item__img|{{{{{id|}}}|item__img}}}}}|link=]] | ||
</div> | </div> | ||
<div class="item__header flex_center text_center">{{{header|{{{{{id|}}}|header}}}}}</div> | <div class="item__header flex_center text_center">{{{header|{{{{{id|}}}|header}}}}}</div> | ||
| + | <div class="item__price">[[image:money_{{{money|}}}.png|class=item__price_money|link=]] | ||
| + | {{#if: {{{price_without-discount|}}} |<span class="item__price_without-discount">{{{price_without-discount|}}}</span>}}<span class="item__price_final">{{{price|}}}</span></div> | ||
</div> | </div> | ||