Template:Documentation

From Irony Wiki
Revision as of 01:50, 11 July 2021 by Saucy (talk | contribs) (fixing tables of contents)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation

This is the preferred method for including documentation for a template.

Usage[edit source]

This should only be used on pages in the Template namespace. It should not be used in any articles.

Add the following to the end of a template to transclude documentation for it:

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

After adding this, you can press the edit button at the top of the green box to edit the contents of the documentation.

Keeping the documentation separate from the template itself has a few benefits, like easier organization and putting less strain on the server when the documentation is edited.

TemplateData[edit source]

This is the preferred method for including documentation for a template. This is only meant for pages in the Template namespace; it is NOT meant for use in articles.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified