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

Нет описания правки
Нет описания правки
 
(не показаны 32 промежуточные версии этого же участника)
Строка 1: Строка 1:
<includeonly><!--
<includeonly><!--
--><div class="recipe-block" style="width:{{#switch:{{crd|{{{1}}}|types|num={{{2}}}}}|1=134px|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 class="recipe-name">[[{{crd|{{{1}}}|name|num={{{2}}}}}_(рецепт)|{{crd|{{{1}}}|name|num={{{2}}}}}]]</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">{{ii|{{{1}}}|{{cid|{{{1}}}|icon}}|{{cid|{{{1}}}|rarity}}|size=70px|count={{crd|{{{1}}}|count|num={{{2}}}}}}}</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"><!--
-->{{#if:{{cri|{{{1}}}|num={{{2}}}|index=1}}|<div class="item-small">{{ii|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=1}}|!}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=1}}|!}}|icon}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=1}}|!}}|rarity}}|size=30px|count={{#explode:{{cri|{{{1}}}|num={{{2}}}|index=1}}|!|1}}}}</div>}}<!--
-->{{#if:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=1}}|<div class="item-small">{{ItemIcon|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=1}}|!}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=1}}|!}}|icon}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=1}}|!}}|rarity}}|size=30px|count={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=1}}|!|1}}|link={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=1}}|!}}}}</div>}}<!--
-->{{#if:{{cri|{{{1}}}|num={{{2}}}|index=2}}|<div class="item-small">{{ii|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=2}}|!}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=2}}|!}}|icon}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=2}}|!}}|rarity}}|size=30px|count={{#explode:{{cri|{{{1}}}|num={{{2}}}|index=2}}|!|1}}}}</div>}}<!--
-->{{#if:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=2}}|<div class="item-small">{{ItemIcon|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=2}}|!}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=2}}|!}}|icon}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=2}}|!}}|rarity}}|size=30px|count={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=2}}|!|1}}|link={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=2}}|!}}}}</div>}}<!--
-->{{#if:{{cri|{{{1}}}|num={{{2}}}|index=3}}|<div class="item-small">{{ii|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=3}}|!}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=3}}|!}}|icon}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=3}}|!}}|rarity}}|size=30px|count={{#explode:{{cri|{{{1}}}|num={{{2}}}|index=3}}|!|1}}}}</div>}}<!--
-->{{#if:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=3}}|<div class="item-small">{{ItemIcon|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=3}}|!}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=3}}|!}}|icon}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=3}}|!}}|rarity}}|size=30px|count={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=3}}|!|1}}|link={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=3}}|!}}}}</div>}}<!--
-->{{#if:{{cri|{{{1}}}|num={{{2}}}|index=4}}|<div class="item-small">{{ii|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=4}}|!}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=4}}|!}}|icon}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=4}}|!}}|rarity}}|size=30px|count={{#explode:{{cri|{{{1}}}|num={{{2}}}|index=4}}|!|1}}}}</div>}}<!--
-->{{#if:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=4}}|<div class="item-small">{{ItemIcon|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=4}}|!}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=4}}|!}}|icon}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=4}}|!}}|rarity}}|size=30px|count={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=4}}|!|1}}|link={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=4}}|!}}}}</div>}}<!--
-->{{#if:{{cri|{{{1}}}|num={{{2}}}|index=5}}|<div class="item-small">{{ii|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=5}}|!}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=5}}|!}}|icon}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=5}}|!}}|rarity}}|size=30px|count={{#explode:{{cri|{{{1}}}|num={{{2}}}|index=5}}|!|1}}}}</div>}}<!--
-->{{#if:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=5}}|<div class="item-small">{{ItemIcon|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=5}}|!}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=5}}|!}}|icon}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=5}}|!}}|rarity}}|size=30px|count={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=5}}|!|1}}|link={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=5}}|!}}}}</div>}}<!--
-->{{#if:{{cri|{{{1}}}|num={{{2}}}|index=6}}|<div class="item-small">{{ii|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=6}}|!}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=6}}|!}}|icon}}|{{cid|{{#explode:{{cri|{{{1}}}|num={{{2}}}|index=6}}|!}}|rarity}}|size=30px|count={{#explode:{{cri|{{{1}}}|num={{{2}}}|index=6}}|!|1}}}}</div>}}<!--
-->{{#if:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=6}}|<div class="item-small">{{ItemIcon|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=6}}|!}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=6}}|!}}|icon}}|{{Current_item_data|{{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=6}}|!}}|rarity}}|size=30px|count={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=6}}|!|1}}|link={{#explode:{{Current_recipe_items|{{{1}}}|num={{{2}}}|index=6}}|!}}}}</div>}}<!--
--></div></div><!--
--></div></div><!--
--></includeonly>
--></includeonly>
<noinclude>{{doc}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Текущая версия от 11:59, 9 сентября 2024