Difference between revisions of "Template:DPL Page Name S/N Maker test"
From FollowTheScore
Roc michael (talk | contribs) |
Roc michael (talk | contribs) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{# | + | The next serial number is ''' |
| − | + | {{#if:{{{namespace|}}}|{{{namespace|}}}:}}{{{prefix|}}}<!-- | |
| − | + | -->{{#pad:<!----------------- (X+1) => 0000(X+1) | |
| − | + | -->{{#expr:<!-----------0000X+1 => (X+1) | |
| − | + | -->{{#replace:<!------"Namespace:prefix0000X" => "0000X" | |
| − | + | -->{{#replace:<!---"*[[Namespace:prefix0000X]]" => "Namespace:prefix0000X" | |
| + | -->{{#dpl: <!--return pages named "*[[Namespace:prefix0000X]]" | ||
| + | -->titleregexp=^{{{prefix|}}}[0-9]{{{{pad|5}}}}$<!--- | ||
| + | -->|namespace={{{namespace|}}}<!--- | ||
| + | -->|order=descending<!--- | ||
| + | -->|noresultsheader={{#pad:0|{{{pad|5}}}|0}}<!--- | ||
| + | -->|count=1 | ||
| + | }} | ||
| + | |/^([^{{!}}]+\{{!}}){1}([^\]]+).*/ | ||
| + | |\2 | ||
}} | }} | ||
| − | + | |{{#if:{{{namespace|}}}|{{{namespace|}}}:}}{{{prefix|}}} | |
| − | + | | | |
| − | {{# | + | }} |
| − | + | +1 | |
| − | + | }} | |
| − | + | |{{{pad|5}}} | |
| − | + | |0 | |
| − | + | }}''' | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 13:11, 22 March 2009
The next serial number is {{#pad:Expression error: Unrecognized punctuation character "{".
|5 |0 }}