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
 
(25 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>
{|border=0 cellpadding=3 cellspacing=0
{{Related|Wiki Templates|Crafting Template|{{mtl|Crafting Recipe}}|{{mtl|Food}}}}
|-
{{#ifeq:{{{1|}}}|||
{{!}}width=10{{!}}
{{!}}
:*[[Image:{{{1}}} Icon.png]]
{{!}} [[{{{1}}}]]
}}
{{#ifeq:{{{2|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{2|}}}|||
{{!}}
+ [[Image:{{{2}}} Icon.png]]
{{!}}
{{!}} [[{{{2}}}]]
}}
{{#ifeq:{{{3|}}}||
 
{{!}}-
|}}
{{#ifeq:{{{3|}}}|||
{{!}}
= [[Image:{{{3}}} Icon.png]]
{{!}}
{{!}} [[{{{3}}}]]
}}
|}
</includeonly><noinclude>
{{Related|Wiki Templates|Crafting Template|Template:Food|Template:Ingredient|Template:Recipe}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Recipe Table|Name|Name|Name}}
{{Recipe Table
| Ingredient 1 =
| Ingredient 2 =
|       Result =
}}
</pre>
</pre>


== Usage ==
== Usage ==
Line 44: Line 18:
For example:
For example:


{{Recipe Table|Flour|Water|Dough}}
{{Recipe Table
 
| Ingredient 1 = Flour
| Ingredient 2 = Water
|       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
    • + =