User:AlexTheWhovian/script-linecolour

From wikishia

User:AlexTheWhovian/script-linecolour.js is a script that takes the line colours from the template {{Episode list}} (both hexadecimal and HTML colour names) and adjusts them per WP:COLOR and Template talk:Infobox television season/Archive 3. When replacing the non-compliant colours, the colours of the episode table headers will also be adjusted.

Installation

To install the script, add:

importScript('User:AlexTheWhovian/script-functions.js');
importScript('User:AlexTheWhovian/script-linecolour.js');

to Special:MyPage/common.js.

User:AlexTheWhovian/script-functions.js is required to include multiple shared functions, many of which are used identically in a few of my other scripts - you only need to include it in Special:MyPage/common.js once.

There will be a "Line colours" link in the toolbox on the left on every article. Click it to adjust the line colours - you will be directed to the edit page (you can also do this manually). Once in edit mode, click again to adjust the colours. An edit summary will be provided; save the page.

Bugs

Please report any bugs on the talk page of the script's creator.

See also