Template:RecipeLookup: Difference between revisions
(added small and large table) |
m (added bar corner and element) |
||
Line 110: | Line 110: | ||
|product=[[Large Table]] |q6=x1 |picproduct=File:Table_left_anim.gif | |product=[[Large Table]] |q6=x1 |picproduct=File:Table_left_anim.gif | ||
|description=A large table}} | |description=A large table}} | ||
|1014 | |||
|Bar Element= | |||
{{Recipe|3 | |||
|item1=[[Hammer]] |q1=x1 |picitem1=File:Smallhammer.png | |||
|item2=[[Nails]] |q2=x4 |picitem2=File:Smallnails.png |tag2=(consumed) | |||
|item3=[[Wooden Plank]] |q3=x4 |picitem3=File:Smallplank.png |tag3=(consumed) | |||
|product=[[Bar Element]] |q6=x1 |picproduct=File:Bar_element_anim.gif | |||
|description=A bar element}} | |||
|1015 | |||
|Bar Corner= | |||
{{Recipe|3 | |||
|item1=[[Hammer]] |q1=x1 |picitem1=File:Smallhammer.png | |||
|item2=[[Nails]] |q2=x4 |picitem2=File:Smallnails.png |tag2=(consumed) | |||
|item3=[[Wooden Plank]] |q3=x4 |picitem3=File:Smallplank.png |tag3=(consumed) | |||
|product=[[Bar Corner]] |q6=x1 |picproduct=File:Bar_corner_anim.gif | |||
|description=A bar corner}} | |||
|2000 | |2000 | ||
|Pot_of_soup= | |Pot_of_soup= | ||
Line 469: | Line 485: | ||
{{RecipeLookup/de|1012}}|1012 | {{RecipeLookup/de|1012}}|1012 | ||
{{RecipeLookup/de|1013}}|1013 | {{RecipeLookup/de|1013}}|1013 | ||
{{RecipeLookup/de|1014}}|1014 | |||
{{RecipeLookup/de|1015}}|1015 | |||
|} | |} | ||
=== Food (Index: 2000-2999) === | === Food (Index: 2000-2999) === |
Revision as of 01:56, 18 November 2013
This template allows for easy editing of any crafting recipe across all the pages it is included on.
Usage
1. insert the following snippet into your article:
{| class="wikitable sortable" style="text-align:center;" |- ! Output ! class="unsortable" | Ingredients< ! class="unsortable" | Description {{RecipeLookup/de|x}} |}
2. replace the x
with the index of the specefic recipe you want to display.
3. if the index represents some recipe, it is displayed like this:
Output | Ingredients | Description |
---|
(a false index will result in N/A
)
Howto add new recipes
1. rewrite the following snippet:
|INDEX |PRODUCTNAME= {{Recipe|NUMBER_OF_ITEMS_NEEDED |item1=[[NAME_ITEM1]] |q1=xQUANTITY |picitem1=File:FILENAME_ITEM1 |tag1=(INFO) |item2=[[NAME_ITEM2]] |q2=xQUANTITY |picitem2=File:FILENAME_ITEM2 |tag2=(INFO) |item3=[[NAME_ITEM3]] |q3=xQUANTITY |picitem3=File:FILENAME_ITEM3 |tag3=(INFO) |item4=[[NAME_ITEM4]] |q4=xQUANTITY |picitem4=File:FILENAME_ITEM4 |tag4=(INFO) |item5=[[NAME_ITEM5]] |q5=xQUANTITY |picitem5=File:FILENAME_ITEM5 |tag5=(INFO) |product=[[PRODUCTNAME]] |q6=xQUANTITY |picproduct=File:FILENAME_PRODUCT |description=DESCRIPTION}}
Please consider the index categories [Carpentry,Food,Weapons,Misc] before you choose your index (Thx ^^)
2. The result should look like this:
|1000 |Barricade (Item)= {{Recipe|3 |item1=[[Hammer]] |q1=x1 |picitem1=File:Smallhammer.png |item2=[[Nails]] |q2=x2 |picitem2=File:Smallnails.png |tag2=(consumed) |item3=[[Wooden Plank]] |q3=x2 |picitem3=File:Smallplank.png |tag3=(consumed) |product=[[Barricade (Item)]] |q6=x1 |picproduct=File:Smallbarricade.png |description=A full tile barricade.}}
3. The displayed recipe looks like this:
Output | Ingredients | Description |
---|
All recipes contained in this template
Carpentry (Index: 1000-1999)
Output | Ingredients | Description | Index
Template:RecipeLookup/de|1000 Template:RecipeLookup/de|1001 Template:RecipeLookup/de|1002 Template:RecipeLookup/de|1003 Template:RecipeLookup/de|1004 Template:RecipeLookup/de|1005 Template:RecipeLookup/de|1006 Template:RecipeLookup/de|1007 Template:RecipeLookup/de|1008 Template:RecipeLookup/de|1009 Template:RecipeLookup/de|1010 Template:RecipeLookup/de|1011 Template:RecipeLookup/de|1012 Template:RecipeLookup/de|1013 Template:RecipeLookup/de|1014 Template:RecipeLookup/de|1015 |
---|
Food (Index: 2000-2999)
Output | Ingredients | Description | Index
Template:RecipeLookup/de|2000 Template:RecipeLookup/de|2001 Template:RecipeLookup/de|2002 Template:RecipeLookup/de|2003 Template:RecipeLookup/de|2004 Template:RecipeLookup/de|2005 Template:RecipeLookup/de|2006 Template:RecipeLookup/de|2007 Template:RecipeLookup/de|2008 Template:RecipeLookup/de|2009 Template:RecipeLookup/de|2010 Template:RecipeLookup/de|2011 Template:RecipeLookup/de|2012 Template:RecipeLookup/de|2013 Template:RecipeLookup/de|2014 Template:RecipeLookup/de|2015 Template:RecipeLookup/de|2016 Template:RecipeLookup/de|2017 Template:RecipeLookup/de|2018 Template:RecipeLookup/de|2019 Template:RecipeLookup/de|2020 Template:RecipeLookup/de|2021 Template:RecipeLookup/de|2022 Template:RecipeLookup/de|2023 Template:RecipeLookup/de|2024 Template:RecipeLookup/de|2025 |
---|
Weapons (Index: 3000-3999)
Output | Ingredients | Description | Index
Template:RecipeLookup/de|3000 Template:RecipeLookup/de|3001 Template:RecipeLookup/de|3002 Template:RecipeLookup/de|3003 |
---|
Misc (Index: 4000-4999)
Output | Ingredients | Description | Index
Template:RecipeLookup/de|4000 Template:RecipeLookup/de|4001 Template:RecipeLookup/de|4002 Template:RecipeLookup/de|4003 Template:RecipeLookup/de|4004 Template:RecipeLookup/de|4005 |
---|