Wikia

WoWWiki

Changes: Template:Effecttip

Edit

Back to page

(make default float:none; not left, otherwise there is no linebreak after tip)
Line 1: Line 1:
<onlyinclude><includeonly><div style="font-size: 1em; margin: 0.2em 4px 0.2em 40px; min-height: 32px; position: relative; float: {{{float|left}}}; width: {{{width|16em}}}" class="wtooltip bufftip {{lc:{{{etype|buff}}} {{{etype|buff}}}{{{type|}}}}}">
+
<onlyinclude><includeonly><div style="font-size: 1em; margin: 0.2em 4px 0.2em 40px; min-height: 32px; position: relative; float: {{{float|none}}}; width: {{{width|16em}}}" class="wtooltip bufftip {{lc:{{{etype|buff}}} {{{etype|buff}}}{{{type|}}}}}">
 
{{Icon|{{{icon|Temp.png}}}||3|ext=|float=none;position: absolute; left: -38px; top: -0.25em}}
 
{{Icon|{{{icon|Temp.png}}}||3|ext=|float=none;position: absolute; left: -38px; top: -0.25em}}
 
<ul>
 
<ul>

Revision as of 02:27, September 17, 2009

Description
Buff/Debuff tooltip formatting.
Syntax
Bold parameters are required, italic are optional.
|name= Effect name.
|type= Effect dispel type (physical, weapon, magic, curse, disease, poison).
|etype= Effect type (buff, debuff).
|cooldown= (Optional) Cooldown. (Will appear as "cooldown_time cooldown", so for 22 sec it will appear as "22 sec cooldown").
|description= Tooltip text.
|duration= Effect duration, with units (omit if not relevant).
|icon= Effect image, without extension.
|float= (Optional) Float mode for the tooltip (left, right, none).
|width= (Optional) Tooltip width (defaults to 16em, note that icon is not included here).
See also

Tests

Spell nature regeneration
  • Magic
  • Mark of the Wild
  • Increases the friendly target's armor by 340, all attributes by 14 and all resistances by 25 for 30 min.
  • Duration: 30 min
Inv potion 100
  • Weapon
  • Brilliant Mana Oil
  • Restores 12 mana to the caster every 5 seconds and increases the effect of healing spells by up to 25.
  • Duration: 30 min


Spell shadow auraofdarkness
  • Curse
  • Curse of Doom
  • Causes 9001 Shadow damage after 1 min.
  • Duration: 1 min
Spell shadow shadowwordpain
  • Magic
  • Shadow Word: Pain
  • A word of darkness that causes 3000 Shadow damage over 18 sec.
  • Duration: 18 sec
Spell shadow blackplague
  • Disease
  • Devouring Plague
  • Causes 300 damage every 3 seconds, healing the caster.
  • Duration: 24 sec
Spell nature nullifydisease
  • Poison
  • Mind-numbing Poison
  • Increases casting time by 60% for 10 sec.
  • Duration: 10 sec
Ability warrior savageblow
  • Mortal Strike
  • Healing effects reduced by 50%.
  • Duration: 10 sec

Around Wikia's network

Random Wiki