Template:Web colors/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

Purpose

Insert {{web colors}} at the bottom of each page in which standard colors are defined. These sixteen named colors are defined in the CSS specification; HTML 4.01 also defines the same set of named colors, with the exception of orange. For more info, see web colors.

Usage

  • {{web colors}} for simple cases

Parameters

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

To change this template's initial visibility, the |state= parameter may be used:

  • {{Web colors|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Web colors|state=expanded}} will show the template expanded, i.e. fully visible.