Difference between revisions of "Template:Recipe summary"

From Cookipedia

 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="noprint" style="width:320px; float:right; padding:0px; margin:1em 0em 1em 1em;">
+
<includeonly>
<table class="wikitable" style="float:right;margin: 1em 0em 1em 1em; background-color: #f7F7F7; width: 300px">
+
<div class="noprint" style="width:280px; float:right; padding:0px; margin:1em 0em 1em 1em;">
 +
<table class="wikitable" style="float:right;margin: 1em 0em 1em 1em; background-color: #f7F7F7; width: 290px">
 
<tr>
 
<tr>
   <th colspan="2" style="text-align: center; background-color: #F7F7F7">{{{Name|{{{name|{{PAGENAME}}}}}}}}</th>
+
   <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>}}
{{ #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; 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: {{{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: {{{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}}]]}}}}
Line 15: Line 16:
 
{{#if: {{{Author|{{{author|{{{7|}}}}}}}}}|<tr><td>[[Recipe author]]:</td><td style="text-align: left;">[[User:{{{Author|{{{author|{{{7}}}}}}}}}|{{{Author|{{{author|{{{7}}}}}}}}}]]</td></tr>}}
 
{{#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>}}
 
{{#if: {{{DatePublished|{{{datepublished|{{{7|}}}}}}}}}|<tr><td>First published:</td><td style="text-align: left;">{{{DatePublished|{{{datepublished|{{{7}}}}}}}}}</td></tr>}}
<tr><td colspan="2" style="background-color: #ff00ff;">{{RecipeVote}}</td></tr>
+
<tr></tr>
</table></div></includeonly><noinclude>[[How to use the recipe summary]]</noinclude>
+
</table></div></includeonly>
 +
<mobileonly><span style="display:block;clear: both"><span></mobileonly>

Latest revision as of 17:45, 11 February 2023