Difference between revisions of "Template:ShowCategories"

From OIAr Archive 2013
Jump to navigation Jump to search
(cut/paste error)
(cut/paste error)
Line 5: Line 5:
  
 
Usage:
 
Usage:
{{ShowCategories|page= }}
+
<pre><nowiki>{{ShowCategories|page= }}</nowiki></pre>
 
</noinclude><includeonly>{{#show:{{{page}}}|?Category|link=none|sep=,}}
 
</noinclude><includeonly>{{#show:{{{page}}}|?Category|link=none|sep=,}}

Revision as of 10:29, 29 December 2012

This simple template takes a single parameter page= and returns a list of all the categories that the page belongs to.
The list is alphabetically sorted, and a comma is used as the delimiter.

Usage:

{{ShowCategories|page= }}