Template:Documentation: Difference between revisions
m (hopeful fix for RecipeLookup/doc displaying) |
mNo edit summary |
||
Line 12: | Line 12: | ||
-->| | -->| | ||
{{: | {{:{{FULLPAGENAME}}/doc}}<!-- | ||
-->| '''This template doesn't have any documentation yet!''' Help out by <span class="plainlinks">[{{fullurl:{{ #if: {{{1|}}} | {{ urlencode: {{{1}}} }} | {{FULLPAGENAMEE}}/doc }}|action=edit&preload=Template:Documentation/preload}} writing some]</span>.<!-- | -->| '''This template doesn't have any documentation yet!''' Help out by <span class="plainlinks">[{{fullurl:{{ #if: {{{1|}}} | {{ urlencode: {{{1}}} }} | {{FULLPAGENAMEE}}/doc }}|action=edit&preload=Template:Documentation/preload}} writing some]</span>.<!-- |
Revision as of 14:14, 12 March 2021
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
Documentation transcluded from Template:Documentation/doc.
Editors can experiment in this template's sandbox (create)
Editors can experiment in this template's sandbox (create)