From Guild Wars 2 Wiki
(Redirected from Template:Trading Post)
Jump to: navigation, search



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.


unnamed parameter 1
Item name. This parameter can also take the item ID instead.
unnamed parameter 2
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.
Optional. This parameter specifies the placeholder text until the trading post data was loaded. Defaults to .


{{tp|Mithril Ore}}

{{tp|Mithril Ore|buy}}

{{tp|Mithril Ore|sell}}



Discontinued widget documentation

This widget displays trading post price information for items. To use, place the widget anywhere on the page, and annotate elements (e.g. a span) like this:

<span class="gw2-tpprice" data-id="<item-id>">…</span>
<span class="gw2-tpprice" data-id="<item-id>" data-info="<info-type>">…</span>

The content will then be replaced by trading post information. The data-info value determines what kind of data will be shown:

  • data-info="buy" will show the highest buy order, and display the amount of ordered items in the title text.
  • data-info="sell" will show the lowest sell offer, and display the amount of listed items in the title text.
  • For all other values (or none), the lowest sell offer will be displayed, and both the sell offer and buy order will be displayed in the title text.
  • Only supports up to 200 items per page.

See also[edit]