Template:Recipe Table: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Sanddh
mNo edit summary
imported>Sanddh
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
# Use [[{{{1}}}]] on [[{{{2}}}]] to create  [[{{{3}}}]]
{|border=0 cellpadding=3 cellspacing=0
|-
{{#ifeq:{{{1|}}}|||
{{!}}width=10{{!}}
{{!}}
*[[Image:{{{1}}} Icon.png]]
}}
{{#ifeq:{{{2|}}}||
{{!}}-
|}}
{{#ifeq:{{{2|}}}|||
{{!}}
+ [[Image:{{{2}}} Icon.png]]
{{!}}
}}
{{#ifeq:{{{3|}}}||


{{!}}-
# 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]]}}}
|}}
#* {{#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:{{{3|}}}|||
{{!}}
= [[Image:{{{3}}} Icon.png]]
{{!}}
}}
|}


</includeonly><noinclude>
</includeonly><noinclude>
Line 32: Line 8:
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Recipe Table|Name|Name|Name}}
{{Recipe Table
|         Ingredient 1 =
|         Ingredient 2 =
|               Result =
}}
</pre>
</pre>


Line 41: Line 21:
For example:
For example:


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






</noinclude>
</noinclude>

Revision as of 21:00, 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:


  1. Use {{#ifeq:Flour|||{{#ifeq:Flour| ||{{{Ingredient 1}}} on {{#ifeq:Water|||{{#ifeq:Water| ||{{{Ingredient 2}}} to create {{#ifeq:Dough|||{{#ifeq:Dough| ||{{{Result}}}