"沙盒" 修訂間的差異

出自 新化國中wiki平台
前往: 導覽搜尋
行 11: 行 11:
  
 
{{#vardefine:owner|__USERNAME__}}
 
{{#vardefine:owner|__USERNAME__}}
 
+
{{#vardefine:count|6}}
 
nowpage:{{FULLPAGENAME}}
 
nowpage:{{FULLPAGENAME}}
 
nowuser:{{#var:owner}}
 
nowuser:{{#var:owner}}
行 17: 行 17:
 
{{#dpl: namespace = 圖片   
 
{{#dpl: namespace = 圖片   
 
  |addeditdate = true
 
  |addeditdate = true
  |createdby = {{#var:owner}}
+
  |createdby = Mingguey
 
  |titlematch = 剪%
 
  |titlematch = 剪%
 
  |ordermethod=lastedit
 
  |ordermethod=lastedit
 
  |order=descending
 
  |order=descending
  |count=10
+
  |count={{#var:count}}
 
 
}}
 
}}

於 2009年5月13日 (三) 21:05 的修訂

也成功: http://wiki.shjhs.tn.edu.tw/images/icons/{{#switch: {{ #sub:97特教組網路宣導.doc | {{ #ifexpr: {{#rpos:97特教組網路宣導.doc|.}} > 0 | {{#rpos:97特教組網路宣導.doc|.}} | {{#len:97特教組網路宣導.doc }} }} }} |.doc=doc.png |.xls=xls.png |.ppt=ppt.png |.pdf=pdf.png |.tar=tar.png |.gz=gz.png |.7z=7z.png |.zip=zip.png |.001 |.002 |.003 |.004 |.005 |.006 |.007 |.008 |.009= | #default = N/A }} {{#if: test | test | 97特教組網路宣導.doc }} info.png

成功: doc.png test info.png


另一個練習


The URL or file path given does not exist.

{{#vardefine:owner|__USERNAME__}} {{#vardefine:count|6}} nowpage:沙盒 nowuser:{{#var:owner}}

{{#dpl: namespace = 圖片

|addeditdate = true
|createdby = Mingguey
|titlematch = 剪%
|ordermethod=lastedit
|order=descending
|count={{#var:count}}

}}