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. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any 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
{{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!