User:SD0001/shortdescs-in-category

This script gives a button at the top of the list of pages in a category. On clicking, short descriptions of all pages in view are displayed.

Colour codes: To tweak the color codes to your liking, see  below.
 * black - local short description
 * pink - wikidata description
 * red ("no shortdesc") - no shortdesc present locally or on wikidata.

Installation
If you have the script-installer gadget, just click on the "Install" button in the infobox.

Otherwise, add the line  on your common.js or skin.js page.

Usage
If the category contains talk pages (such as in WikiProject classification categories), the short description of the article is shown (not that of the talk page).

Customisation
Customisations can be done by adding statements to your common.css page.


 * Hide display of the red "– no shortdesc" (for pages that have no description)
 * Change the colors:
 * The default colors are the ones mentioned above. You can also specify colors like  and  . You may find W3C CSS Colors helpful.
 * The default colors are the ones mentioned above. You can also specify colors like  and  . You may find W3C CSS Colors helpful.
 * The default colors are the ones mentioned above. You can also specify colors like  and  . You may find W3C CSS Colors helpful.