Plantilla:Itemtip

De Wowpedia
Saltar a: navegación, buscar

A summary of the changes compared to {{Tooltip}} can be viewed on Template:Itemtip/doc/log.

Boilerplate

Use this template in conjunction with the #data parser function; the minimum required syntax is:

{{#data:Itemtip
|name = Item name
|icon = lowercase item icon without extension
|quality = Item quality
...
}}

Additional arguments from below can be placed in place of "..." in the example above.

Template arguments

Name Description
Required
|name= Item name as it appears in-game.
|icon= Item icon; all lower case, omit File: and extension.
|quality= Item quality; one of: poor, common, uncommon, rare, epic, legendary, heirloom.
General
|stack= Number; maximum stack size of items that can be stacked.
|heroic= Flag; provide only if this is the Heroic version of an item.
|conjured= Flag; provide only if this item is conjured.
|location= Zone or instance this item is bound to.
|holiday= Holiday (like Brewfest) this item item requires.
|bind= Item binding type, one of: bop, boe, bou, bta, quest.
|unique= Maximum number of this item the player may have in his bags.
|unique-eq= Maximum number of this item the player may have equipped.
|unique-type= Uniqueness category e.g "Jeweler's Gems"
|duration= Amount of time before the item vanishes from the player's inventory, e.g. "3 days (real time)"
|qbegin= Name of the quest this item begins.
Item type/slot
|mount= Riding skill required to learn this mount.
|glyph= Glyph type, one of: prime, major, minor.
|gem= Gem type, e.g. "Red", "Cogwheel", "Prismatic"
|type= Item type (if not mount, glyph) e.g. "Staff", "Sword", "Leather"
|slot= Inventory slot the item can be equipped in, e.g. "Trinket"
|bag= Number of slots this bag has.
|durability= Maximum durability.
Weapon stats
|speed= Weapon speed.
|dmglow= Low boundary of weapon damage.
|dmghigh= High boundary of weapon damage.
|dmgtype= Magical damage school (primarily on wands)
|bonuslow= Low boundary of bonus damage.
|bonushigh= High boundary of bonus damage.
|bonustype= Bonus damage type, e.g. "Nature"
Attributes
|armor= Amount of armor on this item.
|bonusarmor= Flag; pass if armor has bonus (green) armor.
|strength= Strength bonus.
|agility= Agility bonus.
|stamina= Stamina bonus.
|intellect= Intellect bonus.
|spirit= Spirit bonus.
|randomsuffix= Flag; include if the item has a random enchant suffix, e.g. "of the Eagle".
|gemattrib= Gem attributes, e.g. "+20 Intellect and +20 Haste Rating" or "+21 Intellect and +2% Maximum Mana"
Resistances
|fire= Fire resistance bonus.
|nature= Nature resistance bonus.
|frost= Frost resistance bonus.
|shadow= Shadow resistance bonus.
|arcane= Arcane resistance bonus.
|resist= Resistance to all schools bonus.
Sockets
|red-sockets= Number of red sockets this item has.
|blue-sockets= Number of blue sockets this item has.
|yellow-sockets= Number of yellow sockets this item has.
|meta-sockets= Number of meta sockets this item has.
|prismatic-sockets= Number of prismatic sockets this item has.
|cogwheel-sockets= Number of cogwheel sockets this item has.
|sockbonus= Socket bonus description.
Requirements
|classes= List of classes this item is limited to, e.g. "Mage, Warlock, Priest".
|races= List of races this item is limited to, e.g. "Blood Elf"
|level= Level required to use this item.
|reqilvl= Item requires an item level
|locked= Lockpicking skill required to unlock this item.
|prof= Profession required to use this item.
|profskill= Profession skill required to use this item.
|rfaction= Required faction name, e.g. "Shattered Sun Offensive"
|rep= Required reputation level, e.g. "Exalted"
|rating= Required arena rating
|req= Misc requirements not covered by the above; include "Requires"
|ilvl= Item level.
|noDE= Flag; provide if the item cannot be disenchanted.
Effects
|pickup= Misc "On Pickup" effects.
|equip= Misc "On Equip" effects.
|equip2= Misc "On Equip" effects.
|attackpower= Attack power bonus.
|rangedattackpower= Ranged power bonus.
|dodge= Dodge rating bonus.
|parry= Parry rating bonus.
|haste= Haste rating bonus.
|hit= Hit rating bonus.
|crit= Crit rating bonus.
|resilience= Resilience rating bonus.
|expertise= Expertise rating bonus.
|mastery= Mastery rating bonus.
|spellpower= Spell power bonus
|spellpen= Spell penetration rating bonus.
|hp5= Amount of health restored per 5 seconds.
|xp= % of XP gained bonus.
|onhit= On hit effect.
|use= Use effect.
Misc
|cooldown= Item cooldown, e.g. "15 seconds"
|cast= Cast time, e.g. "5 seconds"
|create= Item (page) taught by this recipe.
|mats= Materials required to craft the item taught by this recipe.
|charges= Amount of charges on this item.
|flavor= Flavor text.
|read= Flag; provide if the item can be read.
|readlink= Optional; name of the page contain the text that can be read from this item.
|open= Flag; provide if the item can be opened.
|set= If the item is part of the set, Wowpedia set page name.
|sellprice= Amount of copper vendors are willing to give for this item.
|itemid= Item ID.
Formatting switches
|width= Tooltip width; 18em default.
|show= Formatting switch; provide "full" to render full tooltip, "short" to render a short version.