Loading
  • 21 Aug, 2019

  • By, Wikipedia

Template:Color Topics

If the template is used with no parameters it defaults to the American spelling of color

On pages which use the Commonwealth spelling colour, {{colour topics}} can be used. Alternatively, this template can be used if one parameter is passed

{{Color_topics|colour}}

More than one parameter will be ignored. The value passed as the first parameter does not matter (for example it could be "x", "colour" or even "color") so long as it is set to something, then Commonwealth spelling will be used. However to make it self documenting it is recommended that "colour" be used as the parameter value.

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:

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