Template:Terminate sentence/doc: Difference between revisions
Template page
More actions
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..." |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{Lua|Module:Text}} | {{Lua|Module:Text}} | ||
This template returns its first argument, after adding a full stop (or its second argument) if the sentence was not finished. | This template returns its first argument, after adding a full stop (or its second argument) if the sentence was not finished. | ||
| Line 13: | Line 12: | ||
{{uncategorized}} | {{uncategorized}} | ||
}}</includeonly> | }}</includeonly> | ||
[[Category:Pages using the JsonConfig extension|Terminate sentence/doc]] | |||
[[Category:Template documentation pages|Terminate sentence/doc]] | |||
Latest revision as of 01:45, 7 June 2025
| 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. |
| 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!