Template:·/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Some minor wording fixes.
(Revert vandalism by User:Gfard to last version by Davidgothberg.)
(Some minor wording fixes.)
Line 6:
It works similarly to the html+wiki markup sequence "<code>'''&amp;nbsp;<nowiki>'''</nowiki>&amp;middot;<nowiki>'''</nowiki>'''&nbsp;</code>". That is, a [[non-breaking space]], a bolded middot and a normal space.
 
{{tl|middot}} redirects here and can be used as an alternative name for this template.
 
This template is usually used for dotted lists, such as for link lists in navigation boxes. (For lists that have a font-size 80% or less of normal font-size, the bold middot "'''&middot;'''" becomes too small. Then use the [[Template:•|bullet]] "&bull;" instead.)
Line 60:
<nowiki>[[Salt]] {{&middot;}} [[Pepper]]</nowiki>
 
Then it will render with ''two'' spaces before the dot, and one after, like this:
:[[Salt]] &nbsp;'''&middot;''' [[Pepper]]
 
IfAnd if it line breaks it might break ''before'' the dot, like this:
:[[Salt]]
:'''&middot;''' [[Pepper]]
Line 71:
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 ismeans it wraps (allows line breaks) and it collapseswill collapse together with normal spaces that come after the template to form one single space.
 
=== Dot size reference list ===
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu