Template:Substitution/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Geekdiva
→‎Example: Clarified the note that you should not include a period to say to not include any ending punctuation because the template adds a period/full stop. Added more varied examples with sub-subheads.
meta>Geekdiva
m →‎Parameters: no word between → no additional word between
Line 7: Line 7:


===Parameters===
===Parameters===
The first parameter inserts a word that you choose in between "should" and "be", such as "always" or "never." To have no word between "should" and "be", insert a space.
The first parameter inserts a word that you choose in between "should" and "be", such as "always" or "never." To have no additional word between "should" and "be", insert a space.


The second parameter is optional. It adds text to the end of the sentence. Note that you should '''''not''''' include punctuation at the end. The template will always include a full stop (a period) at the end for you.
The second parameter is optional. It adds text to the end of the sentence. Note that you should '''''not''''' include punctuation at the end. The template will always include a full stop (a period) at the end for you.

Revision as of 06:30, 8 February 2016

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 that you choose in between "should" and "be", such as "always" or "never." To have no additional word between "should" and "be", insert a space.

The second parameter is optional. It adds text to the end of the sentence. Note that you should not include punctuation at the end. The template will always include a full stop (a period) at the end for you.

Examples

With a word and no additional text

{{Substitution|not}}

produces:

With a word and additional text

{{Substitution|only|if temperatures fall and it starts to snow}}

produces:


With no word and additional text

Note the space in the first parameter.

{{Substitution| |if you wish to ensure your emoji's image remains the same even if its template's image is changed}}

produces:

See also