Gaming
 

Template talk:Elinks-object

From WoWWiki

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 Thottbot link
nowid = optional; put "true" if you want to hide the Wowhead 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)

Removal of Allakhazam

Votes

Yes
  1. Yes Sssssssssssssssssssssssss For Pony! (TC) 21:49, September 6, 2009 (UTC) - (I say we remove Allakhazam from this particular template, not reliable for objects in the game.)
  2. Yes (M o r p hJames E. Rooks, Jr. aka: Morph
    Morphgnome & Morphdraenei
    | CMorph has made 7,791 contribution(s) to WoWWiki. | TLeave me a message on my Discussion/Talk Page) MorphgnomeMorphdraenei 02:38, September 7, 2009 (UTC) - (I agree with Coobra on its usefulness with objects and personally feel it just needs to be removed from all - and used the manual Elinks to add it to pages.)
  3. Yes Tildy (talk) 06:29, October 5, 2009 (UTC) - (no comment)
No

Comments