Difference between revisions of "Template:ShowCategories"

From OIAr Archive 2013
Jump to navigation Jump to search
(arraymap for prefix-removal)
(forgot the var)
Line 6: Line 6:
<pre><nowiki>{{ShowCategories|page= }}</nowiki></pre>
<pre><nowiki>{{ShowCategories|page= }}</nowiki></pre>

Latest revision as of 12:06, 29 December 2012

This simple template takes a single parameter page= and returns a list of all the categories that the page belongs to.
Each category shown is just the category name without the prefix "category:". The list is unsorted, and a comma is used as the delimiter.


{{ShowCategories|page= }}