Difference between revisions of "Template:Ellipsis/doc"

From Nynorn
Jump to navigation Jump to search
Line 20: Line 20:
 
:It is a worse disgrace. {{...}}" her full rage burst out at last, "{{...}} a worse disgrace than the hospitals at Scutari."
 
:It is a worse disgrace. {{...}}" her full rage burst out at last, "{{...}} a worse disgrace than the hospitals at Scutari."
  
=== Multiple dots ===
+
== Multiple dots ==
 
Use the first parameter to control the number of dots.
 
Use the first parameter to control the number of dots.
  
Line 30: Line 30:
 
will render as:
 
will render as:
 
:Dots are believed by many writers of our day to be a good substitute for effective writing. They are certainly an easy one. Let us have a few more{{...|6}}
 
:Dots are believed by many writers of our day to be a good substitute for effective writing. They are certainly an easy one. Let us have a few more{{...|6}}
 +
 +
== Different characters ==
 +
If a different symbol is used instead of the period ("."), add a second parameter to change the symbol. If the first parameter is left empty, it defaults to 1.
 +
 +
'''Example:'''
 +
<pre>
 +
Some writers use asterisks {{...|3|*}} in their ellipses instead of periods.
 +
</pre>
 +
will render as:
 +
:Some writers use asterisks {{...|3|*}} in their ellipses instead of periods.
  
 
<!-- uncomment as necessary
 
<!-- uncomment as necessary
=== See also ===
+
== See also ==
 
-->
 
-->
  

Revision as of 20:02, 31 January 2018

Template:Mbox

Usage

The existence of this template has not been discussed, and the consequences have not been examined, usage is not recommended. Please use an ellipsis (&hellip; ) preferentially unless there is a stylistic reason to not do so.

The intention is replace an ellipsis with single, non-breaking spaces between the ellipsis marks.

The following shortcuts have been created:

{{...}} The keyboard characters for full stops/periods, unspaced
{{. . .}} The keyboard characters for full stops/periods, with single spaces
{{}} The ellipsis glyph

Example:

It is a worse disgrace. {{...}}" her full rage burst out at last, "{{...}} a worse disgrace than the hospitals at Scutari."

will render as:

It is a worse disgrace. . . ." her full rage burst out at last, ". . . a worse disgrace than the hospitals at Scutari."

Multiple dots

Use the first parameter to control the number of dots.

Example:

Dots are believed by many writers of our day to be a good substitute for effective writing. They are certainly an easy one. Let us have a few more{{...|6}}

will render as:

Dots are believed by many writers of our day to be a good substitute for effective writing. They are certainly an easy one. Let us have a few more. . .

Different characters

If a different symbol is used instead of the period ("."), add a second parameter to change the symbol. If the first parameter is left empty, it defaults to 1.

Example:

Some writers use asterisks {{...|3|*}} in their ellipses instead of periods.

will render as:

Some writers use asterisks . . . in their ellipses instead of periods.