Template:·/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
no edit summary
m (sortkey)
No edit summary
Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
This is the '''bold middot''' template, it looks like this: " '''&middot;''' ".
 
It works similarly to the html+wiki markup sequence "<code>'''&amp;nbsp;<nowiki>'''&amp;middot;'''</nowiki>'''&nbsp;</code>". That is, a [[non-breaking space]], a bolded middot and a normal space.
 
{{tl|dot}} and {{tl|middot}} redirectredirects here and can be used as an alternative namesname 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.)
 
This template is used when you want something smaller than a [[Template:•|bullet]] "&bull;", [[Template:Ndash|ndash]] "&ndash;" or [[Template:Mdash|mdash]] "&mdash;".
 
=== Normal usage ===
Line 25:
 
If it line breaks then the line break will come ''after'' the dot, not before, like this:
:[[Salt]] '''&middot;'''
:[[Pepper]]
 
Line 41:
 
And if it line breaks then the line break will come ''after'' one of the dots, not before, like this:
:[[Salt]] '''&middot;''' [[Pepper]] '''&middot;'''
:[[Curry]] '''&middot;''' [[Saffron]]
 
Line 68:
 
And if it line breaks it might break ''before'' the dot, like this:
:[[Salt]]
:'''&middot;''' [[Pepper]]
 
Line 88:
| align="left" | middot
|-
| <small>'''&middot;'''</small>
| align="left" | &lt;small> bold middot
|-
Line 94:
| align="left" | bold middot
|-
| <small>&bull;</small>
| align="left" | &lt;small> bullet
|-
Line 122:
* {{tl|nowraplinks}} – Prevents wraps inside links and only allows wraps between the links and in normal text, very useful for link lists and easy to use.
* {{tl|nowrap begin}} – Prevents wraps in both text and links. For the really tricky wrapping cases when you need full control, for instance in very complex link lists.
* [[Wikipedia:Line break handling]] – The how-to guide detailing how to handle line wrapping on Wikipedia.
 
<includeonly>
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[ca:Plantilla:·]]
[[cy:Nodyn:·]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu