Template:Settip

From Warcraft Wiki
Jump to navigation Jump to search


Tooltip-style extension for set details.

Required Prefix

All set articles are required to start the settip code with the following fragment exactly as it appears here:

{{#data:settip

This fragment manages transclusion of set data, making set entries in tooltips possible.

Set data arguments

name=
Set name.
piececount=
Number of pieces in this set.
<stat/effect>=
Sums of stats, attributes and ratings of this set (Armor, Stamina, Intellect, Spirit, Agility, Strength, etc), socket bonuses as [+X] (full list in boilerplate).
effects=
Effects not covered by combat ratings (increased movement speed, increased ability damage, etc), separate by <br />.
<color>-sockets=
Sum of sockets on of the specific color on the set.
req=
Requirement text to receive set bonuses, omit Requires.
pieces=
List of all set pieces, separate by <br />.
bonus=
List of all set bonuses (format: (#) Set: bonus text), separate by <br />.
categories=
A list of categories set items should be put in.

Formatting/ arguments

width=
Optional: width of the tooltip, defaults to 18em.
show=
Optonal: if passed as "away", displays a smaller tooltip that float to the left.

Copyable boilerplate

{{#data:Settip
|name=
|piececount=
|armor=
|strength=
|agility=
|stamina=
|intellect=
|dodge=
|haste=
|mastery=
|crit=
|versatility=
|attackpower=
|spellpower=
|resilience=
|pvppower=
|effects=
|meta-sockets=
|prismatic-sockets=
|pieces=
|bonus=
|categories=
}}