Template:Omission/doc: Difference between revisions
Template page
More actions
Created page with "<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Template shortcut|Omission|om}} {{Documentation subpage}} This template provides the string "<samp>...</samp>" (or alternatively "<samp>[...]</samp>") marked up as an abbreviation, with a mouse-over tooltip provided text omitted from a quote. == Usage == Example:<br /> <code>Lorem ipsum <nowiki>{{om|dolor sit amet,}}</nowiki> consectetu..." |
(No difference)
|
Latest revision as of 20:48, 23 February 2025
This is a documentation subpage for Template:Omission. It may contain usage information, categories and other content that is not part of the original template page. |
This template provides the string "..." (or alternatively "[...]") marked up as an abbreviation, with a mouse-over tooltip provided text omitted from a quote.
Usage
Example:
Lorem ipsum {{om|dolor sit amet,}} consectetur adipiscing elit.
gives:
Lorem ipsum ... consectetur adipiscing elit.
Example:
Lorem ipsum {{om|sub=dolor|dolor sit amet,}} consectetur adipiscing elit.
gives:
Lorem ipsum [dolor] consectetur adipiscing elit.
Parameters
|br=yes
(for brackets).|sub=text
(optional) omission text i.e. [this]
Source
Code and documentation borrowed from {{aka}}.