Template:Documentation subpage/Meta

From Templates Wiki
Jump to navigation Jump to search
This documentation subpage contains instructions, categories, or other information that is not part of the template. To view the Template page itself, see Template:Documentation subpage.
Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]
Template:Tocright

Usage[edit source]

{{License documentation subpage}}

OR

 {{License documentation subpage|[[main page to link to]]|[[documentation to link to]]}}

This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:

  • On a "/doc" page, it displays a box explaining template documentation and links to the template page.
  • On other pages (ie, pages transcluding the "/doc" page), it notes that the documentation is transcluded from a subpage.

Functions[edit source]

In addition to the output message, the template categorizes pages to Category:License template documentation. It defaults the sort key to the page name without namespace (ie, "Foo" on "Template:Foo", so it would be sorted in categories under 'F').

The above text is transcluded from Template:Documentation subpage/Meta/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Documentation subpage/Meta/doc. (View all subpages of this page.)