Template:Overcoloured/doc: Difference between revisions
Jump to navigation
Jump to search
m (syntaxhighlight lang="wikitext") |
m (1 revision imported: Adding modules for infoboxes ) |
(No difference)
|
Latest revision as of 04:49, 3 March 2024
This is a documentation subpage for Template:Overcoloured. It may contain usage information, categories and other content that is not part of the original template page. |
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">
This article may overuse or misuse colour, making it hard to understand for colour-blind users. |
</syntaxhighlight>
Alternatively, if the problem only affects one section of the article, add this to the top of the relevant section:
<syntaxhighlight lang="wikitext">
This section may overuse or misuse colour, making it hard to understand for colour-blind users. |
</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
- {{Cleanup colors}}