Difference between revisions of "Template:Catindex"
Jump to navigation
Jump to search
(Created page with "<div id="cat-contents"> == Category Contents == {{#categorytree:{{{category}}}|hideroot|mode={{{mode|pages}}}}} {{#ifeq:{{PAGESINCATEGORY:{{{category}}}|R}}|0|''This category...") |
|||
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 == |
Revision as of 18:10, 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.