Vorlage:Short description/lowercasecheck: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(create to test short descriptions to see if they start with a lower-case letter. Needs a lot more work, no doubt)
 
(fix braces)
Zeile 1: Zeile 1:
{{#if:<!--test first character for lower-case letter-->{{#invoke:string|find|{{Str left|{{{1|}}}|1}}|[a-z]|plain=false}}|
{{#if:<!--test first character for lower-case letter-->{{#invoke:string|find|{{Str left|{{{1|}}}|1}}|[a-z]|plain=false}}
<!--exclude whitelist-->{{#if:{{#invoke:String2|matchAny|c.|none|iMac|iTunes|source={{First word|{{{1|}}}}}}}|
|<!-- first character is a lower case letter; test against whitelist
<!--do nothing; short description does not start with lower-case letter, or it starts with an allowed lower-case word -->
-->{{#if:{{#invoke:String2|matchAny|c.|none|iMac|iTunes|source={{First word|{{{1|}}}}}}}
|<!--apply category for lower-case short descriptions-->[[Category:Pages with lower-case short description]]}}<noinclude>
|<!-- short description starts with an allowed lower-case word; whitelist matched; do nothing -->
|<!-- apply category for lower-case short descriptions -->[[Category:Pages with lower-case short description]]
<!-- end whitelist test -->}}
|<!-- short description does not start with lower-case letter; do nothing; -->
<!-- end lower-case test -->}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Version vom 19. Januar 2022, 00:41 Uhr

Template-info.png Dokumentation für die Vorlage {{Short description/lowercasecheck}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Für die Vorlage {{Short description/lowercasecheck}} gibt es noch keine Dokumentation. Du kannst sie aber anlegen.
Hinweise