Template:Infobox RewardItem/doc
More actions
Purpose
This infobox summarizes a pledge, backer, or other reward item. It displays the item name, optional image, and availability while storing identifiers and selected item metadata for semantic queries.
Usage
{{Infobox RewardItem
|name=
|image=
|imagewidth=
|available=
|coto price=
}}
Parameters
| Parameter | Required | Explanation |
|---|---|---|
name
|
No | Item name displayed at the top of the infobox and stored in Has itemname. Defaults to the page name.
|
image
|
No | Filename of the representative image. When supplied, the template displays it and stores the filename in Has picture.
|
imagewidth
|
No | Display width passed to the image row. Defaults to 250.
|
available
|
No | Availability or reward source displayed in the infobox. Wiki links may be used when an established reward-tier or source page exists. |
coto price
|
No | Optional regular Crown price stored in Has regular price. The current template does not display this value as a visible row.
|
Semantic properties
Every invocation stores the effective item name in Has itemname, the current page name in Has pagename, and the current subpage name in Has subpage. Supplying image adds Has picture; supplying coto price adds Has regular price.
Use established page names and filenames. Do not add undocumented parameters merely because a related infobox supports them.
Example
{{Infobox RewardItem
|image=featuredImageSmallCollectorsBox.jpg
|available=[[Explorer (Benefactor)|Explorer pledge reward]]
}}
See Collector's Box for this template in use. The example is not rendered here because it would assign reward-item properties to the documentation page.