Jump to content

User:Peterwhy/BSiconTooltips

From Wikipedia, the free encyclopedia
BSiconTooltips
Screenshot showing icon IDs upon hovering on a composite icon; the layers of the hovered icon are differentiated.
Author(s)Peterwhy
StatusExperimental
Updated27 July 2014; 10 years ago (2014-07-27)
Browsers
Source

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 {{BS-overlap}} template running after 28 April 2013.

Features

[edit]
  • Re-introduces tooltips that show icon IDs upon hover.
  • Shows icon overlay layers explicitly.
  • Provides link to icon file page.

Requirements

[edit]
  • 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

[edit]

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.

See also

[edit]

Source codes

[edit]

Relevant project

[edit]