Template: Recipe summary: Difference between revisions
From Cookipedia
No edit summary |
No edit summary Tag: Manual revert |
||
(80 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>< | <includeonly> | ||
<table class="wikitable" style="display: inline-table; vertical-align: text-top; margin: 1em 0em 1em 1em; background-color: #f7F7F7; width: 290px"> | |||
<tr> | <tr> | ||
<th colspan="2" style="text-align: center; background-color: # | <th colspan="2" style="text-align: center; background-color: #f7F7F7">{{{Name|{{{name|{{PAGENAME}}}}}}}}</th> | ||
</tr> | </tr> | ||
{{ #if: {{{Image|{{{image|{{{5|}}}}}}}}}|<tr><td colspan="2" style="text-align: center">{{{Image|{{{image|{{{5|}}}}}}}}}</td></tr>}} | {{ #if: {{{Image|{{{image|{{{5|}}}}}}}}}|<tr><td colspan="2" style="text-align: center; background-color: #f7F7F7">{{{Image|{{{image|{{{5|}}}}}}}}}</td></tr></table>}} | ||
{{ #if: {{{ImageComment|{{{imagecomment|{{{6|}}}}}}}}}|<tr><td colspan="2" style="text-align: center; background-color: # | <table class="wikitable" style="vertical-align: text-top; display: inline-table; margin: 1em 0em 1em 1em; background-color: #f7F7F7; width: 290px"> | ||
{{ #if: {{{Servings|{{{servings|{{{2|}}}}}}}}}|<tr><td style="width: | {{ #if: {{{ImageComment|{{{imagecomment|{{{6|}}}}}}}}}|<tr><td colspan="2" style="text-align: center; background-color: #f7F7F7">{{{ImageComment|{{{imagecomment|{{{6}}}}}}}}}</td></tr>}} | ||
{{ #if: {{{Servings|{{{servings|{{{2|}}}}}}}}}|<tr><td style="width:130px;">[[Servings]]:</td><td style="text-align: left;"><span class="sd-yield">{{{Servings|{{{servings|{{{2}}}}}}}}} </span></td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without servings|{{PAGENAME}}]]}}}} | |||
{{ #if: {{{PortionCalories|{{{portioncalories|{{{2|}}}}}}}}}|<tr><td style="width:130px;">[[Calories per serving]]:</td><td style="text-align: left;"><span class="sd-calories">{{{PortionCalories|{{{PortionCalories|{{{2}}}}}}}}}</span></td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without servings|{{PAGENAME}}]]}}}} | |||
{{ #if: {{{TotalTime|{{{totaltime|{{{3|}}}}}}}}}|<tr><td>[[Recipe total time|Ready in]]:</td><td style="text-align: left;">{{{TotalTime|{{{totaltime|{{{3}}}}}}}}}</td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without cooking time|{{PAGENAME}}]]}}}} | {{ #if: {{{TotalTime|{{{totaltime|{{{3|}}}}}}}}}|<tr><td>[[Recipe total time|Ready in]]:</td><td style="text-align: left;">{{{TotalTime|{{{totaltime|{{{3}}}}}}}}}</td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without cooking time|{{PAGENAME}}]]}}}} | ||
{{#if: {{{PrepTime|{{{preptime|{{{7|}}}}}}}}}|<tr><td>[[Recipe preparation time|Prep. time]]:</td><td style="text-align: left;">{{{PrepTime|{{{preptime|{{{7}}}}}}}}}</td></tr>}} | {{#if: {{{PrepTime|{{{preptime|{{{7|}}}}}}}}}|<tr><td>[[Recipe preparation time|Prep. time]]:</td><td style="text-align: left;">{{{PrepTime|{{{preptime|{{{7}}}}}}}}}</td></tr>}} | ||
{{#if: {{{CookTime|{{{cooktime|{{{8|}}}}}}}}}|<tr><td>[[Recipe cooking time|Cook time]]:</td><td style="text-align: left;">{{{CookTime|{{{cooktime|{{{8}}}}}}}}}</td></tr>}} | {{#if: {{{CookTime|{{{cooktime|{{{8|}}}}}}}}}|<tr><td>[[Recipe cooking time|Cook time]]:</td><td style="text-align: left;">{{{CookTime|{{{cooktime|{{{8}}}}}}}}}</td></tr>}} | ||
{{ #if: {{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|<tr><td>[[Recipe difficulty levels|Difficulty]]:</td><td | {{ #if: {{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|<tr><td>[[Recipe difficulty levels|Difficulty]]:</td><td>[[Image:{{{Difficulty|{{{difficulty|{{{4}}}}}}}}}o5dots.png|{{ #switch: {{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|0=The difficulty level of this recipe has not been set|1=Easy|2=Average difficulty|3=Difficult}}]]{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||{{ #if: {{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|[[Category:{{ #switch: {{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|0=Unranked|1=Easy|2=Average difficulty|3=Difficult}} recipes|{{PAGENAME}}]]}}}} | ||
</td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without difficulty|{{PAGENAME}}]]}}}} | </td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without difficulty|{{PAGENAME}}]]}}}} | ||
< | {{#if: {{{Author|{{{author|{{{7|}}}}}}}}}|<tr><td>[[Recipe author]]:</td><td style="text-align: left;">[[User:{{{Author|{{{author|{{{7}}}}}}}}}|{{{Author|{{{author|{{{7}}}}}}}}}]]</td></tr>}} | ||
</ | {{#if: {{{DatePublished|{{{datepublished|{{{7|}}}}}}}}}|<tr><td>First published:</td><td style="text-align: left;">{{{DatePublished|{{{datepublished|{{{7}}}}}}}}}</td></tr>}} | ||
<tr></tr> | |||
</table></includeonly> |