Template:Recipe Table: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
mNo edit summary
imported>Servian
No edit summary
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly># Use [[{{{Ingredient 1}}}]] on [[{{{Ingredient 2}}}]] to create [[{{{Result}}}]].
# Use [[{{{1}}}]] on [[{{{2}}}]] to create [[{{{3}}}]]
#* [[File:{{{Ingredient 1}}} Icon.png|link={{{Ingredient 1}}}]] + [[File:{{{Ingredient 2}}} Icon.png|link={{{Ingredient 2}}}]] = [[File:{{{Result}}} Icon.png|link={{{Result}}}]]</includeonly><noinclude>
#
{{Related|Wiki Templates|Crafting Template|{{mtl|Crafting Recipe}}|{{mtl|Food}}}}
{|border=0 cellpadding=3 cellspacing=0
|-
{{#ifeq:{{{1|}}}|||
{{!}}width=10{{!}}
{{!}}
*[[Image:{{{1}}} Icon.png]]
}}
{{#ifeq:{{{2|}}}||
{{!}}-
 
|}}
{{#ifeq:{{{2|}}}|||
{{!}}
+ [[Image:{{{2}}} Icon.png]]
{{!}}
}}
{{#ifeq:{{{3|}}}||
 
{{!}}-
|}}
{{#ifeq:{{{3|}}}|||
{{!}}
= [[Image:{{{3}}} Icon.png]]
{{!}}
}}
|}
</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 41: 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 06: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.
    • + =