Template:Shop Availability/doc

From Sun Haven Wiki
Jump to navigation Jump to search

This template queries hidden categories using DPL to produce a list of shops that sell a particular item.

This template also uses {{Shop Availability/phantom}} as a shell of how the data gets displayed.

We have also created a "mini" version of this template to display in the infoboxes of pages. {{Shop Availability/infobox}} and its phantom: {{Shop Availability/infobox/phantom}}

Syntax

{{Shop Availability}}
  • If no additional conditions are added, it will take the {{PAGENAME}}.
  • If the user adds a pipe + a item, it will use that item instead.

Examples

Sugar

{{Shop Availability|Sugar}}


Sugar can be purchased from the following 3 locations:

Item Shop Cost Notes
Sugar.png Bakery 130 Coins.png
Sugar.png General Store 140 Coins.png
Sugar.png Withergate General Store 10 Tickets.png