Difference between revisions of "Template:CategoryContents"

From Synfig Studio :: Documentation
Jump to: navigation, search
m
(don't display warnings if no results found)
Line 1: Line 1:
<includeonly>{{#dpl:category={{{1}}}{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}||/{{#titleparts:{{PAGENAME}}||-1}}}}|include={Title}.dpl|format=,\n* [[%PAGE%|,]],}}</includeonly>
+
<includeonly>{{#dpl:category={{{1}}}{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}||/{{#titleparts:{{PAGENAME}}||-1}}}}|include={Title}.dpl|format=,\n* [[%PAGE%|,]],|noresultsheader=}}</includeonly>
 
<noinclude>
 
<noinclude>
 
This template lists pages in category, considering their translated titles.
 
This template lists pages in category, considering their translated titles.

Revision as of 18:14, 27 January 2010


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