Jump to content

Welcome to the Family Commonplace Wiki! 👋 — Create an account to start contributing, or see Help:Getting Started if you're new here.

Template:Recipe: Difference between revisions

From Family Commonplace Wiki
Initial template setup
 
Simplified template - no extensions required
 
Line 1: Line 1:
<noinclude>
<noinclude>
== Recipe Template ==
== Recipe Template ==
Use this template for family recipes.
Use this template for any family recipe.


=== Usage ===
=== Usage ===
Line 16: Line 16:


== Ingredients ==
== Ingredients ==
* ...
* Item 1
* Item 2


== Instructions ==
== Instructions ==
# ...
# Step 1
# Step 2


== Notes ==
== Notes ==
Family notes, variations, tips...
Family notes, variations, and tips.
</pre>
</pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude><includeonly>{| class="infobox" style="float:right; clear:right; margin:0 0 1em 1.5em; padding:0.5em; border:1px solid #aaa; background:#f9f9f9; font-size:90%; line-height:1.5em; width:22em;"
</noinclude><includeonly><table class="infobox wikitable" style="float:right;clear:right;margin:0 0 1em 1.5em;font-size:90%;width:22em;">
|-
<tr style="background:#8a4a2c;color:white;"><th colspan="2" style="padding:0.5em;font-size:115%;text-align:center;">{{{name|{{PAGENAME}}}}}</th></tr>
! colspan="2" style="background:#8a4a2c; color:white; padding:0.4em; font-size:115%; text-align:center;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
<tr><td style="font-weight:bold;">Passed down from</td><td>{{{passed_down|}}}</td></tr>
{{#if:{{{image|}}}|
<tr><td style="font-weight:bold;">Origin</td><td>{{{origin|}}}</td></tr>
|-
<tr><td style="font-weight:bold;">Serves</td><td>{{{serves|}}}</td></tr>
| colspan="2" style="text-align:center; padding:0.5em;" | [[File:{{{image}}}|250px]]}}
<tr><td style="font-weight:bold;">Prep time</td><td>{{{prep_time|}}}</td></tr>
{{#if:{{{origin|}}}|
<tr><td style="font-weight:bold;">Cook time</td><td>{{{cook_time|}}}</td></tr>
|-
</table></includeonly>
| style="padding:0.2em 0.5em; font-weight:bold;" | Origin
| style="padding:0.2em 0.5em;" | {{{origin}}}}}
{{#if:{{{passed_down|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Passed down from
| style="padding:0.2em 0.5em;" | {{{passed_down}}}}}
{{#if:{{{serves|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Serves
| style="padding:0.2em 0.5em;" | {{{serves}}}}}
{{#if:{{{prep_time|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Prep time
| style="padding:0.2em 0.5em;" | {{{prep_time}}}}}
{{#if:{{{cook_time|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Cook time
| style="padding:0.2em 0.5em;" | {{{cook_time}}}}}
|}</includeonly>

Latest revision as of 18:04, 23 May 2026

Recipe Template

Use this template for any family recipe.

Usage

{{Recipe
| name        = 
| image       = 
| origin      = 
| serves      = 
| prep_time   = 
| cook_time   = 
| passed_down = 
}}

== Ingredients ==
* Item 1
* Item 2

== Instructions ==
# Step 1
# Step 2

== Notes ==
Family notes, variations, and tips.