Template:Letter-spacing/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (1 revision) |
(No difference)
|
Latest revision as of 06:08, 11 April 2014
This templates makes an emphasis with the letter-spacing CSS property. Usable, for example, when italic is unavailable, and boldface and underline are undesirable.
- Syntax
{{letter-spacing|<parameter 1>|<parameter 2>}}
- Parameter 1 — MANDATORY – text to emphasize
- Parameter 2 — OPTIONAL – letter-spacing value (DEFAULT: 0.125em)
- Examples
Code | Rendered |
---|---|
sample text | sample text |
{{letter-spacing|sample text|0.0625em}} | sample text |
{{letter-spacing|sample text}} | sample text |
{{letter-spacing|sample text|0.125em}} | sample text |
{{letter-spacing|sample text|0.25em}} | sample text |