Template:No fullstop: Difference between revisions
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Notjusttired (talk | contribs) m (Undo revision 73798 by Notjusttired (talk)) |
Notjusttired (talk | contribs) m (use second parameter) |
||
Line 1: | Line 1: | ||
{{No fullstop/first|{{No fullstop/first|{{{1|}}}}}}} | {{#if:{{{2}}}|{{No fullstop/first|{{{1|}}}|{{No fullstop/first|{{{1|}}}}}}} | ||
}} | |||
<noinclude> | <noinclude> | ||
[[Category:Translated templates]] | [[Category:Translated templates]] |
Revision as of 22:10, October 10, 2019
Strips any trailing full stops from a string, using the current user's language and {{Full stop}} to find the full stop symbol. Strips a maximum of two trailing full stops.
Examples
{{No fullstop|This has no trailing full stop}}
- This has no trailing full stop
{{No fullstop|This has one trailing full stop.}}
- This has one trailing full stop
{{No fullstop|This has two trailing full stops..}}
- This has two trailing full stops.
{{No fullstop|This has two trailing full stops but I want one..|1}}
- This has two trailing full stops but I want one.
{{No fullstop|This has one trailing full stop and I want one.|1}}
- This has one trailing full stop and I want one
See also
The above documentation is transcluded from Template:No fullstop/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |