Template:Settip/doc

Tooltip-style extension for set details, supports being embedded into tooltip itself (tooltip passes nobox=true to page, page passes nobox=true to settip, settip refrains from generating div and ul tags, appending itself to existing tooltip). This is useful for including it conditionally - for example, only on the item detail page.

Required Prefix
All set articles are required to start the settip code with the following fragment exactly as it appears here: {{ #data:settip |mode= {{{mode|}}} |arg= {{{arg|}}} 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
 * stats=:Sums of stats and attributes of this set (Armor, Sta, Int, Spi, Agi, Str), socket bonuses as [+ X], separate by.
 * effects=:Sums of all effects (increased ratings, mana per 5, etc), separate by.
 * sockets=:List of sockets on all items, separate by.
 * req=:Requirement text to receive set bonuses, omit Requires.
 * pieces=:List of all set pieces using loot, separate by
 * bonus=:List of all set bonuses (format: (#) Set: bonus text), separate by

Formatting/ arguments

 * disambigpage=:Name of the page containing the tooltip, if the not Set Name itself (used to allow default-page formatting on disambiguated pages).
 * width=:Width of the tooltip, defaults to 18em.
 * float=:Where to float the tooltip, defaults to right on own page, left elsewhere.