Template:Documentation/doc: Difference between revisions
(filled documentation) |
m (Automated Formatting) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
The {{tlx| | 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| | 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=== | ===Example=== |
Latest revision as of 14:03, 14 April 2024
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>