Template:Doc-begin/doc

From I2P Wiki
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>