Stewart
|
|
Basic information
|
Gender: |
Male
|
Native language: |
English
|
Age: |
22
|
Team Fortress 2
|
Favourite classes: |
Engineer
|
Favourite maps: |
Goldrush
|
Favourite weapons: |
Strange Jag
|
Contact information
|
Steam page: |
[1]
|
Hello Everyone, I'm Stewart, I'm a Comp Sci Undergrad, I'm a fan of most Valve games (HL2 + Eps, P1, P2, L4D, L4D2, and of course TF2), and most Blizzard Games (WoW, SC2). I'm a big programming fan, and can generally be found tinkering with something or other in Java, C++, PHP, etc.
Mouseover Tooltips
Mouseover Tooltips in Action
In November 2011 I wrote a simple script for the Wiki to show Item Tooltips whem hovering over links to item pages, and posted it as a suggestion. 6 months later and it never really went anywhere, so I decided to make a Greasemonkey Userscript for it. That script is available here: http://userscripts.org/scripts/show/133633 enjoy, and feel free to give me feedback on it on my Talk Page.
Those of you interested in a little technical detail - the table cell containing the loadout tooltip in the item infobox template is 'tagged' with the CSS class 'loadout-tooltip-container'. When mousing over internal wiki links, the script requests the rendered HTML of the target page, and looks for that tag. If the tag is found, the tooltip is extracted, shown, and stored in the client cache under that page's URL for 7 days, if it isn't found then that URL is stored in the cache for 7 days with a flag indicating that the page doesn't have a tooltip. Every time a link is hovered over the cache is checked, and if the page URL is already in there (and not expired) then the tooltip is used immediately (or not shown if the 'no-tooltip' flag is set) and the page isn't re-requested.
Other than that, an absolutely-positioned div is inserted into the page template to hold the tooltip, and shown/hidden/moved as appropriate.
My original plan for building the script into the wiki itself involved also 'tagging' links that should have a tooltip with a specific class using a template, but that's a fairly major change so for the userscript it simply checks all links to see if they have one, and caches the results.
Inventory
Template:Item checklist
Userboxes
|
This user hates adverts and loves Team Fortress Wiki's adlessness.
|
{{ }}
|
This user knows how to edit templates and can create them too.
|
en-5
|
This user has professional knowledge of English.
|
|
This user is an employee of RED.
|
|
Avert thy gaze! Verily, this unfortunate peasant hath little to no hats!
|
|
This user is buildin' a Sentry
|
|
This user thinks their cart is faster than your cart.
|
|
This user is an Engineer. “I told ya don’t touch that darn thing!”
|
|
This user has a Steam profile, which can be found here.
|
|
This breuker is Scottish, an naebody shoud think ithergates!
|
|
This user dreams of making their own games.
|
|
This user supports Steam as a content delivery system.
|
|
This user likes Half-Life 2.
|
|
This user is an active Portal 2 test subject.
|
|
This user owns The Orange Box.
|
|
This user fought off the zombie apocalypse with a veteran, a girl, an IT guy, and a guy who hates everything.
|
|
This user fought off the zombie apocalypse with a gambler, a coach, a rambling mechanic, and a reporter.
|
|
This user enjoys watching Doctor Who. "But actually from a non-linear, non-subjective point of view it's actually a big ball of wibbly wobbly... timey wimey... stuff."
|
|
This user uses Firefox as their web browser.
|