Template:Recipe Table: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
# Use | # Use [[{{{Ingredient 1}}}]] on [[{{{Ingredient 2}}}]] to create [[{{{Result}}}]] | ||
#* {{#ifeq:{{{Ingredient 1|}}}|||{{#ifeq:{{{Ingredient 1| }}}| ||{{{[[Image:Ingredient 1 Icon.png]]}}} + {{#ifeq:{{{Ingredient 2|}}}|||{{#ifeq:{{{Ingredient 2| }}}| ||{{{[[Image:Ingredient 2 Icon.png]]}}} = {{#ifeq:{{{Result|}}}|||{{#ifeq:{{{Result| }}}| ||{{{[[Image:Result Icon.png]]}}} | #* {{#ifeq:{{{Ingredient 1|}}}|||{{#ifeq:{{{Ingredient 1| }}}| ||{{{[[Image:Ingredient 1 Icon.png]]}}} + {{#ifeq:{{{Ingredient 2|}}}|||{{#ifeq:{{{Ingredient 2| }}}| ||{{{[[Image:Ingredient 2 Icon.png]]}}} = {{#ifeq:{{{Result|}}}|||{{#ifeq:{{{Result| }}}| ||{{{[[Image:Result Icon.png]]}}} | ||
Revision as of 21:03, 16 April 2009
Related topics: Wiki Templates, Crafting Template, Template:Food, Template:Ingredient, Template:Recipe
Syntax
{{Recipe Table | Ingredient 1 = | Ingredient 2 = | Result = }}
Usage
- Naming Conventions are enforced and icon images must follow the format
Name Icon.png
(case sensitive). - Use the first two "Names" for the Ingredients, the last one for the result
For example:
- Use Flour on Water to create Dough
- {{#ifeq:Flour|||{{#ifeq:Flour| ||{{{File:Ingredient 1 Icon.png}}} + {{#ifeq:Water|||{{#ifeq:Water| ||{{{File:Ingredient 2 Icon.png}}} = {{#ifeq:Dough|||{{#ifeq:Dough| ||{{{File:Result Icon.png}}}