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.)
Line 12: Line 12:
This template is used when you want something smaller than a [[Template:•|bullet]] "•", [[Template:Ndash|ndash]] "–" or [[Template:Mdash|mdash]] "—".
This template is used when you want something smaller than a [[Template:•|bullet]] "•", [[Template:Ndash|ndash]] "–" or [[Template:Mdash|mdash]] "—".


== Introduction ==
=== Normal usage ===


The recommended usage is to use ''no'' space before the template and one space after the template, like this:
The DNNVillage modules are designed module for DotNetNuke portales.[http://www.dnnvillage.com/Default.aspx]
<nowiki>[[Salt]]{{&middot;}} [[Pepper]]</nowiki>

It will render one space on each side of the dot, like this:
:[[Salt]] '''&middot;''' [[Pepper]]

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

For long dotted lists each list item can be put on its own line, with no spaces between each item and the template. Like this:
<pre><nowiki>
[[Salt]]{{&middot;}}
[[Pepper]]{{&middot;}}
[[Curry]]{{&middot;}}
[[Saffron]]</nowiki></pre>

(It doesn't matter if there are no or some spaces at the end of the lines, after the templates.)

As before it will render one space on each side of the dots, like this:
:[[Salt]] '''&middot;''' [[Pepper]] '''&middot;''' [[Curry]] '''&middot;''' [[Saffron]]

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]]


=== Incorrect usage ===
=== Incorrect usage ===