Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
en>Bsherr (consistent with new substitution template format) |
(Created page with "Used to create documentation for templates ==Usage== There are two ways to use this template. 1. Add to the bottom of your template: <pre><nowiki><noinclude>{{doc}}<noinclude></nowiki></pre> Then click on the "Create" link to get started with your documentation. 2. Include the documentation directly in the template (not preferred method): <pre><nowiki><noinclude>{{doc|text= Documentation text ==Usage== How to use the template, etc. }}<noinclude></nowiki></pre> <noi...") |
||
Line 1: | Line 1: | ||
Used to create documentation for templates | |||
< | |||
</noinclude> | ==Usage== | ||
There are two ways to use this template. | |||
1. Add to the bottom of your template: | |||
<pre><nowiki><noinclude>{{doc}}<noinclude></nowiki></pre> | |||
Then click on the "Create" link to get started with your documentation. | |||
2. Include the documentation directly in the template (not preferred method): | |||
<pre><nowiki><noinclude>{{doc|text= | |||
Documentation text | |||
==Usage== | |||
How to use the template, etc. | |||
}}<noinclude></nowiki></pre> | |||
<noinclude>[[Category:Documentation templates]]</noinclude> |
Revision as of 20:08, 30 June 2022
Used to create documentation for templates
Usage
There are two ways to use this template.
1. Add to the bottom of your template:
<noinclude>{{doc}}<noinclude>
Then click on the "Create" link to get started with your documentation.
2. Include the documentation directly in the template (not preferred method):
<noinclude>{{doc|text= Documentation text ==Usage== How to use the template, etc. }}<noinclude>