User:Zeal/Sandbox/Templates/summary/item
Jump to navigation
Jump to search
Summary/Item
- Author
- Zeal Vurte
- Description
- Used inside {{Summary}} to create content for a WoW styled item tooltip. For an explanation of what certain keywords mean, a key is provided here.
- Syntax
- {{Summary/item| force=<null or any value> | name=<name> | icon=<name> | stack=<number> | bind=<switch (BoP/BoE/BoU)> | bind-zone=<name> | duration=<number + unit> | qitem=<non-null> | unique=<null or number> | unique-eq=<null or number> | qbegin=<name> | type=<name> | slot=<name> | speed=<number> | dmg=<delimited anys> | dmgtype=<name> | bonus=<number> | bonustype=<name> | dps=<number> | armor=<number> | bonusarmor=<number> | block=<number> | attrib=<delimited strings> | req=<string> | sockets=<delimited {{Socket}}s> | sockbonus=<delimited {{spelllink}}s> | durability=<number> | locked=<null or number> | bag=<number> | race=<delimited strings> | classes=<delimited strings> | rfaction=<name> | rep=<number> | skill=<string or string + number> | prof=<string> | level=<number> | effect=<delimited strings or delimited {{spelllink}}s> | open=<null or any value> | create=<name> | createq=<name> | creates=<delimited {{Loot}}s> | mats=<delimited {{Loot}}s> | charges=<number> | comment=<string> | cooldown=<number + unit> | cast=<numver + unit> | vendor=<{{Cost}}> | sell=<{{Cost}}> | ilvl=<number>}}
- Parameters
- force=
- Null Expanded Flag to prevent the drop of non-default parameters outside the item's page.
- name=
- Expanded Flag for the item's name (this should match the page name of the item).
- icon=
- Expanded Flag for the item's icon filename without extension (passed onto {{Icon}}). Also acts as a Flag for stack=
- stack=
- Item's stack size (passed onto {{Icon}}).
- bind=
- Flagged Switch for the item's binding type if applicable. It supports the following binding types.
- bind-zone=
- Expanded Flag for the item's zone limitation. The value supplied should be an in-game zone name.
- duration=
- Expanded Flag for the item's duration the item will exist. The value supplied should contain the relavant units (sec, min, hours etc.).
- qitem=
- Null Flag to mark item as a quest item.
- unique=
- Null Expanded Flag to mark the item as unique where the value is the limit (a value of 1 will not dispaly a limit).
- unique-eq=
- Null Expanded Flag to mark the item as unique-equipped where the value is the limit (a value of 1 will not dispaly a limit).
- qbegin=
- Null Expanded Flag to mark an item as begining a quest where the value is the quest name.
- type=
- Expanded Flag for the item's type
- slot=
- Expanded Flag for the item's slot
- speed=
- Expanded Flag for the item's weapon speed
- dmg=
- Expanded Flag for the item's damage range supplied in the format
<min> - <max>
. Also acts as a parental Flag for dmg-type= - dmg-type=
- Expanded Flag for the item's damage type
- bonus-dmg=
- Expanded Flag for the item's bonus damage value. Also acts as a parental Flag for bonus-dmg-type=
- bonus-dmgtype=
- Expanded Flag for the item's bonus damage type
- dps=
- Expanded Flag for the Item's DPS
- armor=
- Expanded Flag for the item's armour value. Also acts as as Flag for bonus-armor.
- bonus-armor=
- Null-Expanded Flag for the item's bonus armor value and turns armor into bonus armor. The value will displayed on mouse over of armor's output.
- block=
- Expanded Flag for the item's block value.
- attributes=
- Expanded Flag for the item's attrib.
<br />
should be used as a delimiter to seperate each attribute. - activate=
- Expanded Flag for the item's activation requirements (eg. Meta gems).
- sockets=
- Expanded Flag for the item's sockets. Please use {{Socket}} to create sockets.
<br />
should be used as a delimiter to seperate each socket. - socket-bonus=
- Expanded Flag for the item's socket bonus. {{spelllink}} should be used with the type socket to link to the corresponding spell page when the spell ID is known like so
{{Spelllink|15|socket}}
.<br />
should be used as a delimiter to seperate each socket bonus. - durability=
- Expanded Flag for the item's durability.
- locked=
- Null-Expanded Flag to mark the item as locked. Automatically adds a skill requirement when a non-Null Value is supplied, where the value is the lockpicking skill level required to unlock it.
- bag=
- Expanded Flag to mark the item as a bag where the value is the number of slots.
- races=
- Expanded Flag for the item's race requirements where the value is the race names.
,
should be used as a delimiter to seperate each race. - classes=
- Expanded Flag for the item's class requirements where the value is the class names.
,
should be used as a delimiter to seperate each race. - faction=
- Expanded Flag for the item's faction requirement where the value is the faction name. Also acts as a Flag for rep=.
- rep=
- Item's rfaction= level requirement value.
- skill=
- Expanded Flag for the item's skill requirement where the value is either a skill name or a combination of a skill name and skill level.
- prof=
- Expanded Flag for the item's profession specialization requirement where the value is a profession speciality.
- level=
- Expanded Flag for the item's level requirement where the value is a level.
- effects=
- Expanded Flag for the item's effects. {{spelllink}} should be used with no type to link to the corresponding spell page when the spell ID is known, like so
{{Spelllink|15}}
. - open=
- Null Flag to mark the item as being openable.
- create=
- Expanded Flag to link the item this item creates, or teaches the user how to create (passed onto {{Loot}}). Also acts as a Flag for createq=.
- createq=
- Item's create= quality value.
- creates=
- Expanded Flag to link the items the item creates, or teaches the user how to create. Please use {{Loot}} to link each item.
,
should be used as a delimiter to seperate each item. - mats=
- Expanded Flag for the item's creates= material requirements to create the items the item creates, or teaches the user to create. Please use {{Loot}} to link each item.
,
should be used as a delimiter to seperate each item. - charges=
- Expanded Flag for the item's charges.
- comment=
- Expanded Flag for the item's comment text.
- The following are non-default parameters and will onyl be displayed on the item's own page.
- cooldown=
- Expanded Flag for the item's effect= cooldown.
- cast=
- Expanded Flag for the item's effect= cast time.
- vendor=
- Expanded Flag for the item's buy (from vendor) value without discounts. {{Cost}} should be used.
- sell=
- Expanded Flag for the item's sell (to vendor) value without discounts. {{Cost}} should be used.
- ilvl=
- Expanded Flag for the item's level.
- Example
- Code
{{User:Zeal/Sandbox/Templates/tooltip
|Zulian Stone Axe
|left
|18em
{{User:Zeal/Sandbox/Templates/summary/item
|name=Zulian Stone Axe
|icon=INV_Axe_34
|quality=Rare
|bind=BoP
|type=Axe
|slot=Two-Hand
|speed=2.80
|dmg=131 - 197
|dps=58.6
|attributes=+22 Intellect
|durability=100
|level=60
|effect=
Equip: +44 Attack Power.<br />
Equip: Improves your chance to get a critical strike by 1%.
|comment=Bears the mark of Jin
|sell={{cost|8|78|68}}
|ilvl=68
}}
}}
- Result
- Zulian Stone Axe
- Binds when picked up
- Axe
- Two-Hand
- Speed 2.80
- 131 - 197 Damage
- (58.6 damage per second)
- +22 Intellect
- Durability 100 / 100
- Requires Level 60
- Equip: +44 Attack Power.
Equip: Improves your chance to get a critical strike by 1%. - "Bears the mark of Jin"