{{
Template documentation
</nowiki> at the bottom of the template's own page — same single-page pattern already used by {{CategoryInfobox}} and the others, just standardised instead of freehand wikitext each time.
Usage:
<noinclude>
{{Documentation|
== Template:ExampleTemplate ==
One-line description of what the template renders and where it goes.
'''Usage:'''
<pre>
{{ExampleTemplate
|param1=value
|param2=value
}}
</pre>
=== Parameters ===
* '''param1''' — required. What it controls
* '''param2''' — optional. What it controls
}}
</noinclude>
Everything after the pipe — headings, prose, nested <pre> blocks, {{[[Special:MyLanguage/Template:{{{1}}}|Template:{{{1}}}]]}} links — is just ordinary wikitext and gets dropped straight into the box.
Parameters
- 1 (unnamed) or content — the documentation body itself
- category — optional. Overrides the default filing category, if a template shouldn't sit in Vault Templates for some reason
Auto-adds [[Category:Vault Templates]] (or your override) — no need to tag it separately at the bottom of the template page anymore.
</noinclude>