Template:Terminate sentence
From TechInfoDepot
Jump to navigationJump to search{{{1}}}.
This template is used on many pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at 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!
The above documentation is transcluded from Template:Terminate sentence/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. |