Template:Item: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Add default value to dice.)
m (2 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 22:17, 15 November 2016

Item
Range
-
Buy (Sell)
- (-)
Type
{{{type}}}
{{{text}}}
{{{worn}}} -
Template documentation (for the above template, sometimes hidden or invisible)
Item should be used for all Item pages.

Usage

The infobox may be added by pasting the template as shown below into an article. Any parameters which are left blank or omitted will not appear in the published article.

{{Item
| name = 
| range = 
| buy = 
| sell = 
| type = 
| text = 
| worn = 
| dice = 
}}

Parameters

Parameter Explanation
name The name of the item, default is the page's title
range The range type of the item, either Melee, Ranged, or -
buy The cost to purchase the item if it's purchasable, otherwise use -
sell The value of the item when sold back. This is 1/2 * Buy rounded down to the nearest 25.
type The type of the item
text The text on the item card
worn The worn location, either 1 Hand, 2 Hands, Armor, Misc, or Other
dice Any dice associated with the item if it's a weapon or armor

Categories

The following categories are built into the template:

  - Items

Visit Template:Item/doc to edit this text! (How does this work?)