Template:No fullstop: Difference between revisions

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
m (dont remove second full stop if there is a parameter)
m (Undo revision 73798 by Notjusttired (talk))
Line 1: Line 1:
{{No fullstop/first|{{#if:{{{1|}}}||{{No fullstop/first|{{{1|}}}}}}}}}
{{No fullstop/first|{{No fullstop/first|{{{1|}}}}}}}
<noinclude>
<noinclude>
[[Category:Translated templates]]
[[Category:Translated templates]]

Revision as of 11:55, October 10, 2019

template icon Template documentation[view] [edit] [history] [purge]

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