Difference between revisions of "Template:Test"
From FollowTheScore
Roc michael (talk | contribs) (Template:Test moved to Template:DPL Page Name S/N Maker) |
Roc michael (talk | contribs) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | # | + | {{#inputbox: |
| + | |type=create | ||
| + | |buttonlabel={{{buttonlabel|creat}}} | ||
| + | |width={{{width|25}}} | ||
| + | |editintro={{{editintro|}}} | ||
| + | |preload={{{preload|}}} | ||
| + | |break=no | ||
| + | |default={{#if:{{{namespace|}}}|{{{namespace|}}}:}}{{{prefix|}}}{{#pad: | ||
| + | {{#expr: | ||
| + | {{#replace: | ||
| + | {{#replace: | ||
| + | {{#dpl:titleregexp=^{{{prefix|}}}[0-9]{{{{pad|5}}}}$<!--- | ||
| + | -->|namespace={{{namespace|}}}<!--- | ||
| + | -->|order=descending<!--- | ||
| + | -->|noresultsheader={{#pad:0|{{{pad|5}}}|0}}<!--- | ||
| + | -->|count=1 | ||
| + | }} | ||
| + | |/^([^{{!}}]+\{{!}}){1}([^\]]+).*/ | ||
| + | |\2 | ||
| + | }} | ||
| + | |{{{prefix|ECP-}}} | ||
| + | | | ||
| + | }} <!-- {{{prefix}}}-00004 => 00004 --> | ||
| + | +1}} <!-- 00004+1 => 5 --> | ||
| + | |{{{pad|5}}}|0}} <!-- 5 => 00005 --> | ||
| + | }} | ||
Latest revision as of 02:26, 31 March 2008
{{#inputbox:
|type=create
|buttonlabel=creat
|width=25
|editintro=
|preload=
|break=no
|default={{#pad:
Expression error: Unrecognized punctuation character "{".
|5|0}}
}}