Wikia

WoWWiki

Changes: Template:Tooltip

Edit this page

Back to page

(add found parameter for "Found in ...")
m (Reverted edits by Fandyllic (Talk); changed back to last version by Kirkburn)
Line 79: Line 79:
 
|<</nowiki>ilvl<nowiki>=>
 
|<</nowiki>ilvl<nowiki>=>
 
|<</nowiki>source<nowiki>=>
 
|<</nowiki>source<nowiki>=>
|<</nowiki>usedin<nowiki>=>
+
|<</nowiki>use<nowiki>=>
 
|<</nowiki>cname<nowiki>=>
 
|<</nowiki>cname<nowiki>=>
 
|<</nowiki>occupation<nowiki>=>
 
|<</nowiki>occupation<nowiki>=>
 
|<</nowiki>clvl<nowiki>=>
 
|<</nowiki>clvl<nowiki>=>
|<</nowiki>found<nowiki>=>
 
 
|<</nowiki>race<nowiki>=>
 
|<</nowiki>race<nowiki>=>
 
|<</nowiki>class<nowiki>=>
 
|<</nowiki>class<nowiki>=>
Line 116: Line 115:
 
::|sell={{gsc|8|78|68}}
 
::|sell={{gsc|8|78|68}}
 
::|ilvl=68
 
::|ilvl=68
::|source=Drop
 
 
:<nowiki>}}</nowiki>
 
:<nowiki>}}</nowiki>
 
:<nowiki>{{</nowiki>{{PAGENAME}}
 
:<nowiki>{{</nowiki>{{PAGENAME}}
Line 150: Line 148:
 
<li style="color: #66C;">Sell {{gsc|8|78|68}}</li>
 
<li style="color: #66C;">Sell {{gsc|8|78|68}}</li>
 
<li style="color: #66C;">[[Level (Item)|<span style="color: #66C;">Item Level</span>]] 68</li>
 
<li style="color: #66C;">[[Level (Item)|<span style="color: #66C;">Item Level</span>]] 68</li>
<li style="color: #66C;"><small>Source: Drop</small></li>
 
 
</ul>
 
</ul>
 
</div>
 
</div>
Line 205: Line 202:
 
Item Creats Item -->{{if|{{{create|}}}|then=<li>{{Loot|{{{createq|}}}|{{{create}}}}}</li>}}<!--
 
Item Creats Item -->{{if|{{{create|}}}|then=<li>{{Loot|{{{createq|}}}|{{{create}}}}}</li>}}<!--
 
Item Required Mats to Create -->{{if|{{{mats|}}}|then=<li>Requires {{{mats}}}</li>}}<!--
 
Item Required Mats to Create -->{{if|{{{mats|}}}|then=<li>Requires {{{mats}}}</li>}}<!--
  +
Item Use -->{{if|{{{use|}}}|then=<li style="color: #0F0;">Use: {{{use}}}</li>}}<!--
 
Item Charges -->{{if|{{{charges|}}}|then=<li>{{{charges}}} [[Charges|<span style="color: #eee;">Charges</span>]]</li>}}<!--
 
Item Charges -->{{if|{{{charges|}}}|then=<li>{{{charges}}} [[Charges|<span style="color: #eee;">Charges</span>]]</li>}}<!--
 
Item Description ? -->{{if|{{{desc|}}}|then=<li style="color: #ff0;">"{{{desc}}}"</li>}}<!--
 
Item Description ? -->{{if|{{{desc|}}}|then=<li style="color: #ff0;">"{{{desc}}}"</li>}}<!--
Line 214: Line 212:
 
Item Sell Price -->{{if|{{{sell|}}}|then=<li style="color: #66C;">Sell {{{sell}}}</li>}}<!--
 
Item Sell Price -->{{if|{{{sell|}}}|then=<li style="color: #66C;">Sell {{{sell}}}</li>}}<!--
 
Item Level -->{{if|{{{ilvl|}}}|then=<li style="color: #66C;">[[Level (Item)|<span style="color: #66C;">Item Level</span>]] {{{ilvl}}}</li>}}<!--
 
Item Level -->{{if|{{{ilvl|}}}|then=<li style="color: #66C;">[[Level (Item)|<span style="color: #66C;">Item Level</span>]] {{{ilvl}}}</li>}}<!--
Item Source -->{{if|{{{source|}}}|then=<li style="color: #66C;"><small>Source: {{{source}}}</small></li>}}<!--
+
Item Source -->{{if|{{{source|}}}|then=<li style="color: #66C;">Source: {{{source}}}</li>}}<!--
Item Used In -->{{if|{{{usedin|}}}|then=<li style="color: #66C;"><small>Used in: {{{usedin}}}</small></li>}}<!--
 
 
End Check -->}}<!--
 
End Check -->}}<!--
   
Line 233: Line 231:
 
Character Rank -->{{if|{{{rank|}}}|then=<li style="color: #66C;">[[Rank|<span style="color: #66C;">Rank:</span>]] {{{rank}}}</li>}}<!--
 
Character Rank -->{{if|{{{rank|}}}|then=<li style="color: #66C;">[[Rank|<span style="color: #66C;">Rank:</span>]] {{{rank}}}</li>}}<!--
 
Character Status -->{{if|{{{status|}}}|then=<li style="color: #66C;">Status: {{{status}}}</li>}}<!--
 
Character Status -->{{if|{{{status|}}}|then=<li style="color: #66C;">Status: {{{status}}}</li>}}<!--
Found in -->{{if|{{{found|}}}|then=<li><span style="color: #eee;">Found in</span> {{{found}}}<!--
 
 
End Check -->}}<!--
 
End Check -->}}<!--
   

Revision as of 00:54, March 22, 2007

Tooltip

Author
Zeal Vurte
Description
Creates a WoW styled tooltip for items and characters.
When using Template:Tlink for sockbonus please specify sockbonus with a null value (eg.sockbonus=), and use sblink= instead.
When using Template:Tlink for effect please specify effect as the effect type (eg.effect=Use:), and use elink= instead.
qitem, qbegin, locked and socket require any value to display, qitem=1 or qitem=yes for example.
unique and unique-eq require being set to no value or an amount greater than 1 when applicable. Eg. unique= = Unique and unique=5 = Unique (5).
locked will automatically add "<Right Click to Open>" for effect.
rep and rfaction work together. Example: rep=Friendly, rfaction=Argent Dawn
For multiple items for a single parameter (attrib, sockets, effect) simply use <br /> after each value for that parameter.
For bind use the following:
  • BoP - BBinds when picked up
  • BoE - Binds when equipped
  • BoU - Binds when used
create and createq should be used together eg. create=Runed Copper Pants and createq=Uncommon.
Please use Template:Tlink for sockets and Template:Tlink for vendor and sell.
Syntax
Template:T1link
Named parameters can be in any order and any or all can be left out.
Example
{{Tooltip
|float=right
|width=18em
|icon=INV_Axe_34.png
|name=Zulian Stone Axe
|quality=Rare
|bind=BoP
|type=Axe
|slot=Two-Hand
|speed=2.80
|dmg=131 - 197
|dps=58.6
|attrib=+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=Template:Gsc
|ilvl=68
}}
{{Tooltip
|float=right
|width=18em
|icon=INV_Axe_34.png
|name=Magister Astalor Bloodsworn
|clvl=60
|race=Blood Elf
|class=Mage
|faction=Silvermoon City
|flag=PvP
|gender=Male
}}
Result
Inv axe 34
Template

Around Wikia's network

Random Wiki