Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Template:Shop list row

From DFO World Wiki
Revision as of 11:03, 29 January 2016 by Gardios (talk | contribs) (Created page with "<includeonly>{{Shop list result format|<!--1-->|{{{item}}}|{{PAGENAME}}|{{#arraymap: {{{cost|}}}|,|@@@|{{#explode:@@@| |0}}|,}}|{{#arraymap: {{{cost|}}}|,|@@@|{{#sub:@@@|{{#po...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

This template creates a row for an item to manually create a list. Used in conjunction with Template:Shop list header. Uses Template:Shop list result format for formatting.

The template creates a subobject with the following properties:

  • Has seller
  • Sells item
  • Has purchase cost
  • Has purchase limit
  • Has availability status

Usage

{{Shop list row
| item = 
| cost = 
| limit = 
| status = 
| create subobject = 
}}

Parameters

All parameters are required unless stated otherwise.

item 
Page name of the item.
cost 
Cost of the item. Expected format is quantity, followed by a space, followed by the wiki page of the currency. If multiple currencies are required for purchase, separate them with a comma.
limit 
Optional. The maximum number of times this item can be purchased.
status 
The availability status of the item in the shop. Set to event if the item is exclusively sold during events, or available if it is currently available in the shop. Defaults to available.
create subobject 
Set to y to have the template create a subobject, n to create no subobject. If no subobject is created, the listed item cannot be found when querying for sellers. Defaults to y.