Difference between revisions of "Template:Recipe summary"
From Cookipedia
Line 10: | Line 10: | ||
{{#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}}]]}}}} | ||
</table></div></includeonly><noinclude>[[How to use the recipe summary]]</noinclude> | </table></div></includeonly><noinclude>[[How to use the recipe summary]]</noinclude> |