Template:SWLItembox/doc

From CryGaia Wiki
Revision as of 01:55, 11 August 2017 by Sojourner (talk | contribs) (→‎Parameters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

NOTE: This template is meant for the following types of items: Mission items, Matieral items, Bags, Consumables, Gadgets, Glyphs, Signets, and Toolkits

For other types of items see:

Also note that this template should rarely need to be used on it's own since the Template:Itempage boilerplate used to create articles for all of these types of items includes this template automatically.

Usage

Place this at the very top of your page, and fill in the information provided (variable descriptions follow the code). If some variables don't have info, just ignore it, and it will be hidden in the template.

{{SWLItembox
|name=
|image=
|type=
|colour=
|rank=
|power=
|duration=
|binds=
|unique=
|itemtext=
|itemtext2=
|sells for=
|stacks=
}}

IMPORTANT - Do not add the you should not need to add any categories to the page when using this template. They are automatically set by the template!

Parameters

Parameter Name Required Description Accepted Values Default
name Yes Needs to be included in order to help with transclusion and use with other templates. Name of item
image No Inventory icon image. <filename>.<extension> <itemname>.jpg
type Yes Type of item
NOTE: For out-of combat health type items (food, drink, cigarette, etc) use "Food" instead of "Consumable"
Bag, Consumable, Food, Glyph, Material, Mission, Signet, Theatrical, Toolkit.
For gadgets, enter the gadget type - Stimulant, Kickback, or Curiosity
colour No Rarity Colour level of the item. White, Green, Blue, Purple, Orange, Red White
rank Yes Item Quality Level Number ?
power No Item Power, if the item has one Number
duration No Used if the item has a listed duration. Duration Blank
binds No Does the item Bind-on-Pickup (bop) or Bind-on-Equip (boe) bop, boe Does not bind
unique No Is this item unique (can only have 1 in your inventory yes,no No
itemtext No Used for any text description the item may have.
"Cannot use in combat." for food items is automatically handled by the template.
Text Blank (except for food)
itemtext2 No Used if the item has a second block of text (typical, the mission used in) Text Blank
sells for No Sale value of the item, in Anima Shards Number Blank
stacks No If this item stacks Yes,No No