Difference between revisions of "ECP List"

From FollowTheScore
Jump to: navigation, search
Line 57: Line 57:
 
{{#dpl:namespace=
 
{{#dpl:namespace=
 
   |category=ECP
 
   |category=ECP
   |titleregexp=^ECP-[0-9]{5}$
+
   |titleregexp=^{{{prefix|ECP-}}}[0-9]{{{{pad|5}}}}$
 +
  |order=descending
 +
  |noresultsheader={{#pad:0|{{{pad|5}}}|0}}
 +
  |count=1
 
}}
 
}}
 
|}
 
|}
 
[[A ECP-00055 test page]]
 
[[A ECP-00055 test page]]
 +
 +
*以下尚未成功  No good following:
 +
*width
 +
*editintro
 +
*category
 +
*namespace
 +
*preload
 +
*pad
 +
 +
{{#inputbox:
 +
  |type=create
 +
  |buttonlabel={{{buttonlabel|新增}}}
 +
  |width={{{width|25}}}
 +
  |editintro={{{editintro|}}}
 +
  |titleprefix={{{namespace|}}}
 +
  |preload={{{preload|}}}
 +
  |break=no
 +
  |default={{{prefix|ECP-}}}{{#pad:
 +
      {{#expr:
 +
        {{#replace:
 +
            {{#replace:
 +
              {{#dpl:titleregexp=^{{{prefix|ECP-}}}[0-9]{{{{pad|5}}}}$<!---
 +
                -->{{#if:{{{namespace|}}}|namespace={{{namespace|}}}}}<!---
 +
                -->{{#if:{{{category|}}}|category={{{category|}}}}}<!---
 +
                -->|noresultsheader={{#pad:0|{{{pad|5}}}|0}}
 +
              }}
 +
              |/^([^{{!}}]+\{{!}}){1}([^\]]+).*/
 +
              |\2
 +
            }}
 +
          |{{{prefix|ECP-}}}
 +
          |
 +
        }}                      <!-- ECP-00004=>00004 -->
 +
      +1}}                      <!-- 00004+1=>5 -->
 +
    |{{{pad|5}}}|0}}            <!-- 5=>00005 -->
 +
}}
 +
 +
 +
 
<noinclude>[[Category:ECP Register System]]</noinclude>
 
<noinclude>[[Category:ECP Register System]]</noinclude>

Revision as of 16:59, 30 March 2008

Engineering Change Process (ECP) Register System

  • The next serial number is ECP-{{#pad:
     Expression error: Unrecognized punctuation character "{".                      
    |5|0}}                      

{{#inputbox: type=create default=ECP-{{#pad:
     Expression error: Unrecognized punctuation character "{".                      
0}}


buttonlabel=create width=35 editintro=New Issue (Intro) preload=ECP (Form) break=no

}}



ECP NO Type Ext. Vers. Description Status last edit date
ECP-00001 Change Request DPL ? Just for test open
ECP-00000 Bug DPL ? open
ECP-00000 Bug DPL ? open
ECP-00000 Bug DPL ? open

DPL test

Imput Result
{{#dpl:titleregexp=^ECP-}}
{{#dpl:titleregexp=ECP-}}
{{#dpl:titleregexp=[0-9]{5}$}}
{{#dpl:namespace=

|titleregexp=[0-9]{5}$
}}

{{#dpl:namespace=

|category=ECP
|titleregexp=^ECP-[0-9]{5}$
}}

A ECP-00055 test page

  • 以下尚未成功 No good following:
  • width
  • editintro
  • category
  • namespace
  • preload
  • pad

{{#inputbox:

 |type=create
 |buttonlabel=新增
 |width=25
 |editintro=
 |titleprefix=
 |preload=
 |break=no
 |default=ECP-{{#pad:
     Expression error: Unrecognized punctuation character "{".                      
    |5|0}}            

}}