Template:Cat: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (Protected "Template:Cat" [edit=sysop:move=sysop])
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[category:{{{1}}}|{{PAGENAME}}]]</includeonly><noinclude>{{essential}}Adds the current page to the listed category.{{Cat|Templates}}</noinclude>
<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==
<pre>
{{cat|category1,category2,category3,category4,....|Listing text}}
</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}}