Forum Armory Tooltips

All things that player must know or can be of their use such as general information, policies, rules, FAQ, guides and instructions, various language translations.
Post Reply
User avatar
Nuko
Admin
Posts: 532
Joined: 27 Aug 2010 21:47
Location: United Kingdom

Forum Armory Tooltips

#1 » Post by Nuko » 04 Sep 2017 05:11

ARMORY TOOLTIPS FOR THE FORUMS

Hello Everyone,

I thought you might like to know that you can now link items, quests, achievements and spells in the forums from the armory.

SIMPLE URLS

The easiest way to do this, is to just copy-paste the URL of the relevant armory page:

Code: Select all

https://truewow.org/armory/item.php?item=50278&realm=t
https://truewow.org/armory/quest.php?id=11538&realm=t
https://truewow.org/armory/achievement.php?id=2915&realm=t
https://truewow.org/armory/spell.php?id=42842&realm=t
https://truewow.org/armory/item.php?item=50278&realm=t
https://truewow.org/armory/quest.php?id=11538&realm=t
https://truewow.org/armory/achievement. ... 15&realm=t
https://truewow.org/armory/spell.php?id=42842&realm=t

BBCODE

If you have the relevant id on hand and don't want to have to load up the armory, or want some extras like pretty icons and the like, then you can use the new bbcode tags: item, quest, achievement and spell like so:

Code: Select all

[item]50278[/item]
[quest]11538[/quest]
[achievement]2915[/achievement]
[spell]42842[/spell]
Which will produce:
Item Loading...
Loading Quest...
Loading Achievement...
Loading Spell...

CUSTOMISATION

You can specify extra options for all of the bb tags like so:

Code: Select all

[item=option1,option2]50278[/item]
Currently the available options are:
  • noicon - specify that you don't want the icon to show.
  • noname - specify that you don't want the name to show.
  • button - display as a boxed button.
Using noicon:

Code: Select all

[item=noicon]50278[/item]
[quest=noicon]11538[/quest]
[achievement=noicon]2915[/achievement]
[spell=noicon]42842[/spell]
gives:
Item Loading...
Loading Quest...
Loading Achievement...
Loading Spell...

Using noname:

Code: Select all

[item=noname]50278[/item]
[quest=noname]11538[/quest]
[achievement=noname]2915[/achievement]
[spell=noname]42842[/spell]
gives:
Item Loading...
Loading Quest...
Loading Achievement...
Loading Spell...

Using button:

Code: Select all

[item=button]50278[/item]
[quest=button]11538[/quest]
[achievement=button]2915[/achievement]
[spell=button]42842[/spell]
gives:
Item Loading...
Loading Quest...
Loading Achievement...
Loading Spell...

Using noicon and button:

Code: Select all

[item=noicon,button]50278[/item]
[quest=noicon,button]11538[/quest]
[achievement=noicon,button]2915[/achievement]
[spell=noicon,button]42842[/spell]
gives:
Item Loading...
Loading Quest...
Loading Achievement...
Loading Spell...

GOING COMMANDO

If you're a real die-hard forum-poster, you can create the urls manually, allowing you to specify your own text for the link instead of having it replaced by the name of the item/quest/achievement/spell. To do this, use the normal url tags with these special urls:

Code: Select all

Item: [url=ITEM-50278]Link to the item[/url]
Quest: [url=QUEST-11538]Link to the quest[/url]
Achievement: [url=ACH-2915]Link to the achievement[/url]
Spell: [url=SPELL-42842]Link to the spell[/url]
Item: Link to the item
Quest: Link to the quest
Achievement: Link to the achievement
Spell: Link to the spell



If they aren't showing up for you yet, try pressing CTRL+F5 to do a full refresh, sometimes browsers cache javascript files a bit too frivolously.
Nuko - In the event of malfunction, please insert tea.
"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

User avatar
Fitzpatrick
Honorary Member
Posts: 470
Joined: 21 Jan 2016 19:34

Re: Forum Armory Tooltips

#2 » Post by Fitzpatrick » 04 Sep 2017 13:07

Image

Thanks Nuko!
Fitzsimmons / Bibimbap / Fitzpatrick
Image

User avatar
Nuko
Admin
Posts: 532
Joined: 27 Aug 2010 21:47
Location: United Kingdom

Re: Forum Armory Tooltips

#3 » Post by Nuko » 04 Sep 2017 16:16

You're welcome! Glad to see Borat is alive and well in the meme-o-sphere :P
Nuko - In the event of malfunction, please insert tea.
"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

User avatar
Nuko
Admin
Posts: 532
Joined: 27 Aug 2010 21:47
Location: United Kingdom

Re: Forum Armory Tooltips

#4 » Post by Nuko » 04 Sep 2017 16:53

Updated: Added icon examples to the top post. Also, fixed the bug where the tooltip gets stuck.
Nuko - In the event of malfunction, please insert tea.
"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

User avatar
Brennus
Posts: 528
Joined: 17 Jan 2013 05:25
Location: Argent Tournament Grounds

Re: Forum Armory Tooltips

#5 » Post by Brennus » 05 Sep 2017 06:13

Awesome job!
Bookmarked.

Thanks mate.
•     Currently No longer retired     •
 
Image

User avatar
Nuko
Admin
Posts: 532
Joined: 27 Aug 2010 21:47
Location: United Kingdom

Re: Forum Armory Tooltips

#6 » Post by Nuko » 07 Sep 2017 17:42

You're quite welcome! :)

A quick update: It will now give tooltips to and replaces the url of any openwow links (since they don't work anymore). It will also give tooltips to wowhead links, but won't replace their url or text.
Nuko - In the event of malfunction, please insert tea.
"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Post Reply

Who is online

Users browsing this forum: StevNoth and 5 guests