More actions
Created page with "{{#ifeq:<!--test first character for lower-case letter-->{{#invoke:string|find|1={{{1|}}}|2=^%l|plain=false}}|1 |<!-- first character is a lower case letter; test against whitelist -->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist--> |c. <!--for circa--> |gTLD |iMac |iOS |iOS, |iPad |iPhone |iTunes |macOS |none |pH |pH-dependent=<!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing --> |#default=<!-- apply c..." |
m Protected "Template:Short description/lowercasecheck": Initial wiki setup ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
(No difference)
| |
Latest revision as of 16:33, 5 March 2025
| This page uses Creative Commons Licensed content from Wikipedia (view authors). |
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, Category:Pages with lower-case short description 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}}.