|
|
| Строка 1: |
Строка 1: |
| <includeonly> | | <includeonly> |
|
| |
| <div style=" | | <div style=" |
| display:inline-flex; | | display:inline-flex; |
| flex-direction:column; | | flex-direction:column; |
| width:100%;
| | background:#171B22; |
| max-width:760px;
| | border:1px solid #FFFFFF; |
| background:#171b22; | | box-sizing:border-box; |
| border:1px solid #7d899c; | | overflow:hidden; |
| border-radius:5px; | | color:#FFFFFF; |
| overflow:hidden; | | font-family:Arial,sans-serif; |
| color:#fff; | |
| font-family:Arial,sans-serif; | |
| box-sizing:border-box;
| |
| "> | | "> |
|
| |
|
|
| |
| <!-- ==================== -->
| |
| <!-- НАЗВАНИЕ --> | | <!-- НАЗВАНИЕ --> |
| <!-- ==================== -->
| |
|
| |
| <div style=" | | <div style=" |
| background:#202632; | | min-height:28px; |
| padding:12px 16px;
| | background:#202632; |
| border-bottom:1px solid #7d899c;
| | display:flex; |
| box-sizing:border-box; | | align-items:center; |
| text-align:center;
| | justify-content:center; |
| | padding:3px 10px; |
| | box-sizing:border-box; |
| | border-bottom:1px solid #FFFFFF; |
| "> | | "> |
| | <div style=" |
| | font-size:14px; |
| | font-weight:bold; |
| | color:#FFFFFF; |
| | text-align:center; |
| | line-height:18px; |
| | "> |
| | {{{title|Рецепт}}} |
| | </div> |
| | </div> |
|
| |
|
| | <!-- ОСНОВНАЯ ЧАСТЬ --> |
| <div style=" | | <div style=" |
| font-size:20px;
| | display:inline-flex; |
| font-weight:bold;
| | align-items:center; |
| color:#e8edf5;
| | justify-content:center; |
| line-height:24px;
| | gap:20px; |
| | padding:12px; |
| | box-sizing:border-box; |
| "> | | "> |
| {{{title|Рецепт}}}
| |
| </div>
| |
|
| |
|
| </div>
| |
|
| |
|
| |
| <!-- ==================== -->
| |
| <!-- ИНГРЕДИЕНТЫ --> | | <!-- ИНГРЕДИЕНТЫ --> |
| <!-- ==================== -->
| |
|
| |
| <div style="
| |
| padding:14px;
| |
| box-sizing:border-box;
| |
| ">
| |
|
| |
| <div style=" | | <div style=" |
| font-size:15px;
| | display:flex; |
| font-weight:bold;
| | align-items:flex-start; |
| color:#b9c9dd;
| | justify-content:center; |
| padding-bottom:8px;
| | gap:8px; |
| margin-bottom:14px;
| | flex-wrap:wrap; |
| border-bottom:1px solid #414b59;
| |
| "> | | "> |
| Ингредиенты
| |
| </div>
| |
|
| |
|
| |
| <!-- СЕТКА ИНГРЕДИЕНТОВ -->
| |
|
| |
| <div style="
| |
| display:grid;
| |
| grid-template-columns:repeat(3, 1fr);
| |
| gap:12px;
| |
| justify-items:center;
| |
| align-items:start;
| |
| width:100%;
| |
| box-sizing:border-box;
| |
| ">
| |
|
| |
|
| |
| <!-- ========= 1 ========= -->
| |
|
| |
|
| | <!-- ИНГРЕДИЕНТ 1 --> |
| {{#if:{{{ingredient1_name|}}}| | | {{#if:{{{ingredient1_name|}}}| |
| <div style=" | | <div style=" |
| width:105px;
| | display:flex; |
| padding:8px 6px;
| | flex-direction:column; |
| box-sizing:border-box;
| | align-items:center; |
| text-align:center;
| | width:70px; |
| ">
| |
| | |
| <div style="
| |
| width:63px;
| |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center; | |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| ">
| |
| | |
| [[File:{{{ingredient1_img}}}|48px]]
| |
| | |
| </div>
| |
| | |
| <div style="
| |
| font-size:14px;
| |
| color:#e2e7ef;
| |
| text-align:center;
| |
| margin-top:8px;
| |
| line-height:17px;
| |
| word-break:break-word;
| |
| ">
| |
| {{{ingredient1_name}}}
| |
| </div>
| |
| | |
| {{#if:{{{ingredient1_amount|}}}|
| |
| <div style="
| |
| font-size:13px;
| |
| color:#9eabc0;
| |
| line-height:16px;
| |
| margin-top:1px;
| |
| "> | | "> |
| × {{{ingredient1_amount}}}
| | <div style=" |
| </div> | | width:58px; |
| |}} | | height:58px; |
| | | background:#202632; |
| | border:1px solid #FFFFFF; |
| | box-sizing:border-box; |
| | display:flex; |
| | align-items:center; |
| | justify-content:center; |
| | overflow:hidden; |
| | "> |
| | [[File:{{{ingredient1_img}}}|46px]] |
| | </div> |
| | <div style=" |
| | font-size:12px; |
| | color:#FFFFFF; |
| | text-align:center; |
| | margin-top:5px; |
| | line-height:16px; |
| | "> |
| | {{{ingredient1_name}}}{{#if:{{{ingredient1_amount|}}}| [{{{ingredient1_amount}}}]|}} |
| | </div> |
| </div> | | </div> |
| |}} | | |}} |
|
| |
|
| | | <!-- ИНГРЕДИЕНТ 2 --> |
| <!-- ========= 2 ========= --> | |
| | |
| {{#if:{{{ingredient2_name|}}}| | | {{#if:{{{ingredient2_name|}}}| |
| <div style=" | | <div style=" |
| width:105px;
| | display:flex; |
| padding:8px 6px;
| | flex-direction:column; |
| box-sizing:border-box;
| | align-items:center; |
| text-align:center;
| | width:70px; |
| "> | | "> |
| | | <div style=" |
| <div style=" | | width:58px; |
| width:63px; | | height:58px; |
| height:63px; | | background:#202632; |
| margin:0 auto;
| | border:1px solid #FFFFFF; |
| background:#242c38; | | box-sizing:border-box; |
| border:1px solid #667386; | | display:flex; |
| border-radius:4px; | | align-items:center; |
| display:flex; | | justify-content:center; |
| align-items:center; | | overflow:hidden; |
| justify-content:center; | | "> |
| overflow:hidden; | | [[File:{{{ingredient2_img}}}|46px]] |
| box-sizing:border-box;
| | </div> |
| "> | | <div style=" |
| | | font-size:12px; |
| [[File:{{{ingredient2_img}}}|48px]] | | color:#FFFFFF; |
| | | text-align:center; |
| </div> | | margin-top:5px; |
| | | line-height:16px; |
| <div style=" | | "> |
| font-size:14px; | | {{{ingredient2_name}}}{{#if:{{{ingredient2_amount|}}}| [{{{ingredient2_amount}}}]|}} |
| color:#e2e7ef; | | </div> |
| text-align:center; | |
| margin-top:8px; | |
| line-height:17px; | |
| word-break:break-word;
| |
| "> | |
| {{{ingredient2_name}}} | |
| </div>
| |
| | |
| {{#if:{{{ingredient2_amount|}}}| | |
| <div style="
| |
| font-size:13px;
| |
| color:#9eabc0;
| |
| line-height:16px;
| |
| margin-top:1px;
| |
| ">
| |
| × {{{ingredient2_amount}}}
| |
| </div> | | </div> |
| |}} | | |}} |
|
| |
|
| </div>
| | <!-- ИНГРЕДИЕНТ 3 --> |
| |}}
| |
| | |
| | |
| <!-- ========= 3 ========= --> | |
| | |
| {{#if:{{{ingredient3_name|}}}| | | {{#if:{{{ingredient3_name|}}}| |
| <div style=" | | <div style=" |
| width:105px;
| | display:flex; |
| padding:8px 6px;
| | flex-direction:column; |
| box-sizing:border-box;
| | align-items:center; |
| text-align:center;
| | width:70px; |
| ">
| |
| | |
| <div style="
| |
| width:63px;
| |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center; | |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| "> | | "> |
| | | <div style=" |
| [[File:{{{ingredient3_img}}}|48px]] | | width:58px; |
| | | height:58px; |
| </div> | | background:#202632; |
| | | border:1px solid #FFFFFF; |
| <div style=" | | box-sizing:border-box; |
| font-size:14px; | | display:flex; |
| color:#e2e7ef; | | align-items:center; |
| text-align:center; | | justify-content:center; |
| margin-top:8px; | | overflow:hidden; |
| line-height:17px; | | "> |
| word-break:break-word;
| | [[File:{{{ingredient3_img}}}|46px]] |
| "> | | </div> |
| {{{ingredient3_name}}} | | <div style=" |
| </div>
| | font-size:12px; |
| | | color:#FFFFFF; |
| {{#if:{{{ingredient3_amount|}}}| | | text-align:center; |
| <div style="
| | margin-top:5px; |
| font-size:13px;
| | line-height:16px; |
| color:#9eabc0;
| | "> |
| line-height:16px;
| | {{{ingredient3_name}}}{{#if:{{{ingredient3_amount|}}}| [{{{ingredient3_amount}}}]|}} |
| margin-top:1px;
| | </div> |
| ">
| |
| × {{{ingredient3_amount}}}
| |
| </div> | | </div> |
| |}} | | |}} |
|
| |
|
| </div>
| | <!-- ИНГРЕДИЕНТ 4 --> |
| |}}
| |
| | |
| | |
| <!-- ========= 4 ========= --> | |
| | |
| {{#if:{{{ingredient4_name|}}}| | | {{#if:{{{ingredient4_name|}}}| |
| <div style=" | | <div style=" |
| width:105px;
| | display:flex; |
| padding:8px 6px;
| | flex-direction:column; |
| box-sizing:border-box;
| | align-items:center; |
| text-align:center;
| | width:70px; |
| ">
| |
| | |
| <div style="
| |
| width:63px;
| |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center; | |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| ">
| |
| | |
| [[File:{{{ingredient4_img}}}|48px]]
| |
| | |
| </div>
| |
| | |
| <div style="
| |
| font-size:14px;
| |
| color:#e2e7ef;
| |
| text-align:center;
| |
| margin-top:8px;
| |
| line-height:17px;
| |
| word-break:break-word;
| |
| ">
| |
| {{{ingredient4_name}}}
| |
| </div>
| |
| | |
| {{#if:{{{ingredient4_amount|}}}|
| |
| <div style="
| |
| font-size:13px;
| |
| color:#9eabc0;
| |
| line-height:16px;
| |
| margin-top:1px;
| |
| "> | | "> |
| × {{{ingredient4_amount}}}
| | <div style=" |
| </div> | | width:58px; |
| |}} | | height:58px; |
| | | background:#202632; |
| | border:1px solid #FFFFFF; |
| | box-sizing:border-box; |
| | display:flex; |
| | align-items:center; |
| | justify-content:center; |
| | overflow:hidden; |
| | "> |
| | [[File:{{{ingredient4_img}}}|46px]] |
| | </div> |
| | <div style=" |
| | font-size:12px; |
| | color:#FFFFFF; |
| | text-align:center; |
| | margin-top:5px; |
| | line-height:16px; |
| | "> |
| | {{{ingredient4_name}}}{{#if:{{{ingredient4_amount|}}}| [{{{ingredient4_amount}}}]|}} |
| | </div> |
| </div> | | </div> |
| |}} | | |}} |
|
| |
|
| | | <!-- ИНГРЕДИЕНТ 5 --> |
| <!-- ========= 5 ========= --> | |
| | |
| {{#if:{{{ingredient5_name|}}}| | | {{#if:{{{ingredient5_name|}}}| |
| <div style=" | | <div style=" |
| width:105px;
| | display:flex; |
| padding:8px 6px;
| | flex-direction:column; |
| box-sizing:border-box;
| | align-items:center; |
| text-align:center;
| | width:70px; |
| ">
| |
| | |
| <div style="
| |
| width:63px;
| |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex; | |
| align-items:center;
| |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| ">
| |
| | |
| [[File:{{{ingredient5_img}}}|48px]]
| |
| | |
| </div>
| |
| | |
| <div style="
| |
| font-size:14px;
| |
| color:#e2e7ef;
| |
| text-align:center;
| |
| margin-top:8px;
| |
| line-height:17px;
| |
| word-break:break-word;
| |
| ">
| |
| {{{ingredient5_name}}}
| |
| </div>
| |
| | |
| {{#if:{{{ingredient5_amount|}}}|
| |
| <div style="
| |
| font-size:13px;
| |
| color:#9eabc0;
| |
| line-height:16px;
| |
| margin-top:1px;
| |
| ">
| |
| × {{{ingredient5_amount}}}
| |
| </div>
| |
| |}}
| |
| | |
| </div>
| |
| |}}
| |
| | |
| | |
| <!-- ========= 6 ========= -->
| |
| | |
| {{#if:{{{ingredient6_name|}}}|
| |
| <div style="
| |
| width:105px;
| |
| padding:8px 6px;
| |
| box-sizing:border-box;
| |
| text-align:center;
| |
| ">
| |
| | |
| <div style="
| |
| width:63px; | |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center;
| |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| ">
| |
| | |
| [[File:{{{ingredient6_img}}}|48px]]
| |
| | |
| </div>
| |
| | |
| <div style="
| |
| font-size:14px;
| |
| color:#e2e7ef;
| |
| text-align:center;
| |
| margin-top:8px;
| |
| line-height:17px;
| |
| word-break:break-word;
| |
| "> | | "> |
| {{{ingredient6_name}}}
| | <div style=" |
| </div> | | width:58px; |
| | | height:58px; |
| {{#if:{{{ingredient6_amount|}}}|
| | background:#202632; |
| <div style=" | | border:1px solid #FFFFFF; |
| font-size:13px; | | box-sizing:border-box; |
| color:#9eabc0; | | display:flex; |
| line-height:16px;
| | align-items:center; |
| margin-top:1px; | | justify-content:center; |
| "> | | overflow:hidden; |
| × {{{ingredient6_amount}}}
| | "> |
| | [[File:{{{ingredient5_img}}}|46px]] |
| | </div> |
| | <div style=" |
| | font-size:12px; |
| | color:#FFFFFF; |
| | text-align:center; |
| | margin-top:5px; |
| | line-height:16px; |
| | "> |
| | {{{ingredient5_name}}}{{#if:{{{ingredient5_amount|}}}| [{{{ingredient5_amount}}}]|}} |
| | </div> |
| </div> | | </div> |
| |}} | | |}} |
|
| |
|
| </div> | | </div> |
| |}}
| |
|
| |
|
|
| |
| <!-- ========= 7 ========= -->
| |
|
| |
| {{#if:{{{ingredient7_name|}}}|
| |
| <div style="
| |
| width:105px;
| |
| padding:8px 6px;
| |
| box-sizing:border-box;
| |
| text-align:center;
| |
| ">
| |
|
| |
| <div style="
| |
| width:63px;
| |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center;
| |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| ">
| |
|
| |
| [[File:{{{ingredient7_img}}}|48px]]
| |
|
| |
| </div>
| |
|
| |
| <div style="
| |
| font-size:14px;
| |
| color:#e2e7ef;
| |
| text-align:center;
| |
| margin-top:8px;
| |
| line-height:17px;
| |
| word-break:break-word;
| |
| ">
| |
| {{{ingredient7_name}}}
| |
| </div>
| |
|
| |
| {{#if:{{{ingredient7_amount|}}}|
| |
| <div style="
| |
| font-size:13px;
| |
| color:#9eabc0;
| |
| line-height:16px;
| |
| margin-top:1px;
| |
| ">
| |
| × {{{ingredient7_amount}}}
| |
| </div>
| |
| |}}
| |
|
| |
| </div>
| |
| |}}
| |
|
| |
|
| |
| <!-- ========= 8 ========= -->
| |
|
| |
| {{#if:{{{ingredient8_name|}}}|
| |
| <div style="
| |
| width:105px;
| |
| padding:8px 6px;
| |
| box-sizing:border-box;
| |
| text-align:center;
| |
| ">
| |
|
| |
| <div style="
| |
| width:63px;
| |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center;
| |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| ">
| |
|
| |
| [[File:{{{ingredient8_img}}}|48px]]
| |
|
| |
| </div>
| |
|
| |
| <div style="
| |
| font-size:14px;
| |
| color:#e2e7ef;
| |
| text-align:center;
| |
| margin-top:8px;
| |
| line-height:17px;
| |
| word-break:break-word;
| |
| ">
| |
| {{{ingredient8_name}}}
| |
| </div>
| |
|
| |
| {{#if:{{{ingredient8_amount|}}}|
| |
| <div style="
| |
| font-size:13px;
| |
| color:#9eabc0;
| |
| line-height:16px;
| |
| margin-top:1px;
| |
| ">
| |
| × {{{ingredient8_amount}}}
| |
| </div>
| |
| |}}
| |
|
| |
| </div>
| |
| |}}
| |
|
| |
|
| |
| <!-- ========= 9 ========= -->
| |
|
| |
| {{#if:{{{ingredient9_name|}}}|
| |
| <div style="
| |
| width:105px;
| |
| padding:8px 6px;
| |
| box-sizing:border-box;
| |
| text-align:center;
| |
| ">
| |
|
| |
| <div style="
| |
| width:63px;
| |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center;
| |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| ">
| |
|
| |
| [[File:{{{ingredient9_img}}}|48px]]
| |
|
| |
| </div>
| |
|
| |
| <div style="
| |
| font-size:14px;
| |
| color:#e2e7ef;
| |
| text-align:center;
| |
| margin-top:8px;
| |
| line-height:17px;
| |
| word-break:break-word;
| |
| ">
| |
| {{{ingredient9_name}}}
| |
| </div>
| |
|
| |
| {{#if:{{{ingredient9_amount|}}}|
| |
| <div style="
| |
| font-size:13px;
| |
| color:#9eabc0;
| |
| line-height:16px;
| |
| margin-top:1px;
| |
| ">
| |
| × {{{ingredient9_amount}}}
| |
| </div>
| |
| |}}
| |
|
| |
| </div>
| |
| |}}
| |
|
| |
|
| |
| <!-- ========= 10 ========= -->
| |
|
| |
| {{#if:{{{ingredient10_name|}}}|
| |
| <div style="
| |
| width:105px;
| |
| padding:8px 6px;
| |
| box-sizing:border-box;
| |
| text-align:center;
| |
| ">
| |
|
| |
| <div style="
| |
| width:63px;
| |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center;
| |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| ">
| |
|
| |
| [[File:{{{ingredient10_img}}}|48px]]
| |
|
| |
| </div>
| |
|
| |
| <div style="
| |
| font-size:14px;
| |
| color:#e2e7ef;
| |
| text-align:center;
| |
| margin-top:8px;
| |
| line-height:17px;
| |
| word-break:break-word;
| |
| ">
| |
| {{{ingredient10_name}}}
| |
| </div>
| |
|
| |
| {{#if:{{{ingredient10_amount|}}}|
| |
| <div style="
| |
| font-size:13px;
| |
| color:#9eabc0;
| |
| line-height:16px;
| |
| margin-top:1px;
| |
| ">
| |
| × {{{ingredient10_amount}}}
| |
| </div>
| |
| |}}
| |
|
| |
| </div>
| |
| |}}
| |
|
| |
|
| |
| <!-- ========= 11 ========= -->
| |
|
| |
| {{#if:{{{ingredient11_name|}}}|
| |
| <div style="
| |
| width:105px;
| |
| padding:8px 6px;
| |
| box-sizing:border-box;
| |
| text-align:center;
| |
| ">
| |
|
| |
| <div style="
| |
| width:63px;
| |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center;
| |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| ">
| |
|
| |
| [[File:{{{ingredient11_img}}}|48px]]
| |
|
| |
| </div>
| |
|
| |
| <div style="
| |
| font-size:14px;
| |
| color:#e2e7ef;
| |
| text-align:center;
| |
| margin-top:8px;
| |
| line-height:17px;
| |
| word-break:break-word;
| |
| ">
| |
| {{{ingredient11_name}}}
| |
| </div>
| |
|
| |
| {{#if:{{{ingredient11_amount|}}}|
| |
| <div style="
| |
| font-size:13px;
| |
| color:#9eabc0;
| |
| line-height:16px;
| |
| margin-top:1px;
| |
| ">
| |
| × {{{ingredient11_amount}}}
| |
| </div>
| |
| |}}
| |
|
| |
| </div>
| |
| |}}
| |
|
| |
|
| |
| <!-- ========= 12 ========= -->
| |
|
| |
| {{#if:{{{ingredient12_name|}}}|
| |
| <div style="
| |
| width:105px;
| |
| padding:8px 6px;
| |
| box-sizing:border-box;
| |
| text-align:center;
| |
| ">
| |
|
| |
| <div style="
| |
| width:63px;
| |
| height:63px;
| |
| margin:0 auto;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center;
| |
| justify-content:center;
| |
| overflow:hidden;
| |
| box-sizing:border-box;
| |
| ">
| |
|
| |
| [[File:{{{ingredient12_img}}}|48px]]
| |
|
| |
| </div>
| |
|
| |
| <div style="
| |
| font-size:14px;
| |
| color:#e2e7ef;
| |
| text-align:center;
| |
| margin-top:8px;
| |
| line-height:17px;
| |
| word-break:break-word;
| |
| ">
| |
| {{{ingredient12_name}}}
| |
| </div>
| |
|
| |
| {{#if:{{{ingredient12_amount|}}}|
| |
| <div style="
| |
| font-size:13px;
| |
| color:#9eabc0;
| |
| line-height:16px;
| |
| margin-top:1px;
| |
| ">
| |
| × {{{ingredient12_amount}}}
| |
| </div>
| |
| |}}
| |
|
| |
| </div>
| |
| |}}
| |
|
| |
|
| |
| </div>
| |
| </div>
| |
|
| |
|
| |
| <!-- ==================== -->
| |
| <!-- СПОСОБ ПРИГОТОВЛЕНИЯ --> | | <!-- СПОСОБ ПРИГОТОВЛЕНИЯ --> |
| <!-- ==================== -->
| |
|
| |
| <div style="
| |
| background:#202632;
| |
| border-top:1px solid #7d899c;
| |
| padding:12px 16px;
| |
| box-sizing:border-box;
| |
| ">
| |
|
| |
| <div style=" | | <div style=" |
| display:flex; | | display:flex; |
| align-items:center; | | flex-direction:column; |
| justify-content:center; | | align-items:center; |
| gap:20px;
| | justify-content:center; |
| flex-wrap:wrap;
| | flex-shrink:0; |
| | min-width:80px; |
| | border-left:1px solid #FFFFFF; |
| | padding-left:15px; |
| "> | | "> |
| | <div style=" |
| | width:60px; |
| | height:60px; |
| | display:flex; |
| | align-items:center; |
| | justify-content:center; |
| | overflow:hidden; |
| | "> |
| | [[File:{{{method_img|Microwave.gif}}}|60px]] |
| | </div> |
|
| |
|
| | | <div style=" |
| <!-- СПОСОБ -->
| | font-size:13px; |
| | | font-weight:bold; |
| <div style=" | | line-height:17px; |
| display:flex;
| | text-align:center; |
| align-items:center;
| | color:#FFFFFF; |
| gap:10px;
| | margin-top:4px; |
| ">
| | "> |
| | | {{{method_name|Приготовление}}}{{#if:{{{method_time|}}}|<br>{{{method_time}}}|}} |
| <div style="
| | </div> |
| width:60px;
| |
| height:60px;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center;
| |
| justify-content:center;
| |
| overflow:hidden;
| |
| ">
| |
| | |
| [[File:{{{method_img|Microwave.gif}}}|48px]]
| |
| | |
| </div>
| |
| | |
| <div>
| |
| | |
| <div style="
| |
| font-size:12px; | |
| color:#91a0b6;
| |
| line-height:16px; | |
| ">
| |
| Способ приготовления
| |
| </div>
| |
| | |
| <div style="
| |
| font-size:15px;
| |
| font-weight:bold;
| |
| color:#e8edf5; | |
| line-height:19px;
| |
| "> | |
| {{{method_name|Приготовление}}} | |
| </div>
| |
| | |
| {{#if:{{{method_time|}}}| | |
| <div style=" | |
| font-size:13px;
| |
| color:#aab6c8;
| |
| line-height:17px;
| |
| ">
| |
| {{{method_time}}} | |
| </div>
| |
| |}} | |
| | |
| </div> | |
| | |
| </div>
| |
| | |
| | |
| <!-- СТРЕЛКА -->
| |
| | |
| <div style="
| |
| font-size:22px;
| |
| color:#71829c;
| |
| ">
| |
| →
| |
| </div> | | </div> |
|
| |
|
| |
|
| <!-- РЕЗУЛЬТАТ --> | | <!-- РЕЗУЛЬТАТ --> |
|
| |
| <div style="
| |
| display:flex;
| |
| align-items:center;
| |
| gap:10px;
| |
| ">
| |
|
| |
| <div style="
| |
| width:60px;
| |
| height:60px;
| |
| background:#242c38;
| |
| border:1px solid #667386;
| |
| border-radius:4px;
| |
| display:flex;
| |
| align-items:center;
| |
| justify-content:center;
| |
| overflow:hidden;
| |
| ">
| |
|
| |
| [[File:{{{result_img}}}|48px]]
| |
|
| |
| </div>
| |
|
| |
| <div>
| |
|
| |
| <div style=" | | <div style=" |
| font-size:12px;
| | display:flex; |
| color:#91a0b6;
| | align-items:flex-start; |
| line-height:16px;
| | justify-content:center; |
| | border-left:1px solid #FFFFFF; |
| | padding-left:15px; |
| "> | | "> |
| Результат
| | <div style=" |
| </div> | | display:flex; |
| | flex-direction:column; |
| | align-items:center; |
| | width:75px; |
| | "> |
| | <div style=" |
| | width:58px; |
| | height:58px; |
| | background:#202632; |
| | border:1px solid #FFFFFF; |
| | box-sizing:border-box; |
| | display:flex; |
| | align-items:center; |
| | justify-content:center; |
| | overflow:hidden; |
| | "> |
| | [[File:{{{result_img}}}|46px]] |
| | </div> |
|
| |
|
| <div style=" | | <div style=" |
| font-size:15px; | | font-size:12px; |
| font-weight:bold;
| | color:#FFFFFF; |
| color:#e8edf5;
| | text-align:center; |
| line-height:19px; | | margin-top:5px; |
| "> | | line-height:16px; |
| {{{result_name|Результат}}} | | "> |
| | {{{result_name|Результат}}} |
| | </div> |
| | </div> |
| </div> | | </div> |
|
| |
|
| </div> | | </div> |
|
| |
| </div> | | </div> |
|
| |
|
| |
| </div>
| |
| </div>
| |
|
| |
| </div>
| |
|
| |
| </includeonly> | | </includeonly> |
|
| |
|
| |
| <noinclude>
| |
| __NOTOC__
| |
|
| |
| == Recipe — шаблон рецепта ==
| |
|
| |
| Универсальный шаблон рецептов.
| |
|
| |
| Ингредиенты отображаются компактными карточками в сетке по три элемента в ряд.
| |
|
| |
| === Параметры ===
| |
|
| |
| {| class="wikitable"
| |
| ! Параметр !! Описание !! Обязательный
| |
| |-
| |
| | <code>title</code> || Название рецепта || Да
| |
| |-
| |
| | <code>ingredient1_name</code> ... <code>ingredient12_name</code> || Названия ингредиентов || Для используемых ингредиентов
| |
| |-
| |
| | <code>ingredient1_img</code> ... <code>ingredient12_img</code> || Изображения ингредиентов || Для используемых ингредиентов
| |
| |-
| |
| | <code>ingredient1_amount</code> ... <code>ingredient12_amount</code> || Количество ингредиентов || Нет
| |
| |-
| |
| | <code>method_name</code> || Способ приготовления || Да
| |
| |-
| |
| | <code>method_img</code> || Изображение способа приготовления || Нет
| |
| |-
| |
| | <code>method_time</code> || Время приготовления || Нет
| |
| |-
| |
| | <code>result_name</code> || Название результата || Да
| |
| |-
| |
| | <code>result_img</code> || Изображение результата || Да
| |
| |}
| |
|
| |
| === Пример ===
| |
|
| |
| <pre>
| |
| {{Recipe
| |
| |title=Тесто
| |
|
| |
| |ingredient1_name=Мука
| |
| |ingredient1_img=FoodFlour.png
| |
| |ingredient1_amount=15
| |
|
| |
| |ingredient2_name=Вода
| |
| |ingredient2_img=FoodWater.png
| |
| |ingredient2_amount=10
| |
|
| |
| |ingredient3_name=Соль
| |
| |ingredient3_img=FoodSalt.png
| |
| |ingredient3_amount=1
| |
|
| |
| |method_name=Смешивание
| |
| |method_img=Mixing.png
| |
|
| |
| |result_name=Тесто
| |
| |result_img=FoodDough.png
| |
| }}
| |
| </pre>
| |
|
| |
| [[Категория:Шаблоны]]
| |
| </noinclude>
| |