Difference between revisions of "Sandbox"

From FollowTheScore
Jump to: navigation, search
(Playground)
Line 6: Line 6:
 
add debug=5 at the beginning of your statement and check what the Template [[Template:Infobox Country or territory dpl]] produces. [[User:Gero|Gero]] 10:34, 4 April 2008 (CEST)
 
add debug=5 at the beginning of your statement and check what the Template [[Template:Infobox Country or territory dpl]] produces. [[User:Gero|Gero]] 10:34, 4 April 2008 (CEST)
  
{{#dpl: |category=DPL Manual| ordermethod=none}}
+
{{#arraydefine:x|{{#replace:
 +
{{#dpl:
 +
|category=DPL Manual
 +
|randomcount=10
 +
|format=,%TITLE%,°,
 +
}}|/°$/|}}|°}}
 +
{{#arraysort:x|random}}
 +
{{#arrayprint:x|---}}
  
 
{{#dpl:
 
{{#dpl:

Revision as of 06:19, 18 August 2009

feel free to play around

Playground

You must create valid syntax for the gallery extension if you want to use it within DPL; add debug=5 at the beginning of your statement and check what the Template Template:Infobox Country or territory dpl produces. Gero 10:34, 4 April 2008 (CEST)

{{#arraydefine:x|{{#replace: Manual°Manual - Authors and History°Manual - DPL Bug Reporting and Feature Requests°Manual - DPL parameters: Controlling output volume°Manual - DPL parameters: Other parameters°Manual - dplmatrix°Manual - dplnum°Manual - dplreplace°Manual - DPL parameters: Criteria for page selection°Manual - Source and Installation°|/°$/|}}|°}} {{#arraysort:x|random}} {{#arrayprint:x|---}}


Country Official Name Capital Dial Code
DPL Example 007 main page 1 (%COUNT%) Template:Country dpl.default
Nigunda (%COUNT%) Republic of Nigunda Bamitogoo 237
Nigunda Test (%COUNT%) Republic of Nigunda Test Bamitogoo Test 237
Somango (%COUNT%) Somango Island Aaaabququque 224

Number of data = 1

No Name Languages Government Area Population GDP Independence Day
1 Republic of Cameroon French,English Republic 183,568 sq mi 17,795,000 $43.196 billion 01/10/1961

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'Template ordermethod=none' for parameter 'namespace'.


Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

%TOTALPAGES%

{{#dpl: category=African_Union_member_states¦Cities|resultsheader=%PAGES%|noresultsheader=none|mode=userformat

9

{{#dpl: category=African_Union_member_states¦Cities|resultsheader=%TOTALPAGES%|noresultsheader=none|mode=userformat

9

1 3.2.1

 good morning!