Template:·/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (sortkey)
No edit summary
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
__NOTOC__
This is the '''bold middot''' template, it looks like this: " '''&middot;''' ".
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.
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}} redirect here and can be used as alternative names for this template.
{{tl|dot}} 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.)
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;".
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 ===
=== Normal usage ===
Line 25: Line 25:


If it line breaks then the line break will come ''after'' the dot, not before, like this:
If it line breaks then the line break will come ''after'' the dot, not before, like this:
:[[Salt]] '''&middot;'''
:[[Salt]] '''&middot;'''
:[[Pepper]]
:[[Pepper]]


Line 41: Line 41:


And if it line breaks then the line break will come ''after'' one of the dots, not before, like this:
And if it line breaks then the line break will come ''after'' one of the dots, not before, like this:
:[[Salt]] '''&middot;''' [[Pepper]] '''&middot;'''
:[[Salt]] '''&middot;''' [[Pepper]] '''&middot;'''
:[[Curry]] '''&middot;''' [[Saffron]]
:[[Curry]] '''&middot;''' [[Saffron]]


Line 68: Line 68:


And if it line breaks it might break ''before'' the dot, like this:
And if it line breaks it might break ''before'' the dot, like this:
:[[Salt]]
:[[Salt]]
:'''&middot;''' [[Pepper]]
:'''&middot;''' [[Pepper]]


Line 88: Line 88:
| align="left" | middot
| align="left" | middot
|-
|-
| <small>'''&middot;'''</small>
| <small>'''&middot;'''</small>
| align="left" | &lt;small> bold middot
| align="left" | &lt;small> bold middot
|-
|-
Line 94: Line 94:
| align="left" | bold middot
| align="left" | bold middot
|-
|-
| <small>&bull;</small>
| <small>&bull;</small>
| align="left" | &lt;small> bullet
| align="left" | &lt;small> bullet
|-
|-
Line 122: 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|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.
* {{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.
* [[Wikipedia:Line break handling]] – The how-to guide detailing how to handle line wrapping on Wikipedia.


<includeonly>
<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:·]]
[[ca:Plantilla:·]]
[[cy:Nodyn:·]]
[[cy:Nodyn:·]]