“模板:Overcoloured/doc”的版本间的差异

wikilife>Vanisaac
→‎See alsoclean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other and <includeonly>
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 14:49的最新版本

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#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编辑