Template:Recipe Table: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Sanddh
mNo edit summary
imported>Arkalor's Bot
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly># Use [[{{{Ingredient 1}}}]] on [[{{{Ingredient 2}}}]] to create [[{{{Result}}}]]
 
#* [[Image:{{{Ingredient 1}}} Icon.png|link={{{Ingredient 1}}}]] + [[Image:{{{Ingredient 2}}} Icon.png|link={{{Ingredient 2}}}]] = [[Image:{{{Result}}} Icon.png|link={{{Result}}}]]</includeonly><noinclude>
# Use {{#ifeq:{{{Ingredient 1|}}}|||{{#ifeq:{{{Ingredient 1| }}}| ||{{{[[Ingredient 1]]}}} on {{#ifeq:{{{Ingredient 2|}}}|||{{#ifeq:{{{Ingredient 2| }}}| ||{{{[[Ingredient 2]]}}} to create {{#ifeq:{{{Result|}}}|||{{#ifeq:{{{Result| }}}| ||{{{[[Result]]}}}
{{Related|Wiki Templates|Crafting Template|{{mtl|Crafting Recipe}}|{{mtl|Food}}}}
#* {{#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]]}}}
 
</includeonly><noinclude>
{{Related|Wiki Templates|Crafting Template|Template:Food|Template:Ingredient|Template:Recipe}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Recipe Table
{{Recipe Table
  |         Ingredient 1 =  
  | Ingredient 1 =  
  |         Ingredient 2 =  
  | Ingredient 2 =  
  |               Result =  
  |       Result =  
}}
}}
</pre>
</pre>


== Usage ==
== Usage ==
Line 22: Line 19:


{{Recipe Table
{{Recipe Table
  |         Ingredient 1 = Flour
  | Ingredient 1 = Flour
  |         Ingredient 2 = Water
  | Ingredient 2 = Water
  |               Result = Dough
  |       Result = Dough
}}
}}




 
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 18:52, 5 December 2012

Related topics: Wiki Templates, Crafting Template, {{Crafting Recipe}}, {{Food}}

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:

  1. Use Flour on Water to create Dough
    • + =