Benutzer:Hub/DPL Titleregexpr: Unterschied zwischen den Versionen
Hub (Diskussion | Beiträge) |
Uk (Diskussion | Beiträge) K (+Alternative) |
||
(2 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
+ | '''Underscore''' | ||
+ | |||
<DPL> | <DPL> | ||
titleregexp=^Kreisverband_OHV/KPT/Antraege/2014-[0-9]{3}$ | titleregexp=^Kreisverband_OHV/KPT/Antraege/2014-[0-9]{3}$ | ||
</DPL> | </DPL> | ||
+ | |||
+ | {{#dpl:titleregexp=^Kreisverband_OHV/KPT/Antraege/{{CURRENTYEAR}}-[0-9]{3}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}} | ||
+ | |||
+ | {{#replace:{{#dpl:titleregexp=^Kreisverband_OHV/KPT/Antraege/{{CURRENTYEAR}}-[0-9]{3}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}}|Kreisverband_OHV/KPT/Antraege/{{CURRENTYEAR}}-|}} | ||
+ | |||
+ | {{#expr:{{#replace:{{#dpl:titleregexp=^Kreisverband_OHV/KPT/Antraege/{{CURRENTYEAR}}-[0-9]{3}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}}|Kreisverband_OHV/KPT/Antraege/{{CURRENTYEAR}}-|}}+1}} | ||
+ | |||
+ | {{#expr:{{"Kreisverband_OHV/KPT/Antraege/2014-001"}} + 1}} | ||
+ | |||
+ | '''Escape Underscore''' | ||
<DPL> | <DPL> | ||
titleregexp=^Kreisverband\_OHV/KPT/Antraege/2014-[0-9]{3}$ | titleregexp=^Kreisverband\_OHV/KPT/Antraege/2014-[0-9]{3}$ | ||
</DPL> | </DPL> | ||
+ | |||
+ | {{#dpl:titleregexp=^Kreisverband\_OHV/KPT/Antraege/{{CURRENTYEAR}}-[0-9]{3}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}} | ||
+ | |||
+ | {{#replace:{{#dpl:titleregexp=^Kreisverband\_OHV/KPT/Antraege/{{CURRENTYEAR}}-[0-9]{3}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}}|Kreisverband\_OHV/KPT/Antraege/{{CURRENTYEAR}}-|}} | ||
+ | |||
+ | {{#expr:{{#replace:{{#dpl:titleregexp=^Kreisverband\_OHV/KPT/Antraege/{{CURRENTYEAR}}-[0-9]{3}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}}|Kreisverband\_OHV/KPT/Antraege/{{CURRENTYEAR}}-|}}+1}} | ||
+ | |||
+ | <inputbox> | ||
+ | type=create | ||
+ | default=Kreisverband_OHV/KPT/Antraege/{{CURRENTYEAR}}-{{padleft:{{#expr:"{{#replace:{{#dpl:titleregexp=^Kreisverband OHV/KPT/Antraege/{{CURRENTYEAR}}-[0-9]{3}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}}|Kreisverband OHV/KPT/Antraege/{{CURRENTYEAR}}-|}}"+1}}|3}} | ||
+ | </inputbox> | ||
+ | |||
+ | {{#expr:{{"Kreisverband\ OHV/KPT/Antraege/2014-001"}} + 1}} | ||
+ | |||
+ | '''Whitespace''' | ||
<DPL> | <DPL> | ||
titleregexp=^Kreisverband OHV/KPT/Antraege/2014-[0-9]{3}$ | titleregexp=^Kreisverband OHV/KPT/Antraege/2014-[0-9]{3}$ | ||
</DPL> | </DPL> | ||
+ | |||
+ | {{#dpl:titleregexp=^Kreisverband OHV/KPT/Antraege/{{CURRENTYEAR}}-[0-9]{3}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}} | ||
+ | |||
+ | <inputbox> | ||
+ | type=create | ||
+ | default=Kreisverband_OHV/KPT/Antraege/{{CURRENTYEAR}}-{{padleft:{{#expr:{{#replace:{{#dpl:titleregexp=^Kreisverband\_OHV/KPT/Antraege/{{CURRENTYEAR}}-[0-9]{3}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}}|Kreisverband\ OHV/KPT/Antraege/{{CURRENTYEAR}}-|}}+1}}|3}} | ||
+ | </inputbox> | ||
+ | |||
+ | '''Alternative''' | ||
+ | |||
+ | <inputbox> | ||
+ | type=create | ||
+ | default=Kreisverband_OHV/KPT/Antraege/{{CURRENTYEAR}}-{{padleft:{{#expr:{{#dplreplace:{{#dpl:titleregexp=^Kreisverband_OHV/KPT/Antraege/{{CURRENTYEAR}}-[0-9]{3}$|namespace=|order=descending|noresultsheader=0|count=1|format=,%PAGE%,,}}|Kreisverband OHV/KPT/Antraege/{{CURRENTYEAR}}-|}}+1}}|3}} | ||
+ | </inputbox> |
Aktuelle Version vom 6. Februar 2014, 20:13 Uhr
Underscore
0
0
Fehler im Ausdruck: Nicht erkanntes Satzzeichen „$“+1}}
Fehler im Ausdruck: Nicht erkanntes Satzzeichen „[“
Escape Underscore
0
0
Fehler im Ausdruck: Nicht erkanntes Satzzeichen „$“+1}}
Fehler im Ausdruck: Nicht erkanntes Satzzeichen „[“
Whitespace
0
Alternative