Template:·/doc: Difference between revisions
m ce |
m fx |
||
Line 5: | Line 5: | ||
This is the '''bold middot''' template, it looks like this: " '''·''' ". It works similarly to the html+wiki markup sequence [<code>'''&nbsp;<nowiki><b>&middot;</b></nowiki>''' </code>]. That is, a [[non-breaking space]], a bolded middot and a normal space. |
This is the '''bold middot''' template, it looks like this: " '''·''' ". It works similarly to the html+wiki markup sequence [<code>'''&nbsp;<nowiki><b>&middot;</b></nowiki>''' </code>]. That is, a [[non-breaking space]], a bolded middot and a normal space. |
||
This template is used when you want something smaller than a [[Template:•|bullet]] "•", [[Template:Ndash|ndash]] "–" or [[Template: |
This template is used when you want something smaller than a [[Template:•|bullet]] "•", [[Template:Ndash|ndash]] "–" or [[Template:Mdash|mdash]] "—". |
||
This template's us for dotted lists is now '''deprecated'''. use {{Tl|Flatlist}} or <code>class="hlist"</code> instead; see [[WP:HLIST]]. |
This template's us for dotted lists is now '''deprecated'''. use {{Tl|Flatlist}} or <code>class="hlist"</code> instead; see [[WP:HLIST]]. |
Revision as of 15:09, November 15, 2011
This is a documentation subpage for Template:·. It may contain usage information, categories and other content that is not part of the original template page. |
This is the bold middot template, it looks like this: " · ". It works similarly to the html+wiki markup sequence [ <b>·</b>
]. That is, a non-breaking space, a bolded middot and a normal space.
This template is used when you want something smaller than a bullet "•", ndash "–" or mdash "—".
This template's us for dotted lists is now deprecated. use {{Flatlist}} or class="hlist"
instead; see WP:HLIST.
Technical details
The space before the dot is a non-breaking space. That means it will not line break and will not collapse together with normal spaces that come before the template.
The space after the dot is a normal space. That means it wraps (allows line breaks) and it will collapse together with normal spaces that come after the template to form one single space.
Under some circumstances dotted link lists misbehave. They might get unexpected line wraps or they might expand outside the box they are enclosed in. The how-to guide Wikipedia:Line break handling explains when that happens and how to fix it.
Redirects
Dot size reference list
· | small middot |
· | middot |
· | small bold middot |
· | bold middot |
• | small bullet |
• | bullet |
• | bold bullet |
– | ndash |
— | mdash |
See also
There are several similar templates:
- Template:Tn – Bullet "•" is mostly used for dotted lists that use small font sizes.
- {{ndash}} – Ndash "–" is a short dash.
- {{mdash}} – Mdash "—" is a long dash.
- Template:Tn – For the occasional slash "/" in lists.