Recent changes Random page
GAMING
Gaming
 
StarCraft Wiki
Super Smash Wiki
Halopedia
Diablo Wiki
FFXIclopedia
Grand Theft Wiki
See more...

Template talk:Elinks-object

From WoWWiki

Jump to: navigation, search

Contents

External links - object usage

Description
Creates external object links using Object ID (for WoWhead and ThottBot), and Allakhazam ID (for Allakhazam)
If only one ID number is given, it will be used as Object ID, with a request for the Allakhazam ID.
NOTE: Allakhazam has a flawed object ID system and will use the same ID for any object with the same name, even if they use different internal IDs and have different properties in-game.
Syntax
{{Elinks-object|<Object ID>|<Allakhazam ID>|<noaid=>|<notid=>|<nowid=>}}
Parameters
noaid = optional; put "true" if you want to hide the following message when you don't know Allakhazam ID
notid = optional; put "true" if you want to hide the Wowhead link
nowid = optional; put "true" if you want to hide the Thottbot link


Example 1

{{Elinks-object|45678|123}}
Result


Example 2

{{Elinks-object|45678}}
Result

No Allakhazam ID specified. Please edit this article and add it.


Example 3

{{Elinks-object|45678|noaid=true}}
Result


Example 4

{{Elinks-object|181758|noaid=true|notid=true}}
Result


Example 5

{{Elinks-object|186314|noaid=true|nowid=true}}
Result


Improvement needed

I have this set up to use the first number for WoWhead and ThottBot (as the old version did), it will use a second number (if given) for Allakhazam, and request a second number if one is not provided.
It might be better to use parameters but then the existing implementations would all have to be updated.—MJBurragetalk • 17:43, 21 November 2007 (UTC)

Added a param to hide no Alla ID message, since it seems difficult to find out what the ID is from the Alla site. --Image:gengar orange 22x22.png Fandyllic (talk · contr) 12:48 PM PST 24 Nov 2007

Would it be possible to have a "nowid" and "notid" used for the template, respectively for WoWHead and Thottbot? Some objects (for example Loosely Turned Soil) exists in the Thottbot database but neither in the WoWhead or Allakhazam one. --gOurra 17:25, 3 January 2008 (UTC)

Okay, I added support for notid= and nowid=. Tested at {{elinks-object/dev}} and worked with no obvious problems.--Image:gengar orange 22x22.png Fandyllic (talk · contr) 7:56 AM PST 8 Feb 2008
I note that this could be easily abused. I'll not reverse the edits, though, as the reason is legitimate. --Sky (t | c | w) 08:28, 12 February 2008 (UTC)