Template:Recipe drill

From Guild Wars 2 Wiki
Jump to navigationJump to search

A wrapper template for Widget:Recipe drill to help track the widget usage.

Usage[edit]

{{Recipe drill|<name>}}

Parameters[edit]

1 (unnamed parameter)
Required. Item page name.
qty
Optional. The quantity of the base recipe to get materials for. Defaults to 1
id
Optional. The item's game ID. Defaults to an item id lookup for the given item name.
ingredients
Optional. If specified, the above three parameters will be overridden. A newline separated list of ingredients of the form quantity; item id; item name. If item id is omitted, it will use SMW to guess. If no semi-colons at all, it will assume quantities are all 1 and that only the item page name has been given.
smw
Optional. If specified, the above four parameters will be overridden. A semi-colon separated list of page names.
style
Optional. Style of the wrapper div element. Defaults to width:800px; border:1px dotted silver; padding:1em;
headers
Optional. If set equal to "no", hides the header text.

Syntax examples[edit]

{{Recipe drill|The Juggernaut}}
{{Recipe drill|The Juggernaut|qty=1}}
{{Recipe drill|ingredients=
The Juggernaut
Twilight
}}
{{Recipe drill|ingredients=
1; The Juggernaut
1; Twilight
}}
{{Recipe drill|ingredients=
1; 30690; The Juggernaut
1; 30704; Twilight
}}

Example[edit]

{{Recipe drill|ingredients=
The Juggernaut
Twilight
}}

Ingredients drill

Ingredients in this list can be expanded by pressing on the "+" signs, or collapsed by pressing "–" sign. Clicking on the row will also toggle the ingredients. Ingredients with an "x" cannot be expanded further.

Round brackets signify individual recipe quantities, whilst square brackets indicate total quantities to reach that recipe branch.

Ingredient summary

This table calculates the totals of all the ingredients with a "+" or "x" sign beside them above, i.e the lowest level ingredients currently shown. It automatically updates when a "+" or "-" is clicked above.