Template:Terminate sentence/doc
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template returns its first argument, after adding a full stop (or its second argument) if the sentence was not finished.
Usage[edit]
{{Terminate sentence|The rain in Spain}}
→ The rain in Spain{{Terminate sentence|falls mainly on the plain.}}
→ falls mainly on the plain.{{Terminate sentence|BANG|!}}
→ BANG