Template:Documentation/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
< | <pre><nowiki> | ||
...template code...<noinclude>{{documentation}}</noinclude> | |||
</nowiki></ | </nowiki></pre> | ||
One should be careful to ''not'' add whitespace between the template code and the <code><nowiki>{{documentation}}</nowiki></code> tag, or it can insert an extraneous space whenever the template is used, which may not be desirable in some cases.. | |||
Latest revision as of 14:37, 20 September 2020
Purpose
[edit]This is a template to document templates.
Usage
[edit]...template code...<noinclude>{{documentation}}</noinclude>
One should be careful to not add whitespace between the template code and the {{documentation}} tag, or it can insert an extraneous space whenever the template is used, which may not be desirable in some cases..