Шаблон:recipe
| Строка 1: | Строка 1: | ||
```html | |||
<includeonly> | <includeonly> | ||
<div style=" | <div style=" | ||
| Строка 28: | Строка 29: | ||
text-align:center; | text-align:center; | ||
line-height:18px; | line-height:18px; | ||
"> | ">{{{title|Рецепт}}} | ||
</div> | </div> | ||
</div> | </div> | ||
| Строка 67: | Строка 67: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
"> | ">[[File:{{{ingredient1_img}}}|46px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Строка 77: | Строка 75: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
"> | ">{{{ingredient1_name}}}{{#if:{{{ingredient1_amount|}}}| [{{{ingredient1_amount}}}]|}} | ||
</div> | </div> | ||
</div> | </div> | ||
| Строка 98: | Строка 95: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
"> | ">[[File:{{{ingredient2_img}}}|46px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Строка 108: | Строка 103: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
"> | ">{{{ingredient2_name}}}{{#if:{{{ingredient2_amount|}}}| [{{{ingredient2_amount}}}]|}} | ||
</div> | </div> | ||
</div> | </div> | ||
| Строка 129: | Строка 123: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
"> | ">[[File:{{{ingredient3_img}}}|46px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Строка 139: | Строка 131: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
"> | ">{{{ingredient3_name}}}{{#if:{{{ingredient3_amount|}}}| [{{{ingredient3_amount}}}]|}} | ||
</div> | </div> | ||
</div> | </div> | ||
| Строка 160: | Строка 151: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
"> | ">[[File:{{{ingredient4_img}}}|46px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Строка 170: | Строка 159: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
"> | ">{{{ingredient4_name}}}{{#if:{{{ingredient4_amount|}}}| [{{{ingredient4_amount}}}]|}} | ||
</div> | </div> | ||
</div> | </div> | ||
| Строка 191: | Строка 179: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
"> | ">[[File:{{{ingredient5_img}}}|46px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Строка 201: | Строка 187: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
"> | ">{{{ingredient5_name}}}{{#if:{{{ingredient5_amount|}}}| [{{{ingredient5_amount}}}]|}} | ||
</div> | </div> | ||
</div> | </div> | ||
| Строка 221: | Строка 206: | ||
"> | "> | ||
<!-- АВТОМАТИЧЕСКАЯ КАРТИНКА МЕТОДА --> | |||
<div style=" | |||
width:60px; | |||
height:60px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
overflow:hidden; | |||
">{{#switch:{{{method_name|}}} | |||
|Микроволновка=[[File:Microwave.gif|60px]] | |||
|Смешивание=[[File:Beaker.png|60px]] | |||
|Нож=[[File:Knife.png|60px]] | |||
|Скалка=[[File:RollingPin.png|60px]] | |||
|#default=[[File:Microwave.gif|60px]] | |||
}} | |||
</div> | |||
<div style=" | |||
font-size:13px; | |||
font-weight:bold; | |||
line-height:17px; | |||
text-align:center; | |||
color:#FFFFFF; | |||
margin-top:4px; | |||
">{{{method_name|Приготовление}}}{{#if:{{{method_time|}}}|<br>{{{method_time}}}|}} | |||
</div> | |||
</div> | </div> | ||
| Строка 266: | Строка 249: | ||
width:75px; | width:75px; | ||
"> | "> | ||
<div style=" | <div style=" | ||
width:58px; | width:58px; | ||
| Строка 274: | Строка 256: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
"> | ">[[File:{{{result_img}}}|46px]] | ||
</div> | </div> | ||
| Строка 284: | Строка 265: | ||
margin-top:5px; | margin-top:5px; | ||
line-height:16px; | line-height:16px; | ||
"> | ">{{{result_name|Результат}}} | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
| Строка 294: | Строка 273: | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
``` | |||