Jump to content

Template:Terminate sentence/doc: Difference between revisions

From ARC Technical Repository
it seems that this template does this sort of action, so categorising here
 
m 1 revision imported
 
(No difference)

Latest revision as of 08:21, 24 April 2026

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if:|
         |{{#ifexist:Template:Terminate sentence
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

This template returns its first argument, after adding a full stop (or its second argument) if the sentence was not finished.

Usage[edit source]

  • {{Terminate sentence|The rain in Spain}} → The rain in Spain{{#if:||.}}
  • {{Terminate sentence|falls mainly on the plain.}} → falls mainly on the plain.{{#if:1||.}}
  • {{Terminate sentence|BANG|!}} → BANG{{#if:||!}}