User:Stewart/sandbox

From Team Fortress Wiki
< User:Stewart
Revision as of 22:45, 7 November 2011 by Stewart (talk | contribs)
Jump to: navigation, search

This page is a proof-of-concept example of the Tooltip proposal here: Team_Fortress_Wiki:Discussion#Item_Tooltips_on_Item_Page_Links. In order for this example to work, you will need to copy the javascript from User:Stewart/vector.js into a page of the same name in your own userspace. It is suggested that you use the following code in your vector.js:

importScript("User:Stewart/vector.js");


Please note that the User:Stewart/Sticky_Jumper tooltip currently looks a little broken because it is a copy of the relevant templates and pages operating in my userspace and therefore cannot find the correct icon or name.

User:Stewart/Sticky_Jumper Working Tooltip

User:Stewart/NonSticky_Jumper Broken Tooltip

User:Stewart/Sticky_Jumper No Tooltip


(Note that the tooltips on the items in this blueprint example won't work as they are using the live Template:Backpack_item template, not User:Stewart/Backpack_item)

Class Token - Demoman Slot Token - Secondary Scrap Metal Possible Results
Item icon Class Token - Demoman.png + Item icon Slot Token - Secondary.png + Item icon Scrap Metal.png =
Item icon Scottish Resistance.png Item icon Chargin' Targe.png Item icon Sticky Jumper.png
Item icon Splendid Screen.png