Template:Template categories/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:Template categories. It contains usage information, categories and other content that is not part of the original template page. |
This is a wrapper for template categories, which are placed to the template's documentation page. Unlike the legacy code with the {{sandbox other}} template, this wrapper also suppresses incorrect categorization of a doc page that transcludes another doc page.
Usage[edit source]
Put the following code to the end of a template documentation page:
{{Template categories| [[Category:Cat1]] [[Category:Cat2]] ... }}
Unless the transcluding page is a /doc or /sandbox subpage, it will be placed into the specified categories. Surrounding the code with <includeonly>
tags is not necessary, but it will not harm.
External links[edit source]
- Template:Template categories/doc at Wikipedia, the free Terran encyclopedia that anyone can edit.