Template:·/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (ce)
m (fx)
Line 5: Line 5:
This is the '''bold middot''' template, it looks like this: " '''&middot;''' ". It works similarly to the html+wiki markup sequence [<code>'''&amp;nbsp;<nowiki><b>&amp;middot;</b></nowiki>'''&nbsp;</code>]. That is, a [[non-breaking space]], a bolded middot and a normal space.
This is the '''bold middot''' template, it looks like this: " '''&middot;''' ". It works similarly to the html+wiki markup sequence [<code>'''&amp;nbsp;<nowiki><b>&amp;middot;</b></nowiki>'''&nbsp;</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]] "&bull;", [[Template:Ndash|ndash]] "&ndash;" or [[Template:Mda
This template is used when you want something smaller than a [[Template:•|bullet]] "&bull;", [[Template:Ndash|ndash]] "&ndash;" or [[Template:Mdash|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 the bold middot template, it looks like this: " · ". It works similarly to the html+wiki markup sequence [&nbsp;<b>&middot;</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.