Anonymous
×
Create a new article
Write your page title here:
We currently have 5 articles on The Vault @ The EERIE Files. Type your article name above or click on one of the titles below and start writing!



The Vault @ The EERIE Files

Template:Documentation

Revision as of 18:39, 21 July 2026 by GaryJJSpate (talk | contribs) (Created page with "<includeonly><div class="vault-doc-box"> <div class="vault-doc-box-header">Template documentation</div> <div class="vault-doc-box-body"> {{{1|{{{content|}}}}}} </div> </div>[[Category:{{{category|Vault Templates}}}]]</includeonly><noinclude> == Template:Documentation == Wraps a template's usage notes in a styled box, placed inside <code><nowiki><noinclude>...</noinclude></nowiki></code> at the bottom of the template's own page — same single-page pattern already used by...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Documentation

Wraps a template's usage notes in a styled box, placed inside <noinclude>...</noinclude> 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
}}

Parameters

  • param1 — required. What it controls
  • param2 — optional. What it controls

}}

Everything after the pipe — headings, prose, nested <pre> blocks, {{[[Special:MyLanguage/Template:{{{1}}}|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.