ဝီကီပီးဒီးယား template From Wikipedia, the free encyclopedia
/
To maintain good linewrapping, there should be no space between the template and whatever precedes it. There's also no need to include a space after the template, although doing so should not affect its function.
[[Salt]]{{\}}[[Black pepper|Pepper]]
...produces... Salt / PepperIf linewrapping (i.e. a line-break) is required, the template ensures it occurs after the slash, not before:
For long slashed lists, each list item can be put on its own line with no spaces between each item and the template, like this:
[[Salt]]{{\}} [[Black pepper|Pepper]]{{\}} [[Curry]]{{\}} [[Saffron]]
(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 slashes, like this:
Also, if it line breaks, then the line break will come after one of the slashes, not before, like this:
If the template is used slightly wrong, it will, in some cases, still behave well. For instance, if there are zero or several spaces after the template, like these examples:
[[Salt]]{{\}}[[Black pepper|Pepper]] [[Salt]]{{\}} [[Black pepper|Pepper]]
Both of them will render exactly as before, with just one space on each side of the slash, like this:
And it will still only line break after the slash, like this:
However, putting one or more spaces before the template will cause problems, like these examples:
[[Salt]] {{\}}[[Black pepper|Pepper]] [[Salt]] {{\}}[[Black pepper|Pepper]] [[Salt]] {{\}} [[Black pepper|Pepper]] [[Salt]] {{\}} [[Black pepper|Pepper]]
Then, it will render with two spaces before the slash and one after, like this:
Also, if it line breaks, it might break before the slash, like this:
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.