Difference between revisions of "Listtopics"

From Theonomy Wiki
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#dpl:
+
{{#if: {{#urlget:lang}}|{{#vardefine:pglang|{{#urlget:lang}}}}|{{#vardefine:pglang|{{:UIlang}}}}}}
 +
{{#ifeq: {{#var:pglang}}|en|{{#dpl:
 
|category = {{{1|ZZZ}}}
 
|category = {{{1|ZZZ}}}
 
|category = Topic
 
|category = Topic
 
|addcategories=true
 
|addcategories=true
 
|includesubpages=false
 
|includesubpages=false
|format = <div><ul class="lisubtopic">,<li>[[Special:MyLanguage/%PAGE%|²{#if: {{{lang|}}}|²{#getdisplaytitle:%PAGE%/{{{lang|}}}}²|%TITLE%]],</li>,</ul></div>
+
|format = <div><ul class="lisubtopic">,<li>[[%PAGE%|%TITLE%]],</li>,</ul></div>
 
|ordermethod=title
 
|ordermethod=title
 
|noresultsheader=
 
|noresultsheader=
 
|debug = 1
 
|debug = 1
 +
}}|{{#dpl:
 +
|category = {{#sub:{{{1|ZZZZZZ}}}|0|-{{#len:/{{#var:pglang}}}}}}
 +
|category = Topic
 +
|addcategories=true
 +
|includesubpages=true
 +
|distinct=true
 +
|titlematch=%/{{#var:pglang}}
 +
|format = <div><ul class="lisubtopic">,<li>[[%PAGE%|²{#getdisplaytitle:%PAGE%}²]],</li>,</ul></div>
 +
|ordermethod=title
 +
|noresultsheader=
 +
|debug = 1
 +
}}
 
}}
 
}}
  
 
[[Category:Pages using DynamicPageList parser function]]
 
[[Category:Pages using DynamicPageList parser function]]

Latest revision as of 11:58, 14 September 2020