Template:Short description/lowercasecheck/doc: Difference between revisions
(articles ony) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 20:20, 22 January 2024
Warning | This template is used on approximately 5,720,000 pages, or roughly 3125683% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
File:Edit-copy green.svg | Template:Strong for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Template:Short description/lowercasecheck | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
This template is intended for use inside {{Short description}}. It checks to see if an article's short description starts with a lower-case letter. If it does, then it checks the first word against a whitelist of permitted lower-case words like "c.", "iMac", and "none". If the first word is not on the whitelist, {{#ifeq:{{#titleparts:Short description/lowercasecheck/doc|1}}|Stub types for deletion |Cat:Pages with lower-case short description | Category:Pages with lower-case short description{{#ifeq:{{safesubst:#switch: no
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}}|yes| {{#ifexpr:0>={{#expr:0+1}}|}}( 0 ){{#ifexpr:0>={{#expr:0+1}}|}}}}}} is applied to the article on which the lower-case short description exists.
Usage
This template should not be used directly in articles. It should be transcluded only in {{Short description}}.