Template talk:User weapon checklist

From Team Fortress Wiki
Revision as of 23:03, 12 October 2010 by Stripedy (talk | contribs)
Jump to: navigation, search

"Have vintage" icon?

Just a suggestion. Stripedy 23:03, 12 October 2010 (UTC)

New Steam Web API's

With the new steam web API's, would it be possible to have these checklists automagically update themselves by a user just inputting their steam ID. For example, {{Template:User_weapon_checklist|userid=rjackson}} I'm reading into the new API's now and seeing what I can come up with. If anything worthy of your attention I'll comment here. --RJackson 02:16, 2 July 2010 (UTC)

Not without a MediaWiki extension that can interpret XML, JSON or VDF. This has been something we've looked at in the past, it may just be possible to do so now. I will see if I can get make some progress. -- Pilk (talk) 02:31, 2 July 2010 (UTC)
Out of boredum I'm attempting to create a PHP script (i believe mediawiki extensions can be done in PHP) that parses an XML from the Web API and turn it into the Wiki code for this template. By wiki code, I mean output like this: {{Template:User_weapon_checklist | pain train=yes | homewrecker=yes | dalokohs=no }}--RJackson 03:53, 2 July 2010 (UTC)


I have done it. The script I have is in 2 files. 1 file (allweapons.php) defines the items and their ID, the 2nd file (parsexml.php) parses the XML and turns it into Template:User_weapon_checklist code. I hope this helps toward my original suggestion of an automagically updating weapon checklist.
Linked to pastebin because using the code tags eliminates the line breaks.
[parsexml.php] [allweapons.php]
RJackson 05:05, 2 July 2010 (UTC)
This effort is probably not necessary. I'm looking at getting an extension installed (such as this) that can do this easily. The advantage of an extension is that it's maintained, and its features are quite robust and versatile. -- Pilk (talk) 05:10, 2 July 2010 (UTC)

Time to throw in the new weapons!

I would've done it myself, but all this protection! Eet burns!--RJackson 23:47, 8 July 2010 (UTC)

I was going to do that, too. Damn protection. AbeX300 04:25, 9 July 2010 (UTC)

Had?

I'm not a fan of this had thing.. Hmm.. -- Smashman... (ts) 12:43, 9 July 2010 (UTC)

Feature request from En Ex. -- Pilk (talk) 12:48, 9 July 2010 (UTC)
k. Will ban. -- Smashman... (ts) 12:50, 9 July 2010 (UTC)

Suggestion for Icons

There are three icon suggestions (you know, with the Have, Not Have, Want, and Had):

-Don't Want: Red Subtraction Icon, for items that you hate so much that you wish you won't get it.

-Had, But Want It Back: Not sure about what it should look like, but it's when you crafted your item, but you want it back. Mainly from the Golden Wrench fest. :P

-Have Duplicates: Two Checkmarks, indicating that you have a duplicate of the item you already own.

Golden wrench

While I'd rather not see the golden wrench removed from this template, is there still a way to have it only show the picture and obtainment status icon if it has been specified? Basicaly, since it can safely be assumed that 99.99% of people using this box never owned one, we could have it hidden from the template by default, only appearing if it has been specificaly mention in the code. Thoughts?--Piemanmoo 06:28, 30 July 2010 (UTC)

There's no easy solution, given that there will be equal demand from users wanting to mark the Golden Wrench as 'Wanted' and a few cases of 'Previously Owned'. For now, how about we address the fact that the template is using the wrong image? Somebody with the necessary editing privileges needs to change its icon to File:Backpack Golden Wrench.png. Mainman (Talk) 18:17, 1 October 2010 (UTC)
That is not incorrect, as that is the image shown in the backpack, I'll change it though to the more obvious image. --Firestorm 18:20, 1 October 2010 (UTC)

Polycount items

Make them no for now...  – Smashman (talk) 14:19, 1 October 2010 (UTC)

Incorrect Link

Under the Sydney Sleeper, the image is linking to "Dydney Sleeper". I've redirected the Dydney Sleeper page in the meantime, but can some friendly mod fix the issue thanks? I noticed it because something like 63 pages had linked to "Dydney Sleeper". Cloventt 05:09, 3 October 2010 (UTC)

Pictogram tick.png DoneThanks for the report.-RJ 05:14, 3 October 2010 (UTC)
Good work, Cloventt!--Piemanmoo 05:18, 3 October 2010 (UTC)