Template:Terminate sentence/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Terminate sentence. It contains 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. |
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!