Template:Tp

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

{{tp|item}}
{{tp|item|type}}

This template displays the current Trading Post price for a single item. By default, it will display the lowest sell offer and show both the lowest sell offer and the highest buy order in the title text (visible when hovering over the price). This behavior can be changed using the second parameter.

Parameters[edit]

1 (unnamed parameter)
Item name. This parameter can also take the item ID instead.
2 (unnamed parameter)
Optional. Information to display. Either sell to only display the sell price, or buy to only display the buy price. By default, it will display the sell price and show both prices in the title text.
quantity
Optional. Defaults to a quantity of 1. Multiplies the individual price by the quantity to display the total price.
placeholder
Optional. This parameter specifies the placeholder text until the trading post data was loaded. Defaults to .

Examples[edit]

{{tp|Mithril Ore}}

{{tp|Mithril Ore|buy}}

{{tp|Mithril Ore|sell}}

{{tp|Mithril Ore|quantity=50}}

{{tp|19700}}

See also[edit]