Help:Template documentation
Appearance
In MediaWiki, documentation should be provided for end-users that use the template. It is recommended that documentation should appear in a subpage, to separate the template code, and potentially protect the template from any changes. See Wikipedia:Template doc page pattern how this can be done.