User:Peterwhy/BSiconTooltips

From wikishia
BSiconTooltips
File:Peterwhy BSiconTooltip.png
Screenshot showing icon IDs upon hovering on a composite icon; the layers of the hovered icon are differentiated.
AuthorPeterwhy
StatusExperimental
Updated27 July 2014; Lua error in package.lua at line 80: module 'Module:Date' not found. (2014-07-27)
Browser support
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

  • 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

Script error: No such module "details". 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

Source codes

Relevant project