Template:·/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Line 42:
:[[Curry]] '''·''' [[Saffron]]
 
===IncorrectUsage usageissues===
But puttingPutting one or more spaces before the template will cause problemsit to render differently, like these examples:
If the template is used slightly wrongly, it will in some cases still behave well. For instance if there are no or several spaces after the template. Like these examples:
 
<nowiki>[[Salt]]{{&middot;}}[[Pepper]]</nowiki>
<nowiki>[[Salt]]{{&middot;}} [[Pepper]]</nowiki>
 
Both of them will render exactly as before, with just one space on each side of the dot, like this:
:[[Salt]] '''&middot;''' [[Pepper]]
 
And it will still only line break ''after'' the dot, like this:
:[[Salt]] '''&middot;'''
:[[Pepper]]
 
But putting one or more spaces before the template will cause problems, like these examples:
<nowiki>[[Salt]] {{&middot;}}[[Pepper]]</nowiki>
<nowiki>[[Salt]] {{&middot;}}[[Pepper]]</nowiki>
Line 67 ⟶ 55:
:[[Salt]]
:'''&middot;''' [[Pepper]]
 
<nowiki>Insert non-formatted text here</nowiki>
 
Alternatively an &amp;nbsp; can be added before and after the template to create extra padding around the middot.
 
=== Technical details ===
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu