Zum Inhalt springen

Vorlage:Italic title: Unterschied zwischen den Versionen

replace str sub with substr any. Fixes issues with diacritics. per talkpage request
(use Template:Str ≤ len instead of Template:Str len, per request)
(replace str sub with substr any. Fixes issues with diacritics. per talkpage request)
Zeile 24: Zeile 24:
   #if:{{NAMESPACE}}
   #if:{{NAMESPACE}}
   | {{NAMESPACE}}:
   | {{NAMESPACE}}:
   }}''{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }}'' {{str sub| {{PAGENAME}} | {{#expr: {{str find|{{PAGENAME}}|(}} - 1}} | {{#expr: {{str len|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} + 1 }}
   }}''{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }}'' {{substr any| {{PAGENAME}} | {{#expr: {{str find|{{PAGENAME}}|(}} - 1}} | {{#expr: {{str len|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} + 1 }}


| 010
| 010
Anonymer Benutzer