Difference between revisions of "Template:Test"
From FollowTheScore
Roc michael (talk | contribs) |
Roc michael (talk | contribs) |
||
Line 1: | Line 1: | ||
− | {{# | + | {{#inputbox: |
+ | |type=create | ||
+ | |buttonlabel={{{buttonlabel|creat}}} | ||
+ | |width={{{width|25}}} | ||
+ | |editintro={{{editintro|}}} | ||
+ | |titleprefix=help: | ||
+ | |preload={{{preload|}}} | ||
+ | |break=no | ||
+ | |default={{{prefix|ECP-}}}{{#pad: | ||
+ | {{#expr: | ||
+ | {{#replace: | ||
+ | {{#replace: | ||
+ | {{#dpl:titleregexp=^{{{prefix|ECP-}}}[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 --> | ||
+ | }} |
Revision as of 02:19, 31 March 2008
{{#inputbox:
|type=create |buttonlabel=creat |width=25 |editintro= |titleprefix=help: |preload= |break=no |default=ECP-{{#pad: Expression error: Unrecognized punctuation character "{". |5|0}}
}}