Шаблон:recipe
| Строка 12: | Строка 12: | ||
<!-- НАЗВАНИЕ --> | <!-- НАЗВАНИЕ --> | ||
<div style=" | <div style=" | ||
min-height:28px; | min-height:28px; | ||
| Строка 29: | Строка 28: | ||
text-align:center; | text-align:center; | ||
line-height:18px; | line-height:18px; | ||
">{{{title|Рецепт}}}</div> | ">{{{title|Рецепт}}} | ||
</div> | |||
</div> | </div> | ||
<!-- ОСНОВНАЯ ЧАСТЬ --> | <!-- ОСНОВНАЯ ЧАСТЬ --> | ||
<div style=" | <div style=" | ||
display:inline-flex; | display:inline-flex; | ||
| Строка 44: | Строка 43: | ||
<!-- ИНГРЕДИЕНТЫ --> | <!-- ИНГРЕДИЕНТЫ --> | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
| Строка 54: | Строка 52: | ||
<!-- ИНГРЕДИЕНТ 1 --> | <!-- ИНГРЕДИЕНТ 1 --> | ||
{{#if:{{{ingredient1_name|}}}| | {{#if:{{{ingredient1_name|}}}| | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
| Строка 70: | Строка 66: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
">[[File:{{{ingredient1_img}}}|46px]]</div> | ">[[File:{{{ingredient1_img}}}|46px]] | ||
</div> | |||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Строка 77: | Строка 74: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
">{{{ingredient1_name}}}{{#if:{{{ingredient1_amount|}}}| [{{{ingredient1_amount}}}]|}}</div> | ">{{{ingredient1_name}}}{{#if:{{{ingredient1_amount|}}}| [{{{ingredient1_amount}}}]|}} | ||
</div> | |||
</div> | </div> | ||
|}} | |}} | ||
<!-- ИНГРЕДИЕНТ 2 --> | <!-- ИНГРЕДИЕНТ 2 --> | ||
{{#if:{{{ingredient2_name|}}}| | {{#if:{{{ingredient2_name|}}}| | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
| Строка 98: | Строка 94: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
">[[File:{{{ingredient2_img}}}|46px]]</div> | ">[[File:{{{ingredient2_img}}}|46px]] | ||
</div> | |||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Строка 105: | Строка 102: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
">{{{ingredient2_name}}}{{#if:{{{ingredient2_amount|}}}| [{{{ingredient2_amount}}}]|}}</div> | ">{{{ingredient2_name}}}{{#if:{{{ingredient2_amount|}}}| [{{{ingredient2_amount}}}]|}} | ||
</div> | |||
</div> | </div> | ||
|}} | |}} | ||
<!-- ИНГРЕДИЕНТ 3 --> | <!-- ИНГРЕДИЕНТ 3 --> | ||
{{#if:{{{ingredient3_name|}}}| | {{#if:{{{ingredient3_name|}}}| | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
| Строка 126: | Строка 122: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
">[[File:{{{ingredient3_img}}}|46px]]</div> | ">[[File:{{{ingredient3_img}}}|46px]] | ||
</div> | |||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Строка 133: | Строка 130: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
">{{{ingredient3_name}}}{{#if:{{{ingredient3_amount|}}}| [{{{ingredient3_amount}}}]|}}</div> | ">{{{ingredient3_name}}}{{#if:{{{ingredient3_amount|}}}| [{{{ingredient3_amount}}}]|}} | ||
</div> | |||
</div> | </div> | ||
|}} | |}} | ||
<!-- ИНГРЕДИЕНТ 4 --> | <!-- ИНГРЕДИЕНТ 4 --> | ||
{{#if:{{{ingredient4_name|}}}| | {{#if:{{{ingredient4_name|}}}| | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
| Строка 154: | Строка 150: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
">[[File:{{{ingredient4_img}}}|46px]]</div> | ">[[File:{{{ingredient4_img}}}|46px]] | ||
</div> | |||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Строка 161: | Строка 158: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
">{{{ingredient4_name}}}{{#if:{{{ingredient4_amount|}}}| [{{{ingredient4_amount}}}]|}}</div> | ">{{{ingredient4_name}}}{{#if:{{{ingredient4_amount|}}}| [{{{ingredient4_amount}}}]|}} | ||
</div> | |||
</div> | </div> | ||
|}} | |}} | ||
<!-- ИНГРЕДИЕНТ 5 --> | <!-- ИНГРЕДИЕНТ 5 --> | ||
{{#if:{{{ingredient5_name|}}}| | {{#if:{{{ingredient5_name|}}}| | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
| Строка 182: | Строка 178: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
">[[File:{{{ingredient5_img}}}|46px]]</div> | ">[[File:{{{ingredient5_img}}}|46px]] | ||
</div> | |||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Строка 189: | Строка 186: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
">{{{ingredient5_name}}}{{#if:{{{ingredient5_amount|}}}| [{{{ingredient5_amount}}}]|}}</div> | ">{{{ingredient5_name}}}{{#if:{{{ingredient5_amount|}}}| [{{{ingredient5_amount}}}]|}} | ||
</div> | |||
</div> | </div> | ||
|}} | |}} | ||
| Строка 196: | Строка 194: | ||
<!-- СПОСОБ ПРИГОТОВЛЕНИЯ --> | <!-- СПОСОБ ПРИГОТОВЛЕНИЯ --> | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
| Строка 208: | Строка 205: | ||
"> | "> | ||
<!-- АВТОМАТИЧЕСКАЯ КАРТИНКА МЕТОДА --> | |||
<div style=" | <div style=" | ||
width:60px; | width:60px; | ||
| Строка 221: | Строка 219: | ||
|Скалка=[[File:RollingPin.png|60px]] | |Скалка=[[File:RollingPin.png|60px]] | ||
|#default=[[File:Microwave.gif|60px]] | |#default=[[File:Microwave.gif|60px]] | ||
}}</div> | }} | ||
</div> | |||
<div style=" | <div style=" | ||
| Строка 230: | Строка 229: | ||
color:#FFFFFF; | color:#FFFFFF; | ||
margin-top:4px; | margin-top:4px; | ||
">{{{method_name|Приготовление}}}{{#if:{{{method_time|}}}|<br>{{{method_time}}}|}}</div> | ">{{{method_name|Приготовление}}}{{#if:{{{method_time|}}}|<br>{{{method_time}}}|}} | ||
</div> | |||
</div> | </div> | ||
<!-- РЕЗУЛЬТАТ --> | <!-- РЕЗУЛЬТАТ --> | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
| Строка 256: | Строка 255: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
">[[File:{{{result_img}}}|46px]] | ">[[File:{{{result_img}}}|46px]] | ||
</div> | |||
</div> | |||
<div style=" | |||
font-size:12px; | |||
color:#FFFFFF; | |||
text-align:center; | |||
margin-top:5px; | |||
line-height:16px; | |||
">{{{result_name|Результат}}} | |||
</div> | |||
</div> | |||
</div> | </div> | ||