Difference between revisions of "Template:DocSubpage"

From BattleMaster Wiki
Jump to navigation Jump to search
m
m (added category)
Line 6: Line 6:
 
| style="text-align:center;" | This is a [[Template:Documentation|documentation subpage]] for the template.<br>It contains usage information, categories and other content that is not part of the original template page.
 
| style="text-align:center;" | This is a [[Template:Documentation|documentation subpage]] for the template.<br>It contains usage information, categories and other content that is not part of the original template page.
 
|}
 
|}
</center></includeonly><noinclude>{{Documentation}}</noinclude>
+
</center>[[Category:Template Documentation]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 00:56, 14 February 2009

Template-info.svg Template Documentation
This documentation is transcluded from Template:DocSubpage/doc.

ExamplesSandbox

Intro

This template should be placed on all documentation subpages of a template. It lets the users know that this page is not part of the template itself, but contains documentation for the template.

Usage

Add the following to each template documentation subpage:

<noinclude>{{DocSubpage}}</noinclude>

The <noinclude>...</noinlude> tags are only required on the /doc subpage, but can be included on any of the pages without a problem.