Difference between revisions of "Template:Catindex"

From ICE Enterprises
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<div id="cat-contents">
 
<div id="cat-contents">
 
== Category Contents ==
 
== Category Contents ==
<!--{{#categorytree:{{{category}}}|hideroot|mode={{{mode|pages}}}}}-->
+
{{#categorytree:{{{category}}}|hideroot|mode={{{mode|pages}}}}}
{{#categorytree:{{{category}}}|hideroot|mode=all}}
 
 
{{#ifeq:{{PAGESINCATEGORY:{{{category}}}|R}}|0|''This category is empty''|}}</div><noinclude>
 
{{#ifeq:{{PAGESINCATEGORY:{{{category}}}|R}}|0|''This category is empty''|}}</div><noinclude>
 
== Usage ==
 
== Usage ==

Latest revision as of 18:12, 22 May 2018

Category Contents

This category is empty

Usage

{{Catindex|category=<category name>|mode=<mode>}}

The mode parameter is optional. The default value is pages. If the value all is passed, all subcategories, pages and media will be displayed.