Template:Terminate sentence/doc

< Template:Terminate sentence
Revision as of 12:08, 16 November 2024 by Muskit Gergous (talk | contribs) (Created page with "{{Documentation subpage}} {{High-use}} {{Lua|Module:Text}} This template returns its first argument, after adding a full stop (or its second argument) if the sentence was not finished. == Usage == * {{#invoke:DemoTemplate|{{BASEPAGENAME}}|The rain in Spain}} * {{#invoke:DemoTemplate|{{BASEPAGENAME}}|falls mainly on the plain.}} * {{#invoke:DemoTemplate|{{BASEPAGENAME}}|BANG|!}} <includeonly>{{sandbox other|| <!-- Categories below this line --> {{uncategorized}} }}</inc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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!