模板:Overcoloured/doc
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Overcoloured. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:模板:Overcoloured | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Usage编辑
If an article does not meet the guideline for the use of colours, add this to the top of the article:
{{overcoloured}}
Alternatively, if the problem only affects one section of the article, add this to the top of the relevant section:
{{overcoloured|section}}
- If the article is written in United States English, add the
|{{SAFESUBST:#if:US|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
|{{SAFESUBST:#if:reason|reason=}}
, which can be used to explain what issues need to be addressed, e.g.|{{SAFESUBST:#if:reason|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}}
- {{Overcolored}}