Template:Substitution/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Hatnote|hatnote}} {{#invoke:Message box|mbox}} {{#invoke:Message box|ombox}}

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...}}

produces:

{{#invoke:Message box|ombox}}