Шаблон:recipe
| Строка 1: | Строка 1: | ||
<includeonly> | <includeonly> | ||
<div style=" | <div style=" | ||
display:flex; | display:inline-flex; | ||
flex-direction:column; | flex-direction:column; | ||
width:100%; | width:100%; | ||
max-width:760px; | max-width:760px; | ||
background:#171b22; | background:#171b22; | ||
border:1px solid # | border:1px solid #7d899c; | ||
border-radius: | border-radius:5px; | ||
overflow:hidden; | overflow:hidden; | ||
color:# | color:#fff; | ||
font-family:Arial,sans-serif; | font-family:Arial,sans-serif; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
<!-- ==================== --> | |||
<!-- НАЗВАНИЕ --> | <!-- НАЗВАНИЕ --> | ||
<!-- ==================== --> | |||
<div style=" | <div style=" | ||
background:#202632; | background:#202632; | ||
padding:12px 16px; | |||
border-bottom:1px solid #7d899c; | border-bottom:1px solid #7d899c; | ||
box-sizing:border-box; | |||
text-align:center; | text-align:center; | ||
"> | "> | ||
| Строка 37: | Строка 40: | ||
<!-- ==================== --> | |||
<!-- ИНГРЕДИЕНТЫ --> | <!-- ИНГРЕДИЕНТЫ --> | ||
<!-- ==================== --> | |||
<div style=" | <div style=" | ||
padding:14px; | padding:14px; | ||
| Строка 46: | Строка 52: | ||
font-size:15px; | font-size:15px; | ||
font-weight:bold; | font-weight:bold; | ||
color:# | color:#b9c9dd; | ||
padding-bottom:8px; | |||
margin-bottom:14px; | |||
border-bottom:1px solid # | border-bottom:1px solid #414b59; | ||
"> | "> | ||
Ингредиенты | Ингредиенты | ||
| Строка 55: | Строка 61: | ||
<!-- СЕТКА --> | <!-- СЕТКА ИНГРЕДИЕНТОВ --> | ||
<div style=" | <div style=" | ||
display:grid; | display:grid; | ||
grid-template-columns:repeat( | grid-template-columns:repeat(3, 1fr); | ||
gap: | gap:12px; | ||
justify-items:center; | |||
align-items:start; | |||
width:100%; | width:100%; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 65: | Строка 74: | ||
<!-- | <!-- ========= 1 ========= --> | ||
{{#if:{{{ingredient1_name|}}}| | {{#if:{{{ingredient1_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 77: | Строка 85: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 89: | Строка 97: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient1_img}}}|48px]] | [[File:{{{ingredient1_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient1_name}}} | {{{ingredient1_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient1_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient1_amount}}} | |||
</div> | </div> | ||
|}} | |}} | ||
</div> | |||
|}} | |||
<!-- ========= 2 ========= --> | |||
{{#if:{{{ingredient2_name|}}}| | {{#if:{{{ingredient2_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 119: | Строка 139: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 131: | Строка 151: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient2_img}}}|48px]] | [[File:{{{ingredient2_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient2_name}}} | {{{ingredient2_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient2_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient2_amount}}} | |||
</div> | |||
|}} | |||
</div> | </div> | ||
| Строка 149: | Строка 182: | ||
<!-- | <!-- ========= 3 ========= --> | ||
{{#if:{{{ingredient3_name|}}}| | {{#if:{{{ingredient3_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 161: | Строка 193: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 173: | Строка 205: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient3_img}}}|48px]] | [[File:{{{ingredient3_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient3_name}}} | {{{ingredient3_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient3_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient3_amount}}} | |||
</div> | |||
|}} | |||
</div> | </div> | ||
| Строка 191: | Строка 236: | ||
<!-- | <!-- ========= 4 ========= --> | ||
{{#if:{{{ingredient4_name|}}}| | {{#if:{{{ingredient4_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 203: | Строка 247: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 215: | Строка 259: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient4_img}}}|48px]] | [[File:{{{ingredient4_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient4_name}}} | {{{ingredient4_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient4_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient4_amount}}} | |||
</div> | </div> | ||
|}} | |}} | ||
</div> | |||
|}} | |||
<!-- ========= 5 ========= --> | |||
{{#if:{{{ingredient5_name|}}}| | {{#if:{{{ingredient5_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 245: | Строка 301: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 257: | Строка 313: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient5_img}}}|48px]] | [[File:{{{ingredient5_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient5_name}}} | {{{ingredient5_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient5_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient5_amount}}} | |||
</div> | |||
|}} | |||
</div> | </div> | ||
| Строка 275: | Строка 344: | ||
<!-- | <!-- ========= 6 ========= --> | ||
{{#if:{{{ingredient6_name|}}}| | {{#if:{{{ingredient6_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 287: | Строка 355: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 299: | Строка 367: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient6_img}}}|48px]] | [[File:{{{ingredient6_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient6_name}}} | {{{ingredient6_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient6_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient6_amount}}} | |||
</div> | |||
|}} | |||
</div> | </div> | ||
| Строка 317: | Строка 398: | ||
<!-- | <!-- ========= 7 ========= --> | ||
{{#if:{{{ingredient7_name|}}}| | {{#if:{{{ingredient7_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 329: | Строка 409: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 341: | Строка 421: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient7_img}}}|48px]] | [[File:{{{ingredient7_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient7_name}}} | {{{ingredient7_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient7_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient7_amount}}} | |||
</div> | </div> | ||
|}} | |}} | ||
</div> | |||
|}} | |||
<!-- ========= 8 ========= --> | |||
{{#if:{{{ingredient8_name|}}}| | {{#if:{{{ingredient8_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 371: | Строка 463: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 383: | Строка 475: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient8_img}}}|48px]] | [[File:{{{ingredient8_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient8_name}}} | {{{ingredient8_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient8_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient8_amount}}} | |||
</div> | |||
|}} | |||
</div> | </div> | ||
| Строка 401: | Строка 506: | ||
<!-- | <!-- ========= 9 ========= --> | ||
{{#if:{{{ingredient9_name|}}}| | {{#if:{{{ingredient9_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 413: | Строка 517: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 425: | Строка 529: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient9_img}}}|48px]] | [[File:{{{ingredient9_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient9_name}}} | {{{ingredient9_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient9_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient9_amount}}} | |||
</div> | </div> | ||
|}} | |}} | ||
</div> | |||
|}} | |||
<!-- ========= 10 ========= --> | |||
{{#if:{{{ingredient10_name|}}}| | {{#if:{{{ingredient10_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 455: | Строка 571: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 467: | Строка 583: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient10_img}}}|48px]] | [[File:{{{ingredient10_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient10_name}}} | {{{ingredient10_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient10_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient10_amount}}} | |||
</div> | |||
|}} | |||
</div> | </div> | ||
| Строка 485: | Строка 614: | ||
<!-- | <!-- ========= 11 ========= --> | ||
{{#if:{{{ingredient11_name|}}}| | {{#if:{{{ingredient11_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 497: | Строка 625: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 509: | Строка 637: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient11_img}}}|48px]] | [[File:{{{ingredient11_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient11_name}}} | {{{ingredient11_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient11_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient11_amount}}} | |||
</div> | |||
|}} | |||
</div> | </div> | ||
| Строка 527: | Строка 668: | ||
<!-- | <!-- ========= 12 ========= --> | ||
{{#if:{{{ingredient12_name|}}}| | {{#if:{{{ingredient12_name|}}}| | ||
<div style=" | <div style=" | ||
width:105px; | |||
padding:8px 6px; | padding:8px 6px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Строка 539: | Строка 679: | ||
<div style=" | <div style=" | ||
width: | width:63px; | ||
height: | height:63px; | ||
margin:0 auto; | margin:0 auto; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 551: | Строка 691: | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
[[File:{{{ingredient12_img}}}|48px]] | [[File:{{{ingredient12_img}}}|48px]] | ||
</div> | </div> | ||
<div style=" | <div style=" | ||
font-size: | font-size:14px; | ||
color:#e2e7ef; | color:#e2e7ef; | ||
text-align:center; | |||
margin-top:8px; | |||
line-height:17px; | line-height:17px; | ||
word-break:break-word; | word-break:break-word; | ||
"> | "> | ||
{{{ingredient12_name}}} | {{{ingredient12_name}}} | ||
</div> | </div> | ||
{{#if:{{{ingredient12_amount|}}}| | |||
<div style=" | |||
font-size:13px; | |||
color:#9eabc0; | |||
line-height:16px; | |||
margin-top:1px; | |||
"> | |||
× {{{ingredient12_amount}}} | |||
</div> | |||
|}} | |||
</div> | </div> | ||
| Строка 573: | Строка 726: | ||
<!-- СПОСОБ | <!-- ==================== --> | ||
<!-- СПОСОБ ПРИГОТОВЛЕНИЯ --> | |||
<!-- ==================== --> | |||
<div style=" | <div style=" | ||
border-top:1px solid # | background:#202632; | ||
border-top:1px solid #7d899c; | |||
padding:12px | padding:12px 16px; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
"> | "> | ||
| Строка 585: | Строка 741: | ||
align-items:center; | align-items:center; | ||
justify-content:center; | justify-content:center; | ||
gap: | gap:20px; | ||
flex-wrap:wrap; | flex-wrap:wrap; | ||
"> | "> | ||
| Строка 591: | Строка 747: | ||
<!-- СПОСОБ --> | <!-- СПОСОБ --> | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
align-items:center; | align-items:center; | ||
gap:10px; | gap:10px; | ||
"> | "> | ||
<div style=" | <div style=" | ||
width: | width:60px; | ||
height: | height:60px; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 608: | Строка 764: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
"> | "> | ||
[[File:{{{method_img|Microwave.gif}}}|48px]] | [[File:{{{method_img|Microwave.gif}}}|48px]] | ||
</div> | </div> | ||
<div | <div> | ||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
color:# | color:#91a0b6; | ||
line-height:16px; | line-height:16px; | ||
"> | "> | ||
| Строка 635: | Строка 792: | ||
<div style=" | <div style=" | ||
font-size:13px; | font-size:13px; | ||
color:# | color:#aab6c8; | ||
line-height:17px; | line-height:17px; | ||
"> | "> | ||
{{{method_time}}} | {{{method_time}}} | ||
| Строка 644: | Строка 800: | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- | <!-- СТРЕЛКА --> | ||
<div style=" | <div style=" | ||
font-size:22px; | font-size:22px; | ||
color:# | color:#71829c; | ||
"> | "> | ||
→ | → | ||
| Строка 657: | Строка 815: | ||
<!-- РЕЗУЛЬТАТ --> | <!-- РЕЗУЛЬТАТ --> | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
align-items:center; | align-items:center; | ||
gap:10px; | gap:10px; | ||
"> | "> | ||
<div style=" | <div style=" | ||
width: | width:60px; | ||
height: | height:60px; | ||
background:# | background:#242c38; | ||
border:1px solid #667386; | border:1px solid #667386; | ||
border-radius:4px; | border-radius:4px; | ||
| Строка 674: | Строка 832: | ||
justify-content:center; | justify-content:center; | ||
overflow:hidden; | overflow:hidden; | ||
"> | "> | ||
[[File:{{{result_img}}}|48px]] | [[File:{{{result_img}}}|48px]] | ||
</div> | </div> | ||
<div | <div> | ||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
color:# | color:#91a0b6; | ||
line-height:16px; | line-height:16px; | ||
"> | "> | ||
| Строка 699: | Строка 858: | ||
</div> | </div> | ||
</div> | </div> | ||
| Строка 706: | Строка 866: | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
| Строка 714: | Строка 875: | ||
== Recipe — шаблон рецепта == | == Recipe — шаблон рецепта == | ||
Универсальный шаблон рецептов. | |||
Ингредиенты | Ингредиенты отображаются компактными карточками в сетке по три элемента в ряд. | ||
=== Параметры === | === Параметры === | ||
| Строка 725: | Строка 886: | ||
| <code>title</code> || Название рецепта || Да | | <code>title</code> || Название рецепта || Да | ||
|- | |- | ||
| <code>ingredient1_name</code> ... <code>ingredient12_name</code> || Названия ингредиентов || | | <code>ingredient1_name</code> ... <code>ingredient12_name</code> || Названия ингредиентов || Для используемых ингредиентов | ||
|- | |- | ||
| <code>ingredient1_img</code> ... <code>ingredient12_img</code> || Изображения ингредиентов || | | <code>ingredient1_img</code> ... <code>ingredient12_img</code> || Изображения ингредиентов || Для используемых ингредиентов | ||
|- | |- | ||
| <code>ingredient1_amount</code> ... <code>ingredient12_amount</code> || Количество ингредиентов || Нет | | <code>ingredient1_amount</code> ... <code>ingredient12_amount</code> || Количество ингредиентов || Нет | ||
| Строка 741: | Строка 902: | ||
| <code>result_img</code> || Изображение результата || Да | | <code>result_img</code> || Изображение результата || Да | ||
|} | |} | ||
=== Пример === | === Пример === | ||
| Строка 766: | Строка 907: | ||
<pre> | <pre> | ||
{{Recipe | {{Recipe | ||
|title= | |title=Тесто | ||
|ingredient1_name= | |ingredient1_name=Мука | ||
|ingredient1_img= | |ingredient1_img=FoodFlour.png | ||
|ingredient1_amount= | |ingredient1_amount=15 | ||
|ingredient2_name= | |ingredient2_name=Вода | ||
|ingredient2_img= | |ingredient2_img=FoodWater.png | ||
|ingredient2_amount= | |ingredient2_amount=10 | ||
|ingredient3_name= | |ingredient3_name=Соль | ||
|ingredient3_img= | |ingredient3_img=FoodSalt.png | ||
|ingredient3_amount=1 | |ingredient3_amount=1 | ||
|method_name=Смешивание | |||
|method_img=Mixing.png | |||
|method_name= | |||
|method_img= | |||
|result_name= | |result_name=Тесто | ||
|result_img= | |result_img=FoodDough.png | ||
}} | }} | ||
</pre> | </pre> | ||