Difference between revisions of "Template:Substitution"

From MansunWiki
Jump to: navigation, search
(Created page with "{{Ombox | type = notice | text = {{#if:{{{2|}}}||{{pad|5em}}}}This template should {{big|'''{{{1}}}'''}} be substituted{{#if:{{{2|}}}| {{{2}}}}}...")
 
(No difference)

Latest revision as of 10:34, 16 July 2015

[view] [edit] [history] [purge] Template-info.svg Template Documentation

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