• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Template categories

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template now redundant with {{sandbox other}} (talk). April 2020

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

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.

The above documentation is transcluded from Template:Template categories/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Template_categories&oldid=32963"
Categories:
  • Template documentation
  • Namespace manipulation templates
Last edited on 7 October 2018, at 00:05

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 7 October 2018, at 00:05.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop