Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CookingRecipe: Difference between revisions

Template page
mNo edit summary
No edit summary
Line 7: Line 7:
{{#ifeq:{{{action|}}}|juice|[[File:Grinder.png]] Juice<span class="nowrap">&nbsp;</span> |
{{#ifeq:{{{action|}}}|juice|[[File:Grinder.png]] Juice<span class="nowrap">&nbsp;</span> |
{{#ifeq:{{{action|}}}|cut|[[File:Kitchen knife.png]] Cut<span class="nowrap">&nbsp;</span> |
{{#ifeq:{{{action|}}}|cut|[[File:Kitchen knife.png]] Cut<span class="nowrap">&nbsp;</span> |
{{#ifeq:{{{action|}}}|roll|[[File:RollingPin.png]] Use your rolling pin on<span class="nowrap">&nbsp;</span> |}}}}}}}}}}}}{{{recipe}}}<noinclude>
{{#ifeq:{{{action|}}}|slice|[[File:Kitchen knife.png]] Slice<span class="nowrap">&nbsp;</span> |
{{#ifeq:{{{action|}}}|roll|[[File:RollingPin.png]] Use your rolling pin on<span class="nowrap">&nbsp;</span> |}}}}}}}}}}}}}}{{{recipe}}}<noinclude>


== How to use ==
== How to use ==
Line 24: Line 25:
* '''microwave''': This recipe needs to be made in a microwave for X seconds.
* '''microwave''': This recipe needs to be made in a microwave for X seconds.
* '''heat''': This recipe needs to be heated up to a certain degree in Kelvin.
* '''heat''': This recipe needs to be heated up to a certain degree in Kelvin.
* '''action''': This is for anything that requires a simpler action (mix, grind, butcher, juice)
* '''action''': This is for anything that requires a simpler action: mix, grind, butcher, juice, cut, slice, roll


== Exemple ==
== Exemple ==

Revision as of 17:31, 25 October 2023

|- ! style="text-align:center; border: 1px solid black;" | [[File:{{{name}}}.png|64px]] ! style="border: 1px solid black;" | {{{name}}} | style="border: 1px solid black;" | {{{recipe}}}

How to use

{{CookingRecipe|name=Bread|image=Bread.gif|recipe=Test|microwave=50|heat=375|action=grind}}

This cooking recipe template is meant to be entirely only used in the dedicated food/cooking page. It is purely to help editors add new recipes without it being too complicated.

Looks better if used alongside the Template:Ingredient template.

Meaning

Self explanatory, with some special arguments.

  • name: The name of the recipe. Automatically creates an anchor.
  • image: Optional. The image you want to use, will use the name if not specified. Requires a file extension.
  • microwave: This recipe needs to be made in a microwave for X seconds.
  • heat: This recipe needs to be heated up to a certain degree in Kelvin.
  • action: This is for anything that requires a simpler action: mix, grind, butcher, juice, cut, slice, roll

Exemple

Picture Name Recipe
Dough Heat up to 350 K:
      Nothing
Not Bread Somehow do nothing
Do more nothing
???
Bread
Bread Butcher Test
Baguette Microwave for 15 seconds:
      5 tablesalt + 5 blackpepper + 1Dough