User:Peterwhy/BSiconTooltips
{{infobox user script
| name = BSiconTooltips
| screenshot = File:Peterwhy BSiconTooltip.png
| screenshot-caption = Screenshot showing icon IDs upon hovering on a composite icon; the layers of the hovered icon are differentiated.
| author = Peterwhy
| updated = {{Start date and age|2014|07|27|df=yes}}
| status = Experimental
| source = * User:Peterwhy/BSiconTooltips.js
| skins =
| browsers = * Latest Firefox
- Latest Google Chrome
| mainsource = User:Peterwhy/BSiconTooltips.js
| install-target = common.js
}}
BSiconTooltips is a user script that lets route diagram template icon IDs to be displayed next to the icons, upon hover. This user script works on modified {{tl|BS-overlap}} template running after 28 April 2013.
Features
- Re-introduces tooltips that show icon IDs upon hover.
- Shows icon overlay layers explicitly.
- Provides link to icon file page.
Requirements
- Latest CSS3 browsers, preferably Mozilla Firefox, Google Chrome, Safari or Opera.
- : Some features would not work with Internet Explorer, although the user script would not break diagram display either. This user script has not been tested on Internet Explorer 10.
- JavaScript and CSS capability.
Installation
{{more|Wikipedia:WikiProject User scripts/Scripts}}
To install this user script, add either the following code to your common.js:
{{subst:iusc|User:Peterwhy/BSiconTooltips.js|User:Peterwhy/BSiconTooltips}}
or
/* User:Peterwhy/BSiconTooltips */
importScript( 'User:Peterwhy/BSiconTooltips.js' );// Backlink: User:Peterwhy/BSiconTooltips
Please keep the JavaScript comment to let me know how many users are using this. Then save the page and bypass your cache.