Thursday, January 24, 2008

Item linking

I just wanted to run a test as I'll be posting items quite a bit. I really like having the items linked to wowhead in the paragraph so you can just mouseover for the stats.

Thunderfury, Blessed Blade of the Windseeker
Thunderfury, Blessed Blade of the Windseeker
Thunderfury, Blessed Blade of the Windseeker
Thunderfury, Blessed Blade of the Windseeker
Thunderfury, Blessed Blade of the Windseeker
Thunderfury, Blessed Blade of the Windseeker

So, it's really, really stinkin' easy if this works. Wow, that's is easy.

So, I chose Thunderfury 'cause I really wants it. Just because not many on Ravenholdt will probably EVER run old world instances or raids. *sigh* Maybe I can grab the guild and trick 'em somehow... or bribe... hmmm?

Anyway, linking - you need to put this tagline ANYWHERE in your HTML for your page:

-----------------------------------------------------
Well, can't link the commands on blogs. At least, I couldn't find the info. However, here's the link to the wowhead instructions.

http://www.wowhead.com/?forums&topic=3464

------------------------------------------------------

This makes it so that any item link you post in the page will be linked to wowhead. I used Thunderfury for my example - so did wowhead so I cheated ;)

See the 'class=q5' part of the code? That's for making the item show the proper color. I've got Thunderfury with ALL the colors by going from 5 - 0.

5 - Legendary (orange)
4 - Epic (purple)
3 - Rare (blue)
2 - Uncommon (green)
1 - Common (white)
0 - Vendor Trash! er, Poor (grey)

No comments: