Template:·/doc: Difference between revisions

From TestWiki
Content added Content deleted
(Created page with "__NOTOC__ This is the '''bold middot''' template, which produces: " '''·''' ". It works similarly to the html+wiki markup sequence [<code>'''&nbsp;<nowiki>'''&middot...")
 
No edit summary
 
Line 1: Line 1:
__NOTOC__
__NOTOC__


This is the '''bold middot''' template, which produces: " '''·''' ". It works similarly to the html+wiki markup sequence [<code>'''&amp;nbsp;<nowiki>'''&amp;middot;'''</nowiki>'''&nbsp;</code>]. That is, a [[wp:non-breaking space|non-breaking space]], a bolded middot and a normal space.
This is the '''bold middot''' template, which produces: " '''·''' ". It works similarly to the html+wiki markup sequence [<code>'''&amp;nbsp;<nowiki>'''&amp;middot;'''</nowiki>'''&nbsp;</code>]. That is, a [[w:non-breaking space|non-breaking space]], a bolded middot and a normal space.
{| class="wikitable"
{| class="wikitable"
| style="text-align: center;" |Here's an example of how it's used
| style="text-align: center;" |Here's an example of how it's used
Line 9: Line 9:


== Technical details ==
== Technical details ==
The space before the dot is a [[wp: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 before the dot is a [[w: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.

Latest revision as of 22:53, 4 April 2017


This is the bold middot template, which produces: " · ". It works similarly to the html+wiki markup sequence [&nbsp;'''&middot;''' ]. That is, a non-breaking space, a bolded middot and a normal space.

Here's an example of how it's used

Normally, in a real box these items would be links, but this is an example.

Item1 ··· Item2 · Item3 · Item4 · Item5 · extra item ········· item that won't attach to prior line unless it fits in the remaining space · · A slightly longer item · KK · An obviously really even longer item that the dash will hang at its end · Item6 ·· Item7 · Item8 · Item9 · Item10 · Item11 · Item12 ·· Item13 · Item14 · Item15 · Item16 · Item17 · Item18

The space on the end makes sure the dot doesn't touch the edge of the box, either

Technical details[edit]

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.

Parameters[edit]

Display a bold spaced middle dot (smaller than bullet)

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

Redirects[edit]