Difference between revisions of "Sandbox"

From FollowTheScore
Jump to: navigation, search
(1)
(1)
Line 9: Line 9:
 
{{#dpl:
 
{{#dpl:
 
  |category=DPL Manual
 
  |category=DPL Manual
  |includepage=%1[15]
+
  |includepage=%1[20 ]
 
  |randomcount=10
 
  |randomcount=10
 
  |format=,,°,
 
  |format=,,°,
 
}}|°}}
 
}}|°}}
 
{{#arraysort:x|random}}
 
{{#arraysort:x|random}}
{{#arrayindex:x|1}}
+
{{#arrayindex:x|0}}
  
 
===3===
 
===3===

Revision as of 19:48, 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)

1

{{#arraydefine:x|

There was a basic [[DPL:Manual - Authors and History#DynamicPagelist2 vs. DynamicPageList|]]°

loop detection
[[DPL:Manual - DPL Bug Reporting and Feature Requests#Known Bugs and Strange Effects|]]°

The general [[DPL:Manual - DPL parameters: Controlling output format#General approach to output formatting|]]°°

<nowiki>
  
</nowiki> [[DPL:Manual - dplnum#Syntax|]]°
<nowiki>
 (1) 
</nowiki> [[DPL:Manual - dplvar#Syntax|]]°

The following [[DPL:Manual - General Usage and Invocation Syntax#Parser extension method|]]°°

<nowiki>
 
</nowiki> [[DPL:Manual - dplchapter#Syntax|]]°

Download the [[DPL:Manual - Source and Installation#Get code/file|]]°|°}} {{#arraysort:x|random}} {{#arrayindex:x|0}}

3

2

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

%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!