Template:RecipeLookup: Difference between revisions
(Per editor request) |
(added small and large table) |
||
Line 36: | Line 36: | ||
|description=A basic wooden wall. In the current game build, the craft-able walls are indestructible, a temporary characteristic.}} | |description=A basic wooden wall. In the current game build, the craft-able walls are indestructible, a temporary characteristic.}} | ||
|1004 | |1004 | ||
| | |Small Table= | ||
{{Recipe|3 | {{Recipe|3 | ||
|item1=[[ | |item1=[[Hammer]] |q1=x1 |picitem1=File:Smallhammer.png | ||
|item2=[[ | |item2=[[Nails]] |q2=x5 |picitem2=File:Smallnails.png |tag2=(consumed) | ||
|item3=[[ | |item3=[[Wooden Plank]] |q3=x4 |picitem3=File:Smallplank.png |tag3=(consumed) | ||
|product=[[ | |product=[[Small Table]] |q6=x1 |picproduct=File:Wooden_table_anim.gif | ||
|description=A | |description=A small table}} | ||
|1005 | |1005 | ||
|Wooden Window Frame= | |Wooden Window Frame= | ||
Line 102: | Line 102: | ||
|product=[[Rain Collector Barrel]] |q6=x1 |picproduct=File:RainCollectorBarrel.png | |product=[[Rain Collector Barrel]] |q6=x1 |picproduct=File:RainCollectorBarrel.png | ||
|description=A handy little barrel that collects and stores rainwater for later usage. One of the only sources of renewable water.}} | |description=A handy little barrel that collects and stores rainwater for later usage. One of the only sources of renewable water.}} | ||
|1013 | |||
|Large Table= | |||
{{Recipe|3 | |||
|item1=[[Hammer]] |q1=x1 |picitem1=File:Smallhammer.png | |||
|item2=[[Nails]] |q2=x6 |picitem2=File:Smallnails.png |tag2=(consumed) | |||
|item3=[[Wooden Plank]] |q3=x4 |picitem3=File:Smallplank.png |tag3=(consumed) | |||
|product=[[Large Table]] |q6=x1 |picproduct=File:Table_left_anim.gif | |||
|description=A large table}} | |||
|2000 | |2000 | ||
|Pot_of_soup= | |Pot_of_soup= | ||
Line 460: | Line 468: | ||
{{RecipeLookup/de|1011}}|1011 | {{RecipeLookup/de|1011}}|1011 | ||
{{RecipeLookup/de|1012}}|1012 | {{RecipeLookup/de|1012}}|1012 | ||
{{RecipeLookup/de|1013}}|1013 | |||
|} | |} | ||
=== Food (Index: 2000-2999) === | === Food (Index: 2000-2999) === |
Revision as of 01:43, 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 |
---|
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 |
---|