Difference between revisions of "Template:Long dash"
Jump to navigation
Jump to search
imported>SMcCandlish (Overlapping the text like that looks horrid in at least Firefox under Mac OS X; and a 3-em dash is by definition exactly the width of three em-dashes, not three ems shortened by .25em each.) |
imported>Justlettersandnumbers (that doesn't work – looks exactly the same in Firefox as it does in Safari: ——— (see talk)) |
||
| Line 1: | Line 1: | ||
| − | <span style="letter-spacing: | + | <span style="letter-spacing:-.25em;">———</span> <noinclude> |
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 20:26, 16 March 2012
———
The long dash template produces a 3-em dash, which looks like this: " ——— ". It is intended for use in bibliographies where there is more than one title by the same author, to avoid repetition of the author's name.
Use
To use, replace the author's name with:
{{long dash}}
Synonyms: {{longdash}}, {{---}}
Example
This mark-up:
* Cook, Nicholas. ''A Guide to Musical Analysis''. Oxford University Press, 1987.
* {{long dash}} ''Music: A Very Short Introduction''. Oxford University Press, 1998.
* {{long dash}} and Mark Everist (eds). ''Rethinking Music''. Oxford University Press, 1999.
gives this:
- Cook, Nicholas. A Guide to Musical Analysis. Oxford University Press, 1987.
- ——— Music: A Very Short Introduction. Oxford University Press, 1998.
- ——— and Mark Everist (eds). Rethinking Music. Oxford University Press, 1999.
which avoids the repetitions of:
- Cook, Nicholas. A Guide to Musical Analysis. Oxford University Press, 1987.
- Cook, Nicholas. Music: A Very Short Introduction. Oxford University Press, 1998.
- Cook, Nicholas, and Mark Everist (eds). Rethinking Music. Oxford University Press, 1999.
See also
For other types of dash, see:
| Code | Name | Display | Explanation |
|---|---|---|---|
− orthe "−" character in the "Insert" edit box tool |
Minus | − | A mathematical operation symbol (display varies depending on font) |
{{ndash}} or– orthe "–" character in the "Insert" edit box tool |
En dash | – | A short dash (typically half the width of an em dash) |
{{mdash}} or— orthe "—" character in the "Insert" edit box tool |
Em dash | — | A long dash (one em wide, typically equivalent to the height of the font size) |
- |
Hyphen | - | The hyphen character on most keyboards, used to hyphenate compound words (display varies depending on font) |
For guidance on usage of the various kinds of dash, see:
- WP:Manual of Style#Dashes (or MOS:DASH for short)
- Dash#Types of dash
| The above documentation is transcluded from Template:Long dash/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |