Template:Shop availability

From Sun Haven Wiki
Jump to navigation Jump to search
float Template documentation[View] [Edit] [History] - [Sandbox] [Refresh]

This template queries the Shop_inventory cargo table to produce a list of shops that sell a particular item. Everytime a shop page is saved, the data in the Shop_inventory is refreshed, which will update calls to it.

Related Templates/Modules:

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 location(s):

Sold At Cost Notes
Bakery.png Bakery 130 Coins.png
General Store.png General Store 140 Coins.png
Withergate General Store.png Withergate General Store 10 Tickets.png

Pizza Box

{{Shop availability|Pizza Box}}


Pizza Box can be purchased from the following location(s):

Sold At Cost Notes
Bakery.png Bakery 4500 Coins.png Randomly available.



 

See the articles and the templates currently using this template.