Difference between revisions of "Template:Recipe summary"
From Cookipedia
(typo) |
|||
| (25 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly><div style="width:320px; clear:both; float:right; padding:0px; margin:1em 0em 1em 1em;"><table class="wikitable" align="right" style="margin: 1em 0em 1em 1em; background-color: #FFFFDD; width: 300px"> | + | <includeonly><div style="width:320px; clear:both; float:right; padding:0px; margin:1em 0em 1em 1em;"> |
| + | <table class="wikitable" align="right" style="margin: 1em 0em 1em 1em; background-color: #FFFFDD; width: 300px"> | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align: center; background-color: #FFFF99">{{{Name|{{{name|{{PAGENAME}}}}}}}}</th> | <th colspan="2" style="text-align: center; background-color: #FFFF99">{{{Name|{{{name|{{PAGENAME}}}}}}}}</th> | ||
</tr> | </tr> | ||
| − | {{ #if: {{{Image|{{{image|{{{5|}}}}}}}}}|<tr><td colspan="2" style="text-align: center | + | {{ #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"> | + | {{ #if: {{{ImageComment|{{{imagecomment|{{{6|}}}}}}}}}|<tr><td colspan="2" style="text-align: center; background-color: #FFFF99">{{{ImageComment|{{{imagecomment|{{{6}}}}}}}}}</td></tr>}} |
| − | {{ #if: {{{Servings|{{{servings|{{{2|}}}}}}}}}|<tr><td style="width:110px">[[Servings]]:</td><td>{{{Servings|{{{servings|{{{2}}}}}}}}}</td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without servings|{{PAGENAME}}]]}}}} | + | {{ #if: {{{Servings|{{{servings|{{{2|}}}}}}}}}|<tr><td style="width:110px"><strong>[[Servings]]:</strong></td><td>{{{Servings|{{{servings|{{{2}}}}}}}}}</td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without servings|{{PAGENAME}}]]}}}} |
| − | {{ #if: {{{TotalTime|{{{totaltime|{{{3|}}}}}}}}}|<tr><td>Total time:</td><td>{{{TotalTime|{{{totaltime|{{{3}}}}}}}}}</td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without cooking time|{{PAGENAME}}]]}}}} | + | {{ #if: {{{TotalTime|{{{totaltime|{{{3|}}}}}}}}}|<tr><td>[[Recipe time estimations|Total time]]:</td><td>{{{TotalTime|{{{totaltime|{{{3}}}}}}}}}</td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without cooking time|{{PAGENAME}}]]}}}} |
| − | {{#if: {{{PrepTime|{{{preptime|{{{7|}}}}}}}}}|<tr><td>Preparation time:</td><td>{{{PrepTime|{{{preptime|{{{7}}}}}}}}}</td></tr>}} | + | {{#if: {{{PrepTime|{{{preptime|{{{7|}}}}}}}}}|<tr><td>[[Recipe time estimations|Preparation time]]:</td><td>{{{PrepTime|{{{preptime|{{{7}}}}}}}}}</td></tr>}} |
| − | {{#if: {{{CookTime|{{{cooktime|{{{8|}}}}}}}}}|<tr><td>Cooking time:</td><td>{{{CookTime|{{{cooktime|{{{8}}}}}}}}}</td></tr>}} | + | {{#if: {{{CookTime|{{{cooktime|{{{8|}}}}}}}}}|<tr><td>[[Recipe time estimations|Cooking time]]:</td><td>{{{CookTime|{{{cooktime|{{{8}}}}}}}}}</td></tr>}} |
| − | {{ #if: {{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|<tr><td>Difficulty:</td><td align="center">[[Image:{{{Difficulty|{{{difficulty|{{{4}}}}}}}}}o5dots.png|{{ #switch: {{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|0=The difficulty level of this recipe has not been set|1= | + | {{ #if: {{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|<tr><td>[[Recipe difficulty levels|Difficulty]]:</td><td align="center">[[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>}} | + | </td></tr>|{{ #if: {{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes without difficulty|{{PAGENAME}}]]}}}} |
</table></div></includeonly><noinclude>[[How to use the recipe summary]]</noinclude> | </table></div></includeonly><noinclude>[[How to use the recipe summary]]</noinclude> | ||