Template:Recipe: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
(New page: {|align={{{align}}} cellpadding="10" style="background-color: white; width:55%; border:1px solid #aaa; margin:20px; font-size:92%;" |align="center"|{{{name}}} |- |align="right"|{{{servings...)
 
imported>Robert W King
No edit summary
 
(105 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|align={{{align}}} cellpadding="10" style="background-color: white; width:55%; border:1px solid #aaa; margin:20px; font-size:92%;"
{|align={{{align}}} cellpadding="10" style="background-color: white; width:{{{width}}}; border:2px solid #D5C096; border-style: dashed; margin:20px;
|align="center"|{{{name}}}
|colspan="2" align="left" valign="top"|<font size=6% style="line-height:95%;">'''{{{name}}}'''</font>
|align="right" margin="10px" NOWRAP valign="top"|
<font size=3% align="right" style="letter-spacing: 2.5px;">'''Yields'''</font>
<br/>
 
<font size=130% style="line-height:47%">'''{{{howmany}}}'''</font>
<br/>
 
<font size=3% align="right">'''{{{what}}}'''</font>
|-
|-
|align="right"|{{{servings}}}
 
|colspan="3" align="center"|
{|align="center" width=80% cellpadding="5" style="background-color: #FFFCF5; border:2px solid #D5C096; margin:10px;"
|align="center"|<font color=#800000 size=5%>'''Ingredients'''</font>
|-
|-
|
|align="left"|&nbsp;
{|align="center" cellpadding="5" style="background-color: #F9F9F9; border:1px solid #AAA; margin:10px; font-size:92%;"
{{{ingredients}}}
|align="center"|'''Ingredients'''
|}
|-
|-
|align="left"|{{{ingredients}}}
|colspan="3"|<font color=#800000 size=5%>'''Preparation''':</font><br/>
|}
 
{{{preparation}}}
|-
|-
|'''Preparation''': {{{preparation}}}
|colspan="3" align="left"|<font color=#800000 size=5%>'''Notes''':</font><br/>
 
{{{notes}}}
|-
|-
|'''Categories''': {{{categories}}}
|colspan="3"|'''Categories''': {{{categories}}}
|-
|-
|'''Related recipes''': {{{related}}}
|colspan="3"|'''Related recipes''': {{{related}}}
|}
|}
<noinclude>
{{newtemplate
|description= An instruction card for a recipe... ''' ''in progress'' '''
|execution=<pre>
{{recipe
|width=  (width of the recipe template;
by default it will be 100% unless otherwise specified.  This can be in pixels or %.)
|align=  (optional: left, right, or center.  Default, Left.)
|name=    (name of item produced)
|howmany= (how many servings or units; e.g. "5" loaves, or "3" servings.)
|what=    (what type of servings or units; e.g. 5 "slices" or 9 "cupcakes".)
|notes=  (preparation notes, if any; e.g. "Let thaw" or "Preheat oven")
|ingredients=
|preparation=
|categories=
|related=
}}
</pre>
|sample=
{{recipe
|width= 80%
|align= center
|name= Chocolate milk
|howmany=1
|what=serving
|notes=Milk should be cold for best taste.  Chocolate sauce may also be used instead of powder, but more stirring may be required.
|ingredients=
* One 8 oz glass milk
* 5 tsp chocolate powder
|preparation=
#Add chocolate powder to milk.
#Stir with spoon until dissolved.
#Drink!
|categories=
|related=
}}
|caveats= Worked around the bullet point issue.
|authors=
*[[User:Todd_Coles|Todd Coles]]
*[[User:Chris_Day|Chris Day]]
*[[User:Robert_W_King|Robert King]]
*[[User:Hayford_Peirce|Hayford Peirce]]
}}
</noinclude>

Latest revision as of 13:39, 25 April 2008

{{{name}}}

Yields

{{{howmany}}}

{{{what}}}

Ingredients
 

{{{ingredients}}}

Preparation:

{{{preparation}}}

Notes:

{{{notes}}}

Categories: {{{categories}}}
Related recipes: {{{related}}}



Template Description

An instruction card for a recipe... in progress

Execution

{{recipe
|width=   (width of the recipe template; 
by default it will be 100% unless otherwise specified.  This can be in pixels or %.)
|align=   (optional: left, right, or center.  Default, Left.)
|name=    (name of item produced)
|howmany= (how many servings or units; e.g. "5" loaves, or "3" servings.)
|what=    (what type of servings or units; e.g. 5 "slices" or 9 "cupcakes".)
|notes=   (preparation notes, if any; e.g. "Let thaw" or "Preheat oven")
|ingredients=
|preparation=
|categories=
|related=
}}

Sample

Chocolate milk

Yields

1

serving

Ingredients
 
  • One 8 oz glass milk
  • 5 tsp chocolate powder
Preparation:
  1. Add chocolate powder to milk.
  2. Stir with spoon until dissolved.
  3. Drink!
Notes:

Milk should be cold for best taste. Chocolate sauce may also be used instead of powder, but more stirring may be required.

Categories:
Related recipes:

Caveats

Worked around the bullet point issue.

Authors