Template:Cat: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (test)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#arraymap:{{{1}}}|,|x|[[category:x|{{PAGENAME}}]]}}</includeonly><noinclude>{{essential}}Adds the current page to the listed categories.
<includeonly>{{#if:{{{2|}}}|{{#arraymap:{{{1}}}|,|x|[[category:x|{{{2}}}]]|}}|{{#arraymap:{{{1}}}|,|x|[[category:x|{{PAGENAME}}]]|}}}}</includeonly><noinclude>{{essential}}Adds the current page to the listed categories.


==Usage Documentation==
==Usage Documentation==
<pre>
<pre>
{{cat|category1,category2,category3,category4,....}}
{{cat|category1,category2,category3,category4,....|Listing text}}
</pre>{{Cat|Templates}}{{cat|test,test2,test3}}</noinclude>
</pre>{{Cat|Templates}}</noinclude>

Latest revision as of 01:29, 2 May 2012

Essential Template
  • This template is so essential that it has been protected to prevent tampering.
  • If you have suggestions to extend its function or have observed bugs, please post to the discussion page.

Adds the current page to the listed categories.

Usage Documentation

{{cat|category1,category2,category3,category4,....|Listing text}}