|
|
Line 8: |
Line 8: |
| This is the '''mdash''' template, it looks like this " — ". | | This is the '''mdash''' template, it looks like this " — ". |
|
| |
|
| It works similarly to the html markup sequence "<code>'''&nbsp;&mdash;''' </code>". That is, a [[non-breaking space]], a long dash (known as an [[Dash#Em dash|em dash]]) and a normal space. | | It works similarly to the html markup sequence "<code>'''&nbsp;&mdash;''' </code>". That is, a [[non-breaking space]], a long dash (known as an [[Dash#Em dash|em dash]]) and a normal space. |
|
| |
|
| {{tl|—}} and {{tl|emdash}} redirect here and can be used as alternative names for this template. | | {{tl|—}} and {{tl|emdash}} redirect here and can be used as alternative names for this template. |
Line 65: |
Line 65: |
|
| |
|
| Then it will render with ''two'' spaces before the dash, and one after, like this: | | Then it will render with ''two'' spaces before the dash, and one after, like this: |
| :[[Salt]] — [[Pepper]] | | :[[Salt]] — [[Pepper]] |
|
| |
|
| And if it line breaks it might break ''before'' the dash, like this: | | And if it line breaks it might break ''before'' the dash, like this: |
| :[[Salt]] | | :[[Salt]] |
| : — [[Pepper]] | | : — [[Pepper]] |
|
| |
|
| === Technical details === | | === Technical details === |