Template:Substitution/doc

From MansunWiki
Revision as of 10:35, 16 July 2015 by DarkMavis (Talk | contribs) (Created page with "{{Distinguish|Template:Subst|Template:Substituted}} {{Documentation subpage}} {{Substitution|not}} ==Usage== Add this message box to a template's documentation to briefly exp...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#invoke:Hatnote|hatnote}}

Usage

Add this message box to a template's documentation to briefly explain the rules of substitution for the template.

Parameters

The first parameter inserts a word between "should" and "be", e.g. "always", "never" etc. To have no word instead, insert a space.

The second parameter is optional. It adds text to the end of the sentence.

Example

{{Substitution|only|if temperatures fall and it starts to snow}}

produces:

(Note that a full stop (a period) should not be included at the end. The template will include it for you.)

See also