Template:Doc-code

To use, create a sub-page from the template called doc, put doc/start at the start of your documentation, and doc/end at the end.

Go back to your main template page and put &lt;noinclude&gt;/doc&lt;/noinclude&gt; on a newline after the end of the template.

If your main template page has floating content and you would like to stop it going over the documentation, put clear instead of doc/start on your documentation page.