Template:Letter-spacing/doc
Jump to navigation
Jump to search
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 |