Template:Css-style/doc
Appearance
This is a documentation subpage for Template:Css-style. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]The template {{css-style}} is used to specify a CSS text style for a span of text.
Parameters
[edit]- A sequence of CSS style attributes, separated by semicolons.
- The text.
Examples
[edit]- Text in purple
- Wikitext:
I saw {{css-style|color:purple|a tantalizing bunch of grapes}} bungling over my head.
- Result:
- I saw a tantalizing bunch of grapes bungling over my head.
- Text in Roman font
- Wikitext:
Inscribed were the letters {{css-style|font-family:Roman;font-size:112%|R.I.P.}}
- Result:
- Inscribed were the letters R.I.P.
- Overlined text
- Wikitext:
The pattern {{css-style|text-decoration:overline|xxoxox}} occurred twice
- Result:
- The pattern xxoxox occurred twice.