Template:Doc-begin/doc

From I2P Wiki
< Template:Doc-begin
Revision as of 11:41, 8 November 2020 by Hello (talk | contribs) (documenttation subpage is created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The templates {{doc-begin}} and {{doc-end}} are used to write the documentation for some template in the code of that template itself. However, it is better to place the documentation for some template on its doc subpage and include it with the template {{doc}}.

Usage

Write at the end of the template to be documented:

<noinclude>{{doc-begin}}The documentation you want to write.{{doc-end}}
[[Category:Category name]]</noinclude>