Template:Documentation/doc: Difference between revisions
(testing) |
(filled documentation) |
||
Line 1: | Line 1: | ||
<noinclude>{{Documentation subpage}}</noinclude> | |||
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}} |
Revision as of 13:43, 23 July 2023
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>