Template:Base ingredients
From Guild Wars 2 Wiki
Jump to navigationJump to search
Usage[edit]
Generates a list of the base ingredients for a given item. {{Base ingredients lookup}} handles looking up and generating the list of materials. {{base ingredients table}} generates the table from the lookup call. Used by the form Base ingredients query.
Parameters[edit]
- item
- The item to generate the list of ingredients for (Property:Has item data object)
- quantity
- Optional. The quantity of the item to create. Defaults to 1.
- id
- The recipe id of the recipe to generate the list of base ingredients for.
- discipline
- Optional. The discipline (Property:Requires discipline) to prefer for crafting recipes.The template will look for item recipes for the specific profession. By default, the template will pick the first recipe found for the item.
- info
- Optional. Defaults to "buys" (highest buy offer). Inherited parameter from Widget:Tp total calculate. Other options: "sells" (lowest sell offer) and "sellst" (lowest sell offer including trading post cost)
- widget
- Optional. If set equal to "no", prevents calculation of the TP total price. Useful if using multiple queries on one page - the last lookup should be set equal to "yes" or invoke Template:Tp total calculate directly.
Example[edit]
{{Base ingredients|Iron Ingot}}
1 Iron Ingot
(TP: )
Quantity | Material | Buy price (each) | Material cost |
---|---|---|---|
3 | Iron Ore | ... | ... |
Total crafting cost | ... |