Template talk:Elinks-item/Archive01

From Warcraft Wiki
Jump to navigation Jump to search

No Thottbot?

Why exactly is Thottbot optional and not recommended? What's wrong with it (compared to Allakhazam and Wowhead)? -- Vysogota 22:23, 4 March 2007 (EST)

I think it's because the Thottbot number isn't the official ID number of the item, whereas the Alla and Wowhead numbers are.--Sky 22:28, 4 March 2007 (EST)
Indeed. Thottbot uses its own internal ID for items, whereas the other sites use the same ID as the game itself. Because of this, looking up the thottbot-id is an extra burden on people entering new items, which we would rather avoid. It's available as an option so that if the authors do want to go to the extra trouble, they can do so. --Karrion 22:54, 4 March 2007 (EST)
See WoWWiki talk:Templates/Elinks templates standardization, though what Sky said is ultimately why. What Karrion said is only a small part of it. --Zealtalkcontrweb 22:55, 4 March 2007 (EST)

Recent changes have broken reference to Thottbot pages where they previously worked. As of this writing, this template requires that thottbot references be prefaced with "tb=". Have I somehow simply caught the period between "change the template" and "robot changes all current uses of the template"?

What is so very hard about leaving the position in the template in place, requiring authors who wish to omit the thottbot parameter to use a {{elinkitem |<empty>|<wowheadid>}} form? Why the change in template parameters when simply allowing for the omission would have accomodated all? --Eirik Ratcatcher 15:56, 5 March 2007 (EST)

Eirik, it was decided by discussion and vote to do it this way, and that vote is over. I would suggest rereading the archive of it from the link i supplied, and if you still feel strongly against it you can start up a new vote. --Zealtalkcontrweb 22:43, 5 March 2007 (EST)
The reversion of the original Elinksitem template, with the addition of the "deprecated" tag, satisfies my concerns on this. --Eirik Ratcatcher 13:29, 7 March 2007 (EST)

Thott by Item ID

You can link by item id to thott:

—The preceding unsigned comment was added by Gryphon (talk · contr).

Sign your posts Gryph ;P. In any case, that is crazy-talk I be hearing... when did that happen?--Sky 17:30, 8 March 2007 (EST)
Doh forgot the sig I was so bewildered. I don't know, I decided just to try it out and it worked. I asked Thott, but no response yet. GRYPHONtc 17:39, 8 March 2007 (EST)

More trouble with Thottbot

It seems like Thottbot just changed its method -- now they're using the same item ID as Allakhazam or WowHead. This means Thott now could be "official" again, but it means also that the template must be adjusted. Zeal, are you there? -- Vysogota 04:59, 9 March 2007 (EST)

Zeal left the wiki (User Talk:Zeal) but the change in itself in very easy.
This bit of code:
|else={{if|{{{1|}}}|then=
 *[[Image:Icon-wowhead-22x22.png|Wowhead]] [http://www.wowhead.com/?item={{{1}}} Wowhead]
 *[[Image:Icon-allakhazam-22x22.png|Allakhazam]] [http://wow.allakhazam.com/db/item.html?witem={{{1}}} Allakhazam]
 |else=
 *[[Image:Icon-wowhead-22x22.png|Wowhead]] [http://www.wowhead.com/?search={{PAGENAMEE}} Wowhead] <span style="color: #E44;" title="No item ID specified. Please edit this article and add it.">*</span>
 *[[Image:Icon-allakhazam-22x22.png|Allakhazam]] [http://wow.allakhazam.com/search.html?q={{PAGENAMEE}} Allakhazam] <span style="color: #E44;" title="No item ID specified. Please edit this article and add it.">*</span>
 }}}}{{if|{{{tb|}}}|then=*[[Image:Icon-thottbot-22x22.png|Thottbot]] [http://www.thottbot.com/?i={{{tb}}} Thottbot]}}
Needs to be replaced with:
|else={{if|{{{1|}}}|then=
 *[[Image:Icon-wowhead-22x22.png|Wowhead]] [http://www.wowhead.com/?item={{{1}}} Wowhead]
 *[[Image:Icon-allakhazam-22x22.png|Allakhazam]] [http://wow.allakhazam.com/db/item.html?witem={{{1}}} Allakhazam]
 *[[Image:Icon-thottbot-22x22.png|Thottbot]] [http://www.thottbot.com/?i{{{1}}} Thottbot]
 |else=
 *[[Image:Icon-wowhead-22x22.png|Wowhead]] [http://www.wowhead.com/?search={{PAGENAMEE}} Wowhead] <span style="color: #E44;" title="No item ID specified. Please edit this article and add it.">*</span>
 *[[Image:Icon-allakhazam-22x22.png|Allakhazam]] [http://wow.allakhazam.com/search.html?q={{PAGENAMEE}} Allakhazam] <span style="color: #E44;" title="No item ID specified. Please edit this article and add it.">*</span>
 *[[Image:Icon-thottbot-22x22.png|Thottbot]] [http://www.thottbot.com/?s={{{PAGENAMEE}} Thottbot]}}}}
And the documentation needs to be updated ;-) --  Montronax  ( talk · contribs ) 07:43, 9 March 2007 (EST)
Well, I'd edit it myself, but the page is locked and needs sysop to be changed. Admins, are you there? :-) -- Vysogota 08:37, 9 March 2007 (EST)
Yeah I know otherwise I would have do it myslef too :-P --  Montronax  ( talk · contribs ) 08:43, 9 March 2007 (EST)
It actually hasn't changed. Any search will come up with the standard http://www.thottbot.com/?i=TBItemID. Note the difference between that and http://www.thottbot.com/?item=ItemID. However, this seems to be an alternative method of databasing their stuff, so I think we can use it. >:) Which means your code is actually wrong; it would have to be:
*[[Image:Icon-thottbot-22x22.png|Thottbot]] [http://www.thottbot.com/?item={{{1}}} Thottbot]

--Sky 15:06, 9 March 2007 (EST)

Well Sky I checked the result of the code prior to posting it and the ?i{{{1}}} (Yes, without the = sign) does seems to be returning the correct item. --   Montronax  ( talk · contribs ) 20:42, 9 March 2007 (EST)
Eh, w/e. Doesn't matter now. :]--Sky 23:52, 9 March 2007 (EST)