Шаблон:RecipeImage: различия между версиями
Нет описания правки |
Нет описания правки |
||
Строка 1: | Строка 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div class="recipe__card" style="width:{{#switch:{{Current_recipe_data|{{{1}}}|types|num={{{2}}}}}|1=138px|2=178px|3=222px|default=222px}};"><!-- | --><div class="recipe__card" style="width:{{#switch:{{Current_recipe_data|{{{1}}}|types|num={{{2}}}}}|1=138px|2=178px|3=222px|default=222px}};"><!-- | ||
--><div style="color: #efefef; font-size: 13px; text-align: center; font-weight: bold; margin-bottom: -7px;">Шанс успеха: <span style="color:#efde22">{{Current_recipe_data|{{{1}}}|chance|num={{{2}}}}}%</span></div><!-- | --><div style="color: #efefef; font-size: 13px; text-align: center; font-weight: bold; margin-bottom: -7px;">{{#if:{{Current_recipe_data|{{{1}}}|max_chance|num={{{2}}}}}|<span style="color:#efde22">{{Current_recipe_data|{{{1}}}|chance|num={{{2}}}}}%-{{Current_recipe_data|{{{1}}}|max_chance|num={{{2}}}}}</span>}}|Шанс успеха: <span style="color:#efde22">{{Current_recipe_data|{{{1}}}|chance|num={{{2}}}}}%</span>}}</div><!-- | ||
--><div class="item-main">{{ItemIcon|{{{1}}}|{{Current_item_data|{{{1}}}|icon}}|{{Current_item_data|{{{1}}}|rarity}}|size=70px|count={{Current_recipe_data|{{{1}}}|count|num={{{2}}}}}|link={{{1}}}}}</div><!-- | --><div class="item-main">{{ItemIcon|{{{1}}}|{{Current_item_data|{{{1}}}|icon}}|{{Current_item_data|{{{1}}}|rarity}}|size=70px|count={{Current_recipe_data|{{{1}}}|count|num={{{2}}}}}|link={{{1}}}}}</div><!-- | ||
--><div class="item-small-block"><!-- | --><div class="item-small-block"><!-- |