Template:·/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (copyedit)
Line 7: Line 7:
This template is used when you want something smaller than a [[Template:•|bullet]] "•", [[Template:Ndash|ndash]] "–" or [[Template:Mdash|mdash]] "—".
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 use for dotted lists is now '''deprecated'''. Use {{Tl|Flatlist}} or <code>class="hlist"</code> instead; see [[WP:HLIST]].


== Technical details ==
== Technical details ==

Revision as of 23:02, 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 use 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 sizes

Template:Dot size

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.