Difference between revisions of "Template:Substitution/doc"

From MansunWiki
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 10:35, 16 July 2015

{{#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