Template:Recipe Table: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
mNo edit summary
imported>Servian
No edit summary
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly># Use [[{{{Ingredient 1}}}]] on [[{{{Ingredient 2}}}]] to create [[{{{Result}}}]].
 
#* [[File:{{{Ingredient 1}}} Icon.png|link={{{Ingredient 1}}}]] + [[File:{{{Ingredient 2}}} Icon.png|link={{{Ingredient 2}}}]] = [[File:{{{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]]
{{!}}width=30{{!}}
{{!}}
{{!}[[{{{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 46: 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 05:23, 23 April 2013

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.
    • + =