Шаблон:Base ingredients table row
Материал из Guild Wars 2 wiki
Версия от 12:48, 4 апреля 2018; Snowbirdie (обсуждение | вклад)
Usage[править]
Formats the item and quantity for {{base ingredients table}}. We assume that ingredients will be purchased in significant quantities from vendors. We calculate vendor price by utilising {{Base ingredients result format vendor value}}.
Per {{base ingredients table}}, a call to {{base ingredients lookup}} must be made first to generate a value for #var:<item>_quantity_wanted. This is the quantity of the item to purchase from the vendor.
The row identifies the tptotal class and the attributes data-id, data-qty, and data-value. These are used for calculated the total with Widget:TP prices total.
- data-id - The item id of <item>
- data-qty - The quantity of the item, given by #var:<item>_quantity_wanted
- data-value - The vendor price of <item>
Parameters[править]
- Unnamed parameter 1
- Item - The base ingredient