Template:Base ingredients table row

From Guild Wars 2 Wiki
Jump to navigationJump to search

Usage[edit]

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 utilizing {{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 total calculate.

  • 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[edit]

1 (unnamed parameter)
Item - The base ingredient