Template:Overcoloured/doc

From OxeyeWiki
Revision as of 18:12, 2 June 2023 by commons>WOSlinker (syntaxhighlight lang="wikitext")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

If an article does not meet the guideline for the use of colours, add this to the top of the article:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

Alternatively, if the problem only affects one section of the article, add this to the top of the relevant section:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

  • If the article is written in United States English, add the |US=yes option to spell "colour" as "color" for WP:ENGVAR compliance. Calling the template as {{overcolored}} does this automatically.
  • This template takes an optional parameter that replaces the word "article" in the displayed message with arbitrary text. For example, {{Overcoloured|section}} displays "This section may overuse colour..."
  • This template takes the optional parameter |reason=, which can be used to explain what issues need to be addressed, e.g. |reason=The contrast of some of the colors used in this timeline is not high enough to be read easily by almost anyone.

Category

This template adds articles to Category:Wikipedia articles with colour accessibility problems.

See also