Template:Bullet/doc: Difference between revisions
Created page with "<noinclude>{{documentation subpage}}</noinclude> __NOTOC__ This is the '''bullet''' template, it looks like this: " • ". It works similarly to the html+wiki markup sequen..." |
m Add link to Template:Middot |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{documentation subpage}}</noinclude> | <noinclude>{{documentation subpage}}</noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
This is the '''bullet''' template, it looks like this: " • ". It works similarly to the html+wiki markup sequence ['''<code>&nbsp;<nowiki>&bull;</nowiki> </code>''']. That is, a [[ | This is the '''bullet''' template, it looks like this: " • ". It works similarly to the html+wiki markup sequence ['''<code>&nbsp;<nowiki>&bull;</nowiki> </code>''']. That is, a [[wikipedia:non-breaking space|non-breaking space]], a bullet and a normal space. | ||
{{see also|Template:Middot}} | |||
== Technical details == | == Technical details == | ||
The space before the dot is a [[ | The space before the dot is a [[wikipedia:non-breaking space|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. | 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 [[ | 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:Wikipedia:Line break handling|Wikipedia:Line break handling]] explains when that happens and how to fix it. | ||
< | <includeonly> | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</ | </includeonly> | ||
Latest revision as of 07:13, 8 August 2024
This is the bullet template, it looks like this: " • ". It works similarly to the html+wiki markup sequence [ • ]. That is, a non-breaking space, a bullet and a normal space.
- See also: Template:Middot
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.