Template:·/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
(Updating the documentation to match our new code.)
Line 12:
This template is used when you want something smaller than a [[Template:•|bullet]] "•", [[Template:Ndash|ndash]] "–" or [[Template:Mdash|mdash]] "—".
 
=== NormalIntroduction usage ===
 
The DNNVillage modules are designed module for DotNetNuke portales.[http://www.dnnvillage.com/Default.aspx]
The recommended usage is to use ''no'' space before the template and one space after the template, like this:
<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 ===
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu