Difference between revisions of "Template:CategoryContents"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (ytest)
m (Reverted edits by D.j.a.y (talk) to last revision by Zelgadis)
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;}}</includeonly>
{{#dpl
+
|category={{{1}}}
+
{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}||/{{#titleparts:{{PAGENAME}}||-1}}}}|include={Title}.dpl|format=,\n* [[%PAGE%|,]],|noresultsheader=&nbsp;
+
}}
+
</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 11:43, 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
https://wiki.synfig.org/index.php?title=Template:CategoryContents&diff=prev&oldid=22318
wiki.synfig.org
crawl=CC-MAIN-2019-09
18107
application/http; msgtype=response
sha1:KHSH6FWPLMJHS6E7FAX3UQOCQMT6LOOK
<urn:uuid:bb425deb-523d-4298-81f3-a67e4ac687f8>
2019-02-22T14:35:31Z
5.9.192.116
text/html
sha1:DKXKUON6NOXFMHRADOZSCDBGUTXY6F6B
<urn:uuid:1bf4d67c-772d-43ab-be76-806beead85f2>
https://wiki.synfig.org/index.php?title=Template:CategoryContents&diff=prev&oldid=22318
response
<urn:uuid:10b43f83-877a-4625-b6eb-288949623732>
isPartOf: CC-MAIN-2019-09
publisher: Common Crawl
description: Wide crawl of the web for February 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-165-183-132.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 0.11-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/