Difference between revisions of "Template:Recipe summary"
From Cookipedia
Line 6: | Line 6: | ||
{{ #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">{{{Image|{{{image|{{{5|}}}}}}}}}</td></tr>}} | ||
{{ #if: {{{ImageComment|{{{imagecomment|{{{6|}}}}}}}}}|<tr><td colspan="2" style="text-align: center;">{{{ImageComment|{{{imagecomment|{{{6}}}}}}}}}</td></tr>}} | {{ #if: {{{ImageComment|{{{imagecomment|{{{6|}}}}}}}}}|<tr><td colspan="2" style="text-align: center;">{{{ImageComment|{{{imagecomment|{{{6}}}}}}}}}</td></tr>}} | ||
− | {{ #if: {{{Servings|{{{servings|{{{2|}}}}}}}}}|<tr><td style="width: | + | {{ #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>}} |