Template:Documentation/doc: Difference between revisions

From PZwiki
m (minor)
m (remove '<noinclude>' from Documentation subpage.)
Line 1: Line 1:
<noinclude>{{Documentation subpage}}</noinclude>
{{Documentation subpage}}
The {{tlx|Documentation}} template is used to contain the documented information and instructions of a certain template from a /doc subpage.  
The {{tlx|Documentation}} template is used to contain the documented information and instructions of a certain template from a /doc subpage.  



Revision as of 04:52, 28 November 2023

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

The {{Documentation}} template is used to contain the documented information and instructions of a certain template from a /doc subpage.

Usage

To use this template, {{Documentation}} should be added to the template inside a <noinclude> tag, so the documentation isn't transcluded along with the template. Then add the documentation to the /doc page, and it will be added to the template. The documentation page should include the {{Documentation subpage}} template, so it is added to the appropriate documentation category.

Example

<!--Last line of your template code--><noinclude>
{{Documentation}}
</noinclude>

See also