| fraze |
|
|---|---|
|
Not sure where exactly to put this, but this is how i got WoW Itemstats working on my installation for those that are interested.
first add <script src="http://www.wowhead.com/widgets/power.js"></script>just above </head> in your header.tpl then in the bbcode editor you need to add 2 new bbcode entries. #1
name: item
mode: pcre
container: yes
pattern: \[item=([0-9]*)\]([^\[]*)\[/item\]
replacement: {a href="http://www.wowhead.com/?item=$1"}$2{/a}> (replace {} with <>)#2
name: item
mode: pcre
container: yes
pattern: \[item=([0-9]*)\]\[q=([0-9]{1})\]([^\[]*)\[/item\]
replacement: {a class="q$2" href="http://www.wowhead.com/?item=$1"}$3{/a} (replace {} with <>)useage: [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] |