Template:Documentation subpage

From MTG Wiki
Jump to navigation Jump to search


 Template Documentation[view | edit | history | purge]

This template displays a message box/banner marking its page as documentation for a template, and linking back to the main template page. It should be at the top of /doc subpages ("doc pages") for any template that has one, but it should be wrapped in noinclude tags to avoid being shown on actual template pages.

This banner is included appropriately in the boilerplate documentation page wikitext. That text is preloaded for editors using the link from {{Documentation}} when a page doesn't already have a documentation page.

If adding this banner manually, the following format is usually correct at the top of the page:

<noinclude>{{Documentation subpage}}</noinclude>
The above documentation is transcluded from Template:Documentation subpage/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories and interwikis to the /doc subpage. Subpages of this template.

You are currently viewing the actual page for this template, despite what the text says in the preview of the banner below.

Template output

This is a template documentation subpage for Template:Documentation subpage.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.