Template:ShopList: Difference between revisions

(Created page with "<includeonly>{| class="wikitable sortable autosort=1,a" ! Shop ! Location |- {{#ask: [[Sold item::{{{1|{{PAGENAME}}}}}]] |?Sold by = shop |?Shop sell price = sell |?Shop buy price = buy |format = template |template = StoreLocationsList/Line |link = none |searchlabel = |named args = yes }} |}</includeonly><noinclude>{{/doc}}</noinclude>")
 
(Currency -> Currency cell)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable sortable autosort=1,a"
<includeonly>{| class="wikitable sortable autosort=1,a align-center-2 align-right-3 align-right-4"
! Shop
! Shop
! Episode
! Location
! colspan="10" | Buy price
! colspan="10" | Sell price
|-
|-
{{#ask:
{{#ask:
[[Sold item::{{{1|{{PAGENAME}}}}}]]
[[Sold item::{{{1|{{PAGENAME}}}}}]]
|?Sold by = shop
|?Sold by = shop
|?Shop sell price = sell
|?Shop buy price = buy
|?Shop buy price = buy
|?Shop sell price = sell
|format = template
|format = template
|template = StoreLocationsList/Line
|template = ShopList/Line
|link = none
|link = none
|searchlabel =
|searchlabel =

Latest revision as of 21:42, 20 November 2024

Template documentation
This documentation is transcluded from Template:ShopList/doc. [edit] [history] [purge]

This template generates a list of shops which sell a specified item. It makes use of the semantic mediawiki properties Property:Sold item, Property:Sold by, Property:Shop buy price, and Property:Shop sell price to search for the items and include data about them. If an item does not appear in the list, first purge the shops page, then purge the page of the item with this template on.

{{ShopList|Item name (optional)}}

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Generates a list of shops that sell a given item

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item name1

The name of the item

Example
Bucket
Auto value
{{subst:PAGENAME}}
Page nameoptional