Vorlage:Short description/lowercasecheck: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(ifeq)
K (19 Versionen von wpen:Template:Short_description/lowercasecheck importiert)
 
(15 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 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
-->{{#if:{{#invoke:String2|matchAny|c.|none|iMac|iTunes|source={{First word|{{{1|}}}}}}}
-->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist-->
|<!-- short description starts with an allowed lower-case word; whitelist matched; do nothing -->
|c. <!--for circa-->
|<!-- apply category for lower-case short descriptions -->[[Category:Pages with lower-case short description]]{{Testcases other|CATEGORY APPLIED}}
|gTLD
<!-- end whitelist test -->}}
|iMac
|<!-- short description does not start with lower-case letter; do nothing; -->
|iOS
<!-- end lower-case test -->}}<noinclude>
|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 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 -->
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Aktuelle Version vom 17. Februar 2023, 01:42 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