Template:Substitution/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Meteor sandwich yum
→‎See also: create & add; distinguish
meta>Paine Ellsworth
→‎Example: clarify
Line 12: Line 12:


==Example==
==Example==
<code><nowiki>{{Substitution|only|if...}}</nowiki></code>
<code><nowiki>{{Substitution|only|if temperatures fall and it starts to snow}}</nowiki></code>


produces:
produces:


{{Substitution|only|if...}}
{{Substitution|only|if temperatures fall and it starts to snow}}
 
(Note that a full stop (a period) should '''''not''''' be included at the end. The template will include it for you.)


==See also==
==See also==

Revision as of 07:52, 2 October 2014

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