Template:·/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
Updating the documentation to match our new code. |
|||
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 == |
|||
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]]{{·}} [[Pepper]]</nowiki> |
|||
It will render one space on each side of the dot, like this: |
|||
:[[Salt]] '''·''' [[Pepper]] |
|||
If it line breaks then the line break will come ''after'' the dot, not before, like this: |
|||
:[[Salt]] '''·''' |
|||
:[[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]]{{·}} |
|||
[[Pepper]]{{·}} |
|||
[[Curry]]{{·}} |
|||
[[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]] '''·''' [[Pepper]] '''·''' [[Curry]] '''·''' [[Saffron]] |
|||
And if it line breaks then the line break will come ''after'' one of the dots, not before, like this: |
|||
:[[Salt]] '''·''' [[Pepper]] '''·''' |
|||
:[[Curry]] '''·''' [[Saffron]] |
|||
=== Incorrect usage === |
=== Incorrect usage === |