ଛାଞ୍ଚ:Letter-spacing
Appearance
Documentation
[ସମ୍ପାଦନା]This template simplifies formatting text that has letter-spacing.
There is a shorthand named {{sp}} that only takes one parameter and always uses the spacing .15em.
Examples
[ସମ୍ପାଦନା]Spacing
[ସମ୍ପାଦନା]{{letter-spacing|2px|your text goes here}}
your text goes here
{{letter-spacing|1.5em|your text goes here}}
your text goes here
Last characters
[ସମ୍ପାଦନା]If for some reason you need to exclude the last character(s) of spaced text (usually due to excess padding) but still want these characters to be wrapped (usually for clearer syntax), you can use a third unnamed parameter, which simply passes its input as-is:
{{c|C. {{letter-spacing|1.5em|192|2.}}}}
C.
1922.
Compare to...
{{c|C. {{letter-spacing|1.5em|1922}}. {{letter-spacing|1.5em|C.}} {{letter-spacing|1.5em|1922.}}}}
C.
1922.
C.
1922.
Comparison of syntax appearance:
{{letter-spacing|1.5em|192}}2. {{letter-spacing|1.5em|192|2.}}
See also
[ସମ୍ପାଦନା]- {{Word-spacing}}
The above documentation is transcluded from ଛାଞ୍ଚ:Letter-spacing/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |