Difference between revisions of "Sandbox"

From FollowTheScore
Jump to: navigation, search
(test)
 
(34 intermediate revisions by 10 users not shown)
Line 1: Line 1:
feel free to play around
+
feel free to play around; see also [[Template:Sandbox]].
  
 
== Playground ==
 
== Playground ==
 
+
===List subcategories of matched categories===
;From
+
{{sandbox|DPL Example 007 main cat}}
{{#tree:{{Links 1|from|Wgraph}}}}
 
{{#tree:{{Links 2|from|Wgraph}}}}
 
 
 
;To
 
{{#tree:{{Links 1|to|Wgraph}}}}
 
{{#tree:{{Links 2|to|Wgraph}}}}
 
 
 
;<nowiki>{{{3}}}</nowiki>
 
{{#tree:{{Links 1|to|Wgraph|Foo}}}}
 
{{#tree:{{Links 2|to|Wgraph|Foo}}}}
 
 
 
 
 
<DPL>
 
  title=Nigunda
 
  include=abc
 
</DPL>
 
 
 
<DPL>
 
  category=Fictitious country
 
  includepage={Country} dpl,%0[100]
 
  addpagecounter=true
 
  format=¶{|class=sortable ¶!Country ¶!Official Name ¶!Capital ¶!Dial Code ¶!History ¶!Religion ¶!Revolutions,¶|-¶|[[%PAGE%]] (%COUNT%),,¶|}
 
  secseparators=¶|
 
  reset=all
 
</DPL>
 
 
 
<dpl>
 
  category=African Union member states
 
  nottitlematch=Sudan
 
  includepage={Infobox Country or territory} dpl,%0[100]
 
  mode=userformat
 
  addpagecounter=true
 
  listseparators=\n{|class=sortable \n!Country \n!Area \n!Population \n!Text \n!#hits\n|-,\n|-\n|[[%PAGE%]]\n,\n|align=right|%COUNT%\n,\n|}
 
  secseparators=\n|
 
  reset=all
 
</dpl>
 
 
 
<dpl>
 
  category=African Union member states
 
  includepage={Infobox Country or territory} dpl,%0[100]
 
  mode=userformat
 
  addpagecounter=true
 
  listseparators=\n{|class=sortable \n!Country \n!Area \n!Population \n!Text \n!#hits\n|-,\n|-\n|[[%PAGE%]]\n,\n|align=right|%COUNT%\n,\n|}
 
  secseparators=\n|
 
  reset=all
 
</dpl>
 
 
 
----
 
 
 
<DPL>
 
category=African Union member states
 
ordermethod=category,title
 
headingmode=definition
 
reset=all
 
</DPL>
 

Latest revision as of 08:06, 28 March 2010

feel free to play around; see also Template:Sandbox.

Playground

List subcategories of matched categories

{{Sandbox|DPL Example 007 main cat}}
DPL Example 007 main cat (2 subcategories).
  1. {{Sandbox2|DPL Example 007 sub cat 1}}
    DPL Example 007 sub cat 1

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

  2. {{Sandbox2|DPL Example 007 sub cat 2}}
    DPL Example 007 sub cat 2

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