Template:Cat: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(upgrade to allow pagename change)
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==

Revision as of 17:21, 24 February 2011

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,....}}