Difference between revisions of "Listtopics"
From Theonomy Wiki
(non recursive) |
|||
(20 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 | ||
|addcategories=true | |addcategories=true | ||
− | |format = <div | + | |includesubpages=false |
+ | |format = <div><ul class="lisubtopic">,<li>[[%PAGE%|%TITLE%]],</li>,</ul></div> | ||
+ | |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]] |