| fraze |
|
|---|---|
|
we have wowhead working on our site:
link to their script: <script type="text/javascript" src="http://www.wowhead.com/widgets/power.js"></script> for wowhead: bbcode = item Pattern: \[item=([0-9]*)\]([^\[]*)\[/item\]Replacement: <a href="http://www.wowhead.com/?item=$1">$2</a>bbcode = item Pattern: \[item=([0-9]*)\]\[q=([0-9]{1})\]([^\[]*)\[/item\]
Replacement:<a class="q$2" href="http://www.wowhead.com/?item=$1">$3</a> it uses this code on the forums: [item=2770]Copper Ore[/item] Or for with Colors [item=33431][q=0]icesmashing Mace[/item] [item=2770][q=1]Copper Ore[/item] [item=43929][q=2]Vile's Uglystick[/item] [item=44244][q=3]Argent Skeleton Crusher[/item] [item=22691][q=4]Corrupted Ashbringer[/item] [item=17182][q=5]Sulfuras, Hand of Ragnaros[/item] [item=42943][q=6]Bloodied Arcanite Reaper[/item] or you can just directly link a url to the item and the tooltip will show. we also have code for mmo champion, which i'll post if you want it. Dieser Beitrag wurde von fraze (am 10. Juli 2010, 16:52, vor 15 Jahre) bearbeitet |