Difference between revisions of "Template:Catindex"
From ICE Enterprises
| Line 1: | Line 1: | ||
<div id="cat-contents"> | <div id="cat-contents"> | ||
== Category Contents == | == Category Contents == | ||
| − | + | {{#categorytree:{{{category}}}|hideroot|mode={{{mode|pages}}}}} | |
| − | |||
{{#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 17:12, 22 May 2018
Category Contents
This category is emptyUsage
{{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.