Template:No fullstop: Difference between revisions
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Notjusttired (talk | contribs) m (use second parameter) |
Notjusttired (talk | contribs) m (cat) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{2}}}|{{No fullstop/first|{{{1|}}}|{{No fullstop/first|{{{1|}}}}}}} | {{#if:{{{2}}}|{{No fullstop/first|{{{1|}}}|{{No fullstop/first|{{{1|}}}}}}} | ||
}} | }}<noinclude> | ||
<noinclude> | |||
[[Category:Translated templates]] | [[Category:Translated templates]] | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
[[Category:String manipulation templates]] | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:00, October 27, 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[edit source]
{{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[edit source]
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. |