Template:Item as ingredient
Jump to navigation
Jump to search
This template queries the Recipes
, Recipe_ingredients
, and Items
cargo tables to produce a list of items that are crafted from a particular item. Everytime a item page is saved, the data in the tables are refreshed, which will update calls to it.
Related Templates/Modules:
- This template uses Module:CargoQuery for the ability to skin the results inside of a template.
- This template uses {{Item as ingredient/phantom}} as a shell of how the core rows of data get displayed.
Syntax
{{Item as ingredient
| Item Name (optional)
| Second item name: this OR that (optional).}}
- If no additional conditions are added, it will take the {{PAGENAME}}.
- If the user adds a pipe + a item, it will use that item instead.
Examples
Worm
{{Item as ingredient|Worm}}
Product | Ingredients | Workbench | Time | Sell Price |
---|---|---|---|---|
6hr | 1 | |||
6hr | 1 | |||
6hr | 1 | |||
6hr | 1 | |||
6hr | 1 | |||
6hr | 1 | |||
6hr | 1 | |||
6hr | 1 | |||
20hr | 1 | |||
20hr | 1 |
Sunflower or Sunflower Seeds
{{Item as ingredient|Sunflower|Sunflower Seeds}}
Product | Ingredients | Workbench | Time | Sell Price |
---|---|---|---|---|
1hr | 160 | |||
2-3 days | 250 | |||
1hr | 320 | |||
48hr |
None (single item)
{{Item as ingredient|Bat Mount Whistle}}
No crafting recipe needs Bat Mount Whistle as an ingredient.
None (multi item)
{{Item as ingredient|Spotted Dress|Fluffy Dress}}
No crafting recipe needs Spotted Dress or Fluffy Dress as an ingredient.