Difference between revisions of "Template:CategoryContents"
From Synfig Studio :: Documentation
m (test) |
m (test) |
||
Line 2: | Line 2: | ||
{{#dpl: | {{#dpl: | ||
|category={{{1}}}{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}||/{{#titleparts:{{PAGENAME}}||-1}}}} | |category={{{1}}}{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}||/{{#titleparts:{{PAGENAME}}||-1}}}} | ||
− | |include={Title}.dpl | + | |include={Title}.dpl,{Layer}:image |
− | |format=,\n* [[%PAGE%|,]] | + | |format=,\n* [[%PAGE%|,]]!image, |
|noresultsheader= | |noresultsheader= | ||
}} | }} |
Revision as of 20:09, 16 October 2016
This template lists pages in category, considering their translated titles.
Usage
List contents of specific category on the page. Usage:
{{CategoryContents|Example}}
NOTE: Output is localized, so if you use {{CategoryContents|Example}} on Spanish page, you will automatically get content of Example/es category