Template:·/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (copyedit)
No edit summary
Line 28: Line 28:


* {{tn|•}} – Bullet "•" is mostly used for dotted lists that use small font sizes.
* {{tn|•}} – Bullet "•" is mostly used for dotted lists that use small font sizes.
* {{tl|mid-dot}} – middot without the bold.
* {{tl|ndash}} – Ndash "–" is a short dash.
* {{tl|ndash}} – Ndash "–" is a short dash.
* {{tl|mdash}} – Mdash "—" is a long dash.
* {{tl|mdash}} – Mdash "—" is a long dash.

Revision as of 22:29, January 22, 2012

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.
  • {{mid-dot}} – middot without the bold.
  • {{ndash}} – Ndash "–" is a short dash.
  • {{mdash}} – Mdash "—" is a long dash.
  • Template:Tn – For the occasional slash "/" in lists.