Difference between revisions of "Template:CategoryContents"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (fix?)
m (back to rogin)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#dpl:category={{{1}}}{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}||/{{#titleparts:{{PAGENAME}}||-1}}}}|include={Title}.dpl|format=,\n* [[%PAGE%|,]],|noresultsheader=&nbsp;
+
{{#dpl:
| includepage ={Layer}:image
+
|category={{{1}}}{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}||/{{#titleparts:{{PAGENAME}}||-1}}}}
|columns=3
+
|include={Title}.dpl
|rowcolformat=width=100%
+
|format=,\n* [[%PAGE%|,]],
 +
|noresultsheader=&nbsp;
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 20:15, 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