Difference between revisions of "User:Roc michael"

From FollowTheScore
Jump to: navigation, search
(error with namespace and prefix)
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
正體中文(Tradition Chinese),僅供參考(for reference only),歡迎您一起參與修訂(Welcome to edit it)。
+
*[[Template:Invalid page]]
{{#form:  name= demo | action=/wiki/index.php|
 
{{#input: name= title | type= hidden | value = Special:Call/User:Roc michael}}
 
<table cellpadding=2 cellspacing=0 margins=0 width=100% border rules=cols>
 
<tr valign=top><td width=30%  colspan="3">
 
'''選取頁面:'''
 
<table cellpadding=0 cellspacing=0 margins=0>
 
<tr>
 
<td align="right">名字空間(namespace)</td>
 
<td>&nbsp;{{#input: name=namespace | type=select | value = {{{namespace|}}} |<!-- *? {{#dpl: namespace=* | format=,\n*%TITLE%,, }}-->
 
*all
 
*main
 
*Talk
 
*Template
 
*Category
 
*Image
 
*User
 
*DPL
 
*Wgraph
 
}}
 
</td>
 
<td align="right">但非(not)</td>
 
<td>&nbsp;{{#input: name=notnamespace | type=select | value = {{{notnamespace|}}} |
 
*-
 
*main
 
*Talk
 
*Template
 
*Category
 
*Image
 
*User
 
*DPL
 
*Wgraph
 
}}
 
</td>
 
</tr>
 
<!-------------------->
 
<tr>
 
<td align="right">分類(category)</td>
 
<td>&nbsp;{{#input: name=category | value = {{{category|}}} | type=select | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,,}}}}
 
</td>
 
<td align="right">但非(not)</td>
 
<td>&nbsp;{{#input: name=notcategory | value = {{{notcategory|}}} | type= select | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,,}}}}
 
</td>
 
</tr>
 
<!-------------------->
 
<tr>
 
<td align="right">內嵌樣板(Template)</td>
 
<td>&nbsp;{{#input: name=uses | value = {{{uses|}}} | type=select | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,,}}}}
 
</td>
 
<td align="right">但非(not)</td>
 
<td>&nbsp;{{#input: name=notuses | value = {{{notuses|}}} | type=select | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,,}}}}
 
</td>
 
</tr>
 
<!-------------------->
 
<tr>
 
<td align="right">頁面名稱(title; 使用時須加百分號「%」)</td>
 
<td>&nbsp;{{#input: name=titlematch | value = {{{titlematch|}}}}}
 
</td>
 
<td align="right">非此頁面名稱(%)</td>
 
<td>&nbsp;{{#input: name=nottitlematch | value = {{{nottitlematch|}}}}}
 
</td>
 
</tr>
 
<!-------------------->
 
<tr>
 
<td align="right">內含章節(include ex:#Ch A,#Ch B) </td>
 
<td>&nbsp;{{#input: name=include | value = {{{include|}}}}}
 
</td>
 
<td align="right">欄位標題(table; ex:,,Ch A,Ch B)</td>
 
<td>&nbsp;{{#input: name=table | value = {{{table|}}}}}
 
</td>
 
</tr>
 
<!-------------------->
 
<tr>
 
<td align="right">連結至某頁(links to) </td>
 
<td>&nbsp;{{#input: name=linksto | value = {{{linksto|}}} }}
 
</td>
 
<td align="right">(無連結至某頁)not to </td>
 
<td>&nbsp;{{#input: name=notlinksto | value = {{{notlinksto|}}} }}
 
</td>
 
</tr>
 
<!-------------------->
 
<tr>
 
<td align="right"> 頁面創建者(created by) </td>
 
<td>&nbsp;{{#input: name= createdby | value = {{{createdby|}}} |type= select
 
                                      | *? {{#dpl: namespace=User | |titleregexp=^[^/]+$ | format=,\n*%TITLE%,, }} }}
 
</td>
 
<td align="right">&nbsp; 頁面修改者(modified by) </td>
 
<td>&nbsp;{{#input: name= modifiedby | value = {{{modifiedby|}}} |type= select
 
                                      | *? {{#dpl: namespace=User | titleregexp=^[^/]+$ | format=,\n*%TITLE%,, }} }}
 
</td>
 
</tr>
 
<!-------------------->
 
<tr>
 
<td align="right"> 截至某日前最後的版本 last rev. before </td>
 
<td>&nbsp;{{#input: name=lastrevisionbefore | value = {{#if:{{{lastrevisionbefore|}}}|{{{lastrevisionbefore|}}}|YYYY-MM-DD}}}}</td>
 
<td align="right"> 某日後最早的版本 first rev. since </td>
 
<td>&nbsp;{{#input: name=firstrevisionsince | value = {{#if:{{{firstrevisionsince|}}}|{{{firstrevisionsince|}}}|YYYY-MM-DD}}}}</td>
 
</tr>
 
<!-------------------->
 
<tr>
 
<td align="right"> 某日前的所有版本''all revs.'' before</td>
 
<td>&nbsp;{{#input: name=allrevisionsbefore | value = {{#if:{{{allrevisionsbefore|}}}|{{{allrevisionsbefore|}}}|YYYY-MM-DD}}}}</td>
 
<td align="right"> 某日後所有的版本''all revs.'' since</td>
 
<td>&nbsp;{{#input: name=allrevisionssince | value =  {{#if:{{{allrevisionssince|}}}|{{{allrevisionssince|}}}|YYYY-MM-DD}}}}</td>
 
</tr></table>
 
  
 +
== ECP Register System study==
 +
*[[ECP List]]
 +
*[[Template:DPL Page Name S/N Maker]]
 +
*[[Template:DPL Page Name S/N Maker test]]
  
</tr>
+
===error with namespace and prefix===
<tr>
+
'''The bug is fixed now.'''--[[User:Roc michael|Roc michael]] 12:16, 22 March 2009 (UTC)
<td valign=top>
+
*After creating pages named "Talk00001" and "Help:CPR-0001", I get errors like following:
'''頁面資訊 Information Display<br>(某些須搭配排序依據使用 <br>Some item must use with some Order Method):'''
+
[[Image:N Maker Template error.png|500px]]
  
{{#input: name=shownamespace | type=checkbox | value = {{{shownamespace|}}}}}名字空間(namespace)<br>
+
==[[User:Roc michael/Calendar study]]==
{{#input: name=addcategories | type=checkbox | value = {{{addcategories|}}}}}分類(categories)<br>
+
{{/Calendar study}}
{{#input: name=includesubpages | type=checkbox | value = {{{includesubpages|}}}}}子頁面(subpages)<br>
+
==[[User:Roc michael/dplmatrix study]]==
{{#input: name=addpagecounter | type=checkbox | value = {{{addpagecounter|}}}}}瀏覽人氣(visits)<br>
+
{{/dplmatrix study}}
{{#input: name=addpagesize | type=checkbox | value = {{{addpagesize|}}}}}頁面字數(size)<br>
 
{{#input: name=adduser | type=checkbox | value = {{{adduser|}}}}}該版本的編輯者(user) <br>
 
{{#input: name=addeditdate | type=checkbox | value = {{{addeditdate|}}}}}}}該版本的編輯日期(editdate)<br>
 
{{#input: name=addpagetoucheddate | type=checkbox | value = {{{addpagetoucheddate|}}}}}造訪日(touch date)
 
  
<td valign=top>'''排序方法(order method):'''<br>
+
==[[User:Roc michael/ploticus study]]==
 +
{{/ploticus study}}
  
 
+
==flickr code generater==
排序依據(sort key)
+
{{flickr code generater}}
{{#input: name=ordermethod |type=select | value = {{{ordermethod|}}} |
 
*-
 
*category,firstedit
 
*category,lastedit
 
*category,pagetouched
 
*category,sortkey
 
*categoryadd
 
*counter
 
*firstedit
 
*lastedit
 
*pagetouched
 
*size
 
*title
 
*titlewithoutnamespace
 
*user,firstedit
 
*user,lastedit
 
}}
 
升(降)冪(order):{{#input: name=order | type=select | value = {{{order|}}} |
 
*ascending
 
*descending
 
}}
 
{{#input: name=escapelinks | type=checkbox | value = {{{escapelinks|}}}}} 以連結取代顯示圖像(image)或分類(category)頁面 (escapelinks):
 
 
 
{{#input: name=export | type=checkbox | value = {{{export|}}}}}輸出export
 
 
 
<!----------------->
 
<div style="margin:0;background-color:#ddeeff;margin-top:0px;padding:0.3em 0.3em 0.3em 0.3em; border:1px solid #999999;font-size:100%;font-weight:bold;">排序依據說明(order method description):</div>
 
<div style="height:60px; overflow:auto; margin:0; margin-top:0px; padding:0.3em .3em 0.5em 0.3em; border:1px solid #999999; background-color:#ffffdd;">
 
*分類,初次修訂(category,firstedit)
 
*分類,最後修訂(category,lastedit)
 
*分類,瀏覽人氣(category,pagetouched)
 
*分類,排序值(category,sortkey)
 
*最近才加入的分類(categoryadd)
 
*瀏覽人氣(counter)
 
*初次修訂(firstedit)
 
*最後修訂(lastedit)
 
*頁面被瀏覽的時間(pagetouched)
 
*頁面字數(size)
 
*頁面名稱(title)
 
*頁面名稱不含名字空間(titlewithoutnamespace)
 
*作者,首次版本user,firstedit
 
*作者,最終版本user,lastedit
 
</div>
 
<!--------------------->
 
</td>
 
 
 
<td valign=top width=30% valign=top>'''版面安排 (Layout):'''
 
 
 
 
 
欄位數量(columns){{#input: name=columns | type=select | value = {{{columns|}}} |
 
*1
 
*2
 
*3
 
*4
 
*5
 
}}
 
輸出紀錄筆數上限(maxrecords)  {{#input: name=count | value = {{{count|}}} | size=2
 
}}<br>
 
隨機選取頁數(randomcount): {{#input: name=randomcount | type= select | value = {{{randomcount|}}} |
 
*-
 
*1
 
*3
 
*5
 
*10
 
}}
 
</td></tr></table>
 
 
 
<center>{{#input: type=submit | value = 執行 List members }}
 
&nbsp; <small>[[:Template:Catlist_zh|重填]] <!--, &nbsp; [[:Template:Catgraph|graph]]--></small></center>
 
}}
 
 
 
==其他說明 (Other Description)==
 
<div style="height:100px; overflow:auto; margin:0; margin-top:0px; padding:0.3em .3em 0.5em 0.3em; border:1px solid #999999; background-color:#ffffdd;">
 
{| class= wikitable width=100%
 
|---
 
|+字元代換(當使用樣板語法時)"character escaping":
 
! width=50% |中文
 
!English
 
|----
 
| » 代換為 &gt;
 
| » is translated to &gt;
 
|----
 
| « 代換為 &lt;
 
| « is translated to &lt;
 
|----
 
| ²{ 代換為 <nowiki>{{</nowiki>
 
| ²{is translated to <nowiki>{{</nowiki>
 
|----
 
| }² 代換為 <nowiki>}}</nowiki>
 
| }² is translated to <nowiki>}}</nowiki>
 
|----
 
| ¦ 代換為 <nowiki>|</nowiki>
 
| ¦ is translated to <nowiki>|</nowiki>
 
|----
 
| ¶ 表換行
 
| ¶ is translated to a newline
 
|----
 
| \n 表換行
 
| \n is translated to a newline
 
|}
 
</div>
 
<!------------------------------------------------------------------------------------------------------------->
 
<includeonly>
 
{{#if:{{{name|}}}|
 
==== {{{name}}} ====
 
|}}
 
{{#dpl: resultsheader=<small>%PAGES% results<br><hr></small>\n
 
|noresultsheader=<small>No results<br><hr></small>\n
 
|oneresultheader=<small>1 result<br><hr></small>\n
 
 
 
{{#dpl: resultsheader=<small>有%PAGES%筆紀錄相符(%PAGES% results)<br><hr></small>\n
 
|noresultsheader=<small>查無相符之紀錄(No results.)<br><hr></small>\n
 
|oneresultheader=<small>找到1筆相符的紀錄(1 result)<br><hr></small>\n
 
 
 
|{{#ifeq:{{{namespace|}}}|all||{{#if:{{{namespace|}}}|{{#ifeq:{{{namespace|}}}|main|namespace=|namespace={{{namespace|}}}}}}}}}
 
|{{#ifeq:{{{notnamespace|}}}|-||{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=|notnamespace={{{notnamespace|}}}}}}}}}
 
|{{#ifeq:{{{category|}}}|?||{{#if:{{{category|}}}|category={{{category|}}}}}}}
 
|{{#ifeq:{{{notcategory|}}}|?||{{#if:{{{notcategory|}}}|notcategory={{{notcategory|}}}}}}}
 
|{{#ifeq:{{{uses|}}}|?||{{#if:{{{uses|}}}|uses=Template:{{{uses|}}}}}}}
 
|{{#ifeq:{{{notuses|}}}|?||{{#if:{{{notuses|}}}|notuses=Template:{{{notuses|}}}}}}}
 
|{{#ifeq:{{{createdby|}}}|?||{{#if:{{{createdby|}}}|createdby={{{createdby|}}}}}}}
 
|{{#ifeq:{{{modifiedby|}}}|?||{{#if:{{{modifiedby|}}}|modifiedby={{{modifiedby|}}}}}}}
 
|titlematch={{{titlematch|}}}
 
|nottitlematch={{{nottitlematch|}}}
 
|linksto={{{linksto|}}}
 
|notlinksto={{{notlinksto|}}}
 
|{{#if:{{{columns|}}}|columns={{{columns|}}}|columns=3}}
 
|{{#ifeq:{{{export|}}}|yes|columns=1}}
 
|order={{{order|}}}
 
|{{#ifeq:{{{ordermethod|}}}|-||ordermethod={{{ordermethod|}}}}}
 
|escapelinks={{{escapelinks|}}}
 
|{{#ifeq:{{{randomcount|}}}|-||randomcount={{{randomcount|}}}}}
 
|{{#ifeq:{{{count|}}}|-||{{#if:{{{count|}}}|count={{{count|}}}}}}}
 
|shownamespace={{{shownamespace|}}}
 
|addcategories={{{addcategories|}}}
 
|addpagecounter={{{addpagecounter|}}}
 
|addpagesize={{{addpagesize|}}}
 
|addeditdate={{{addeditdate|}}}
 
|addpagetoucheddate={{{addpagetoucheddate|}}}
 
|adduser={{{adduser|}}}
 
|{{#ifeq:{{{lastrevisionbefore|}}}|YYYY-MM-DD||lastrevisionbefore={{{lastrevisionbefore|}}}}}
 
|{{#ifeq:{{{firstrevisionsince|}}}|YYYY-MM-DD||firstrevisionsince={{{firstrevisionsince|}}}}}
 
|{{#ifeq:{{{allrevisionsbefore|}}}|YYYY-MM-DD||allrevisionsbefore={{{allrevisionsbefore|}}}}}
 
|{{#ifeq:{{{allrevisionssince|}}}|YYYY-MM-DD||allrevisionssince={{{allrevisionssince|}}}}}
 
|{{#ifeq:{{{export|}}}|yes|include={export.dpl}}}
 
|{{#ifeq:{{{export|}}}|yes|format=[http://gs-nb/dpldemo/index.php/Special:Export?pages=,,%0D%0A, click to start export of '''all selected pages''']}}
 
}}
 
----
 
<small><u>The query used the following parameters</u><br/>
 
{{#ifeq:{{{namespace|}}}|all||{{#if:{{{namespace|}}}|{{#ifeq:{{{namespace|}}}|main|namespace=<br>|namespace={{{namespace|}}}<br>}}}}}}<!--
 
-->{{#ifeq:{{{notnamespace|}}}|-||{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=<br>|notnamespace={{{notnamespace|}}}<br>}}}}}}<!--
 
-->{{#ifeq:{{{category|}}}|?||{{#if:{{{category|}}}|category={{{category|}}}<br>}}}}<!--
 
-->{{#ifeq:{{{notcategory|}}}|?||{{#if:{{{notcategory|}}}|notcategory={{{notcategory|}}}<br>}}}}<!--
 
-->{{#ifeq:{{{uses|}}}|?||{{#if:{{{uses|}}}|uses=Template:{{{uses|}}}<br>}}}}<!--
 
-->{{#ifeq:{{{notuses|}}}|?||{{#if:{{{notuses|}}}|notuses=Template:{{{notuses|}}}<br>}}}}<!--
 
-->{{#ifeq:{{{createdby|}}}|?||{{#if:{{{createdby|}}}|createdby={{{createdby|}}}<br>}}}}<!--
 
-->{{#ifeq:{{{modifiedby|}}}|?||{{#if:{{{modifiedby|}}}|modifiedby={{{modifiedby|}}}<br>}}}}<!--
 
-->{{#if:{{{titlematch|}}}|titlematch={{{titlematch|}}}<br>}}<!--
 
-->{{#if:{{{nottitlematch|}}}|nottitlematch={{{nottitlematch|}}}<br>}}<!--
 
-->{{#if:{{{linksto|}}}|linksto={{{linksto|}}}<br>}}<!--
 
-->{{#if:{{{notlinksto|}}}|notlinksto={{{notlinksto|}}}<br>}}<!--
 
-->{{#if:{{{include|}}}|linksto={{{include|}}}<br>}}<!--
 
-->{{#if:{{{table|}}}|linksto={{{table|}}}<br>}}<!--
 
-->{{#if:{{{columns|}}}|columns={{{columns|}}}<br>|columns=3<br>}}<!--
 
-->{{#ifeq:{{{export|}}}|yes|columns=1<br>}}<!--
 
-->{{#ifeq:{{{order|}}}|ascending||order={{{order|}}}<br>}}<!--
 
-->{{#ifeq:{{{ordermethod|}}}|-||ordermethod={{{ordermethod|}}}<br>}}<!--
 
-->{{#ifeq:{{{escapelinks|}}}|true||escapelinks={{{escapelinks|}}}<br>}}<!--
 
-->{{#ifeq:{{{randomcount|}}}|-||randomcount={{{randomcount|}}}<br>}}<!--
 
-->{{#ifeq:{{{count|}}}|-||{{#if:{{{count|}}}|count={{{count|}}}<br>}}}}<!--
 
-->{{#ifeq:{{{shownamespace|}}}|no||shownamespace={{{shownamespace|}}}<br>}}<!--
 
-->{{#ifeq:{{{addcategories|}}}|no||addcategories={{{addcategories|}}}<br>}}<!--
 
-->{{#ifeq:{{{addpagecounter|}}}|no||addpagecounter={{{addpagecounter|}}}<br>}}<!--
 
-->{{#ifeq:{{{addpagesize|}}}|no||addpagesize={{{addpagesize|}}}<br>}}<!--
 
-->{{#ifeq:{{{addeditdate|}}}|no||addeditdate={{{addeditdate|}}}<br>}}<!--
 
-->{{#ifeq:{{{addpagetoucheddate|no||}}}|addpagetoucheddate={{{addpagetoucheddate|}}}<br>}}<!--
 
-->{{#ifeq:{{{adduser|}}}|no||adduser={{{adduser|}}}<br>}}<!--
 
-->{{#ifeq:{{{lastrevisionbefore|}}}|YYYY-MM-DD||lastrevisionbefore={{{lastrevisionbefore|}}}<br>}}<!--
 
-->{{#ifeq:{{{firstrevisionsince|}}}|YYYY-MM-DD||firstrevisionsince={{{firstrevisionsince|}}}<br>}}<!--
 
-->{{#ifeq:{{{allrevisionsbefore|}}}|YYYY-MM-DD||allrevisionsbefore={{{allrevisionsbefore|}}}<br>}}<!--
 
-->{{#ifeq:{{{allrevisionssince|}}}|YYYY-MM-DD||allrevisionssince={{{allrevisionssince|}}}<br>}}<!--
 
--></small><br></includeonly>
 

Latest revision as of 14:16, 22 March 2009

ECP Register System study

error with namespace and prefix

The bug is fixed now.--Roc michael 12:16, 22 March 2009 (UTC)

  • After creating pages named "Talk00001" and "Help:CPR-0001", I get errors like following:

N Maker Template error.png

User:Roc michael/Calendar study

User:Roc michael/dplmatrix study

dplmatrix demo1

code 1

{|class=wikitable
!normal
!flipped
|--
|
{{#dplmatrix:a simple demo matrix||||
one
 oho

     

 aha
two ~~ Two
 ehem
three
four
 aha
 uhui ~~ UHU
two ~~ Two
   uhui ~~ UHU
}}
|
{{#dplmatrix:a simple demo matrix|<big>•</big>|.|flip|
one
 oho
 aha
two ~~ Two
 ehem
three
four
 aha
 uhui ~~ UHU
two ~~ Two
   uhui ~~ UHU
}}
|}

Demo1 Result

normal flipped
a simple demo matrix aha ehem oho UHU
one x   x  
Two   x   x
three        
four x     x
a simple demo matrix one Two three four
aha . .
ehem . . .
oho . . .
UHU . .


{{#dpl:
    |debug=1
    |category=DPL Manual
    |format=,%PAGE% ~~ %TITLE%\n²{:Test matrix2¦page=%PAGE%¦category=DPL Manual¦namespace=}²,
}}

dplmatrix demo2

code 2-1

DPL:Manual ~~ Manual

  DPL:Manual - Authors and History ~~ Manual - Authors and History
  DPL:Manual - Compatibility ~~ Manual - Compatibility
  DPL:Manual - DPL Bug Reporting and Feature Requests ~~ Manual - DPL Bug Reporting and Feature Requests
  DPL:Manual - DPL parameters: Controlling output format ~~ Manual - DPL parameters: Controlling output format
  DPL:Manual - DPL parameters: Controlling output order ~~ Manual - DPL parameters: Controlling output order
  DPL:Manual - DPL parameters: Controlling output volume ~~ Manual - DPL parameters: Controlling output volume
  DPL:Manual - DPL parameters: Criteria for page selection ~~ Manual - DPL parameters: Criteria for page selection
  DPL:Manual - DPL parameters: Other parameters ~~ Manual - DPL parameters: Other parameters
  DPL:Manual - General Usage and Invocation Syntax ~~ Manual - General Usage and Invocation Syntax
  DPL:Manual - Source and Installation ~~ Manual - Source and Installation

DPL:Manual - Authors and History ~~ Manual - Authors and History

  DPL:Manual ~~ Manual
  DPL:Manual - Compatibility ~~ Manual - Compatibility

DPL:Manual - Compatibility ~~ Manual - Compatibility

  DPL:Manual ~~ Manual

DPL:Manual - DPL Bug Reporting and Feature Requests ~~ Manual - DPL Bug Reporting and Feature Requests

  DPL:Manual ~~ Manual

DPL:Manual - DPL parameters: Controlling output format ~~ Manual - DPL parameters: Controlling output format

  DPL:Manual ~~ Manual
  DPL:Manual - DPL parameters: Controlling output order ~~ Manual - DPL parameters: Controlling output order
  DPL:Manual - DPL parameters: Controlling output volume ~~ Manual - DPL parameters: Controlling output volume

DPL:Manual - DPL parameters: Controlling output volume ~~ Manual - DPL parameters: Controlling output volume

  DPL:Manual ~~ Manual
  DPL:Manual - DPL parameters: Criteria for page selection ~~ Manual - DPL parameters: Criteria for page selection

DPL:Manual - DPL parameters: Other parameters ~~ Manual - DPL parameters: Other parameters

  DPL:Manual ~~ Manual

DPL:Manual - DPL Special Page with Parameters ~~ Manual - DPL Special Page with Parameters

  DPL:Manual ~~ Manual

DPL:Manual - DPL with PostgreSQL ~~ Manual - DPL with PostgreSQL

  DPL:Manual ~~ Manual

DPL:Manual - dplmatrix ~~ Manual - dplmatrix

  DPL:Manual ~~ Manual
  DPL:Manual - Authors and History ~~ Manual - Authors and History
  DPL:Manual - DPL Bug Reporting and Feature Requests ~~ Manual - DPL Bug Reporting and Feature Requests
  DPL:Manual - DPL Special Page with Parameters ~~ Manual - DPL Special Page with Parameters
  DPL:Manual - DPL parameters: Controlling output format ~~ Manual - DPL parameters: Controlling output format
  DPL:Manual - DPL parameters: Controlling output order ~~ Manual - DPL parameters: Controlling output order
  DPL:Manual - DPL parameters: Controlling output volume ~~ Manual - DPL parameters: Controlling output volume
  DPL:Manual - DPL parameters: Criteria for page selection ~~ Manual - DPL parameters: Criteria for page selection
  DPL:Manual - DPL parameters: Other parameters ~~ Manual - DPL parameters: Other parameters
  DPL:Manual - DPL with PostgreSQL ~~ Manual - DPL with PostgreSQL
  DPL:Manual - General Usage and Invocation Syntax ~~ Manual - General Usage and Invocation Syntax
  DPL:Manual - Source and Installation ~~ Manual - Source and Installation
  DPL:Manual - dplchapter ~~ Manual - dplchapter

DPL:Manual - dplnum ~~ Manual - dplnum

  DPL:Manual ~~ Manual

DPL:Manual - dplreplace ~~ Manual - dplreplace

  DPL:Manual ~~ Manual

DPL:Manual - dplvar ~~ Manual - dplvar

  DPL:Manual ~~ Manual

DPL:Manual - General Usage and Invocation Syntax ~~ Manual - General Usage and Invocation Syntax

  DPL:Manual ~~ Manual
  DPL:Manual - DPL parameters: Controlling output format ~~ Manual - DPL parameters: Controlling output format

DPL:Manual - DPL parameters: Controlling output order ~~ Manual - DPL parameters: Controlling output order

  DPL:Manual ~~ Manual
  DPL:Manual - DPL parameters: Controlling output format ~~ Manual - DPL parameters: Controlling output format

DPL:Manual - DPL parameters: Criteria for page selection ~~ Manual - DPL parameters: Criteria for page selection

  DPL:Manual ~~ Manual
  DPL:Manual - DPL parameters: Controlling output volume ~~ Manual - DPL parameters: Controlling output volume
  DPL:Manual - General Usage and Invocation Syntax ~~ Manual - General Usage and Invocation Syntax
  DPL:Manual - Source and Installation ~~ Manual - Source and Installation

DPL:Manual - dplchapter ~~ Manual - dplchapter

  DPL:Manual ~~ Manual

DPL:Manual - Source and Installation ~~ Manual - Source and Installation

  DPL:Manual ~~ Manual
  DPL:Manual - Compatibility ~~ Manual - Compatibility
  DPL:Manual - DPL parameters: Criteria for page selection ~~ Manual - DPL parameters: Criteria for page selection
  DPL:Manual - DPL with PostgreSQL ~~ Manual - DPL with PostgreSQL


code 2-2

Now we use two nested DPL queries to generate the indented list:

{{#dplmatrix:''links from articles to the DPL manual''|'''x'''|-|flip|
  {{#dpl:
    |debug=1
    |category=DPL Manual
    |format=,%PAGE% ~~ %TITLE%\n²{:Test matrix2¦page=%PAGE%¦category=DPL Manual¦namespace=}²,
  }}
}}

demo2 Result

links from articles to the DPL manual Manual Manual - Authors and History Manual - Compatibility Manual - DPL Bug Reporting and Feature Requests Manual - DPL parameters: Controlling output format Manual - DPL parameters: Controlling output volume Manual - DPL parameters: Other parameters Manual - DPL Special Page with Parameters Manual - DPL with PostgreSQL Manual - dplmatrix Manual - dplnum Manual - dplreplace Manual - dplvar Manual - General Usage and Invocation Syntax Manual - DPL parameters: Controlling output order Manual - DPL parameters: Criteria for page selection Manual - dplchapter Manual - Source and Installation
Manual - x x x x x x x x x x x x x x x x x
Manual - Authors and History x - - - - - - - - x - - - - - - - -
Manual - Compatibility x x - - - - - - - - - - - - - - - x
Manual - DPL Bug Reporting and Feature Requests x - - - - - - - - x - - - - - - - -
Manual - DPL Special Page with Parameters - - - - - - - - - x - - - - - - - -
Manual - DPL parameters: Controlling output format x - - - - - - - - x - - - x x - - -
Manual - DPL parameters: Controlling output order x - - - x - - - - x - - - - - - - -
Manual - DPL parameters: Controlling output volume x - - - x - - - - x - - - - - x - -
Manual - DPL parameters: Criteria for page selection x - - - - x - - - x - - - - - - - x
Manual - DPL parameters: Other parameters x - - - - - - - - x - - - - - - - -
Manual - DPL with PostgreSQL - - - - - - - - - x - - - - - - - x
Manual - General Usage and Invocation Syntax x - - - - - - - - x - - - - - x - -
Manual - Source and Installation x - - - - - - - - x - - - - - x - -
Manual - dplchapter - - - - - - - - - x - - - - - - - -

User:Roc michael/ploticus study


{{#ploticus:

//index-headings: unicode font, xml_encoding, clustered bars, categories

// this is used only when producing SVG..

  1. proc settings

xml_encoding: utf-8 //-font SimSun

// specify the data.. field 1 is english, field 2 is utf-8 unicode, fields 3 - 5 are values

  1. proc getdata

data: chicken 鸡 478 204 184 beef 牛肉 537 258 202 pork 猪肉 274 189 148 lamb 羊羔 147 176 108


// set up the plotting area

  1. proc areadef

// "Quantities shipped per region" title: 数量运送了每区域 titledetails: align=C size=15 rectangle: 1 1 4 2.5 xcategories: datafield=2 yrange: 0 800 xaxis.stubs: usecategories yaxis.stubs: inc 100 // "kilograms" yaxis.label: 公斤 yaxis.labeldistance: 0.4

// do the red bars..

  1. proc bars

locfield: 2 lenfield: 3 barwidth: 0.1 cluster: 1 / 2 color: red // "Northeast" (?) legendlabel: 东北

// do the blue bars..

  1. proc bars

locfield: 2 lenfield: 4 barwidth: 0.1 cluster: 2 / 2 color: blue // "West" legendlabel: 西部

// render the legend using labels specified above..

  1. proc legend

location: max-0.2 max-0.2

// add a disclaimer :>

  1. proc annotate

location: min 0.5 textdetails: size=8 align=L // "I am sorry if these Chinese translations do not make sense.. they were done by a computer!" text: 我抱歉如果这些中国翻译没有道理。 他们由计算机做了! }}

flickr code generater

The Demo of Combining the use of Call extensionSimple Forms extension and Flickr extension.

{{#form: name= demo |action={{#replace:/dpldemo/index.php?title=Roc_michael

                             |%^([\/]\S*[index.php])([\/])([Roc michael]\S*)%
                             |\1
                            }}|

{{#input: name= title |type= hidden | value = Special:Call/Flickr code generater}}

圖片網址(url)  {{#input: name=url | value = }} (EX:http://www.flickr.com/photos/king-edward/362100651/in/photostream/)
圖片編號(photoid)  {{#input: name=photoid | value = }} (EX:「1380153248」)
圖片型式(type)  {{#input: name=type | type=select | value = |
  • 縮圖 (thumb)
  • 加框 (frame)

}}

圖片位置(location)  {{#input: name=location | type=select | value = |
  • 右 (right)
  • 左 (left)
  • 中 (center)
  • 不限定 (none)

}}

圖片尺寸(size)  {{#input: name=size | type=select | value = |
  • 小方塊 (s)
  • 小縮圖 (t)
  • 小尺寸 (m)
  • 中尺寸 (-)
  • 大尺寸 (b)

}}

圖片註解(caption)  {{#input: name=caption | value = }}

 {{#input: type = submit | value = 產生(Generate)}} 放棄(reset)

}}


<flickr>{{#replace:

           |/^([http]\S*[photos])[\/](\S*)[\/](\d*)[\/](\S*)/
           |\3}}|||</flickr>

您使用如下的查詢參數(Your query is following):

<flickr>{{#replace:

                                        |/^([http]\S*[photos])[\/](\S*)[\/](\d*)[\/](\S*)/
                                        |\3}}|||</flickr>