Template:Short description/lowercasecheck: Difference between revisions

From Vigyanwiki
< Template:Short description
Template>Jonesey95
(sync from sandbox; use a switch instead)
Template>Jonesey95
(add more whitelist entries)
Line 2: Line 2:
|<!-- first character is a lower case letter; test against whitelist
|<!-- first character is a lower case letter; test against whitelist
-->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist-->
-->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist-->
|c.
|c. <!--for circa-->
|iMac
|iMac
|iPhone
|iTunes
|iTunes
|none=<!-- short description starts with an allowed lower-case string; whitelist matched; do nothing -->  
|macOS
|#default=<!-- apply category for lower-case short descriptions -->[[Category:Pages with lower-case short description]]{{Testcases other|{{red|CATEGORY APPLIED}}}}<!-- end whitelist test -->}}
|none=<!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing -->  
|<!-- short description does not start with lower-case letter; do nothing; -->
|#default=<!-- apply category to track lower-case short descriptions -->[[Category:Pages with lower-case short description]]{{Testcases other|{{red|CATEGORY APPLIED}}}}<!-- end whitelist test -->}}
<!-- end lower-case test -->}}<noinclude>
|<!-- short description does not start with lower-case letter; do nothing; end lower-case test -->
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 05:51, 19 January 2022

Template documentation