Difference between revisions of "Template:Documentation/doc"
Jump to navigation
Jump to search
(Created page with "Test.") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | == Purpose == | |
| + | This is a template to document templates. | ||
| + | |||
| + | == Usage == | ||
| + | <pre><nowiki> | ||
| + | ...template code...<noinclude>{{documentation}}</noinclude> | ||
| + | </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..