Template:·/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Revert vandalism by User:Gfard to last version by Davidgothberg.) |
(Some minor wording fixes.) |
||
Line 6: | Line 6: | ||
It works similarly to the html+wiki markup sequence "<code>'''&nbsp;<nowiki>'''</nowiki>&middot;<nowiki>'''</nowiki>''' </code>". That is, a [[non-breaking space]], a bolded middot and a normal space. |
It works similarly to the html+wiki markup sequence "<code>'''&nbsp;<nowiki>'''</nowiki>&middot;<nowiki>'''</nowiki>''' </code>". That is, a [[non-breaking space]], a bolded middot and a normal space. |
||
{{tl|middot}} redirects here and can be used as alternative name for this template. |
{{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 "'''·'''" becomes too small. Then use the [[Template:•|bullet]] "•" instead.) |
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 "'''·'''" becomes too small. Then use the [[Template:•|bullet]] "•" instead.) |
||
Line 60: | Line 60: | ||
<nowiki>[[Salt]] {{·}} [[Pepper]]</nowiki> |
<nowiki>[[Salt]] {{·}} [[Pepper]]</nowiki> |
||
Then it will render with two spaces before the dot, and one after, like this: |
Then it will render with ''two'' spaces before the dot, and one after, like this: |
||
:[[Salt]] '''·''' [[Pepper]] |
:[[Salt]] '''·''' [[Pepper]] |
||
And if it line breaks it might break ''before'' the dot, like this: |
|||
:[[Salt]] |
:[[Salt]] |
||
:'''·''' [[Pepper]] |
:'''·''' [[Pepper]] |
||
Line 71: | 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 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 |
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. |
||
=== Dot size reference list === |
=== Dot size reference list === |