FANDOM


Template Documentation (Edit)

Overview

This template adds documentation to another template from another page. Moving the documentation to another page improves performance.

Usage

<noinclude>{{documentation}}</noinclude>

On the Template page

Template code<includeonly>Any categories to be inserted into articles by the template</includeonly><noinclude>{{documentation}}</noinclude>

Note that, depending on the template, you may need to add a clear or complete a table/div just before {{documentation}} is inserted (within the noinclude tags).

The line break is also useful as it helps prevent the documentation template "running into" previous code.

On the Template/doc page

Documentation followed by <noinclude>[[Category:Template documentation]]</noinclude>
Template Documentation (Edit)

Overview

This template adds documentation to another template from another page. Moving the documentation to another page improves performance.

Usage

<noinclude>{{documentation}}</noinclude>

On the Template page

Template code<includeonly>Any categories to be inserted into articles by the template</includeonly><noinclude>{{documentation}}</noinclude>

Note that, depending on the template, you may need to add a clear or complete a table/div just before {{documentation}} is inserted (within the noinclude tags).

The line break is also useful as it helps prevent the documentation template "running into" previous code.

On the Template/doc page

Documentation followed by <noinclude>[[Category:Template documentation]]</noinclude>

Community content is available under CC-BY-SA unless otherwise noted.