Template:Short description/lowercasecheck: Difference between revisions

From Vigyanwiki
< Template:Short description
Template>Jonesey95
(add more whitelist entries)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#ifeq:<!--test first character for lower-case letter-->{{#invoke:string|find|{{Str left|{{{1|}}}|1}}|[a-z]|plain=false}}|1
{{#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
|<!-- first character is a lower case letter; test against whitelist
-->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist-->
-->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist-->
|c. <!--for circa-->
|c. <!--for circa-->
|gTLD
|iMac
|iMac
|iOS
|iOS,
|iPad
|iPhone
|iPhone
|iTunes
|iTunes
|macOS
|macOS
|none=<!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing -->  
|none
|#default=<!-- apply category to track lower-case short descriptions -->[[Category:Pages with lower-case short description]]{{Testcases other|{{red|CATEGORY APPLIED}}}}<!-- end whitelist test -->}}
|pH
|pH-dependent=<!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing -->  
|#default=<!-- apply category to track lower-case short descriptions -->{{main other|[[Category:Pages with lower-case short description|{{trim|{{{1|}}}}}]]}}{{Testcases other|{{red|CATEGORY APPLIED}}}}<!-- end whitelist test -->}}
|<!-- short description does not start with lower-case letter; do nothing; end lower-case test -->
|<!-- short description does not start with lower-case letter; do nothing; end lower-case test -->
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 10:18, 8 December 2022

Template documentation