mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
{{#ifeq:{{{action|}}}|harvest|[[File:Scythe.png]] Harvest<span class="nowrap"> </span> | | {{#ifeq:{{{action|}}}|harvest|[[File:Scythe.png]] Harvest<span class="nowrap"> </span> | | ||
{{#ifeq:{{{action|}}}|milk|[[File:Bucket.png]] Milk<span class="nowrap"> </span> | | {{#ifeq:{{{action|}}}|milk|[[File:Bucket.png]] Milk<span class="nowrap"> </span> | | ||
{{#ifeq:{{{action|}}}|roll|[[File: | {{#ifeq:{{{action|}}}|roll|[[File:Rolling Pin.png]] Use your rolling pin on<span class="nowrap"> </span> |}}}}}}}}}}}}}}}}{{#ifeq:{{{1|}}}|n/a||{{#if:{{{2|}}}|{{#ifeq:{{{2|}}}|nolink|[[File:{{{1}}}.png|32px]]{{{1}}}|{{#ifeq:{{{3|}}}|nolink|[[File:{{{2}}}|32px]]{{{1}}}|[[File:{{{2}}}|32px|link=#{{{1}}}]][[#{{{1}}}|{{{1}}}]]}}|[[File:{{{1}}}.png|32px|link=#{{{1}}}]][[#{{{1}}}|{{{1}}}]]}}|[[File:{{{1}}}.png|32px|link=#{{{1}}}]][[#{{{1}}}|{{{1}}}]]}}}}<noinclude> | ||
== How to use == | == How to use == | ||
Meant to be used alongside the [[Template:CookingRecipe]] template. This is purely to quickly create a link to an anchor and have pretty picture. | Meant to be used alongside the [[Template:CookingRecipe]] template. This is purely to quickly create a link to an anchor and have pretty picture. |
Latest revision as of 08:29, 16 February 2024
[[File:{{{1}}}.png|32px|link=#{{{1}}}]][[#{{{1}}}|{{{1}}}]]
How to use
Meant to be used alongside the Template:CookingRecipe template. This is purely to quickly create a link to an anchor and have pretty picture.
{{Ingredient|name|(image or nolink)|(nolink only if image)}}
Meaning
Self explanatory, with some special arguments.
- name: The name of the ingredient.
- image: Optional. The image you want to use, will use the name if not specified. Requires a file extension.
- nolink: Removes the automatic link to anchor with same name.
- action: For actions to precede the recipe or a specific ingredient. Includes the following: grind, butcher, juice, cut, slice, harvest, milk, roll