Template:Documentation/doc: Difference between revisions

From PZwiki
(testing)
 
m (Automated Formatting)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
The {{tlx|Documentation}} template is used to contain the documented information and instructions of a certain template from a /doc subpage.
==Usage==
==Usage==
To use this template, {{tlx|Documentation}} should be added to the template inside a <syntaxhighlight lang="html" inline><noinclude></syntaxhighlight> 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 {{tlx|Documentation subpage}} template, so it is added to the appropriate [[:Category:Template documentation|documentation category]].
===Example===
<syntaxhighlight lang="html">
<!--Last line of your template code--><noinclude>
{{Documentation}}
</noinclude>
</syntaxhighlight>
==See also==
*{{tlx|!}}
*{{tlx|Main}}
*{{tlx|Notice}}

Latest revision as of 14:03, 14 April 2024

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