Template:CrownShop/doc
More actions
Purpose
This template adds a Digital Purchase section for an item recorded in the Crown Shop. It displays a compact purchase table and stores Crown Shop metadata for semantic queries.
Usage
{{CrownShop
|storename=
|cost=
|numberleft=
|numbersold=
|updated=
}}
Parameters
| Parameter | Required | Explanation |
|---|---|---|
storename
|
No | Item name displayed in the table and stored in the Has storename property. Defaults to the page name.
|
cost
|
No | Regular Crown Shop price in Crowns of the Obsidians. When supplied, the value is displayed beside the crown icon and stored in Has crown price. An omitted value displays Unknown.
|
numberleft
|
No | Remaining quantity for a limited item. Supplying this parameter displays the Limited row as numberleft/numbersold.
|
numbersold
|
No | Total quantity used as the denominator in the Limited row. It is displayed only when numberleft is also supplied.
|
updated
|
No | Date, release, or short note identifying when the price or availability record was checked. An omitted value displays Unknown. |
Behavior and side effects
The template adds the transcluding page to Category:Crown Shop. It also stores the item name in Has storename and unconditionally stores true in Is available. Use this template only when those classifications are intended.
The displayed disclaimer notes that prices exclude sales and that seasonal, limited, and historical listings may not remain available. Editors should date the record with updated and should not infer current availability from an old article.
Examples
Page name as store name
{{CrownShop
|cost=500
|updated=Price checked in Release 116
}}
Different store name
{{CrownShop
|storename=Example Item (Vault Edition)
|cost=700
|updated=Price checked in Release 116
}}
See Cooking Pot of Prosperity and Combat Sigil Cloak for live uses. Examples are not rendered here because doing so would assign Crown Shop properties and categories to the documentation page.