Template:Substitution/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Paine Ellsworth
→‎Example: clarify
meta>Yamaha5
No edit summary
Line 26: Line 26:
<includeonly>
<includeonly>
[[Category:Template namespace templates]]
[[Category:Template namespace templates]]
[[fa:الگو:Substitution]]
</includeonly>
</includeonly>

Revision as of 17:03, 10 September 2015

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