Template:Tp total placeholder

From Guild Wars 2 Wiki
Jump to navigationJump to search

This template creates an element which is used by Template:tp total calculate to calculate and display the total value of a given materials list. (Please note that tp total calculate should only be used once per page)

Usage[edit]

{{tp total placeholder|info = buys|
<item 1 quantity>; <item 1 name>
<item 2 quantity>; <item 2 name>
<item 3 quantity>; <item 3 name>
}}

Parameters[edit]

1 (unnamed parameter)
Item quantity and name.
Use semi-colons to separate the item quantity, item name and item fallback value (value is optional, and could for example be a vendor price).
Use new lines to separate different items.
info
"buys" (default, highest buy offer), "sells" (lowest sell offer), "sellst" (lowest sell offer including trading post cost).
direct cost
Allows an additional vendor cost to be specified, e.g. when trading Grandmaster Huntsman's Mark, an additional 5 Gold coin is incurred (direct cost = 50000).
sep
Optional, by default new line is used.
placeholder
Optional. This parameter specifies the placeholder text until the trading post data was loaded. Defaults to .

Example[edit]

It would cost a total of {{tp total placeholder|
50; Orichalcum Ingot
50; Elder Wood Plank
| direct cost = 50000
}} to craft a random item using the buy it now price.

{{tp total calculate}}

It would cost a total of to craft a random item using the buy it now price.

See also[edit]