Toggle menu
14
236
69
27.4K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 02:03, 25 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> == Usage == The template {{tl|css-style}} is used to specify a CSS text style for a span of text. ==Parameters== # A sequence of CSS style attributes, separated by semicolons. # The text. == Examples == ;Text in purple: :Wikitext: ::<code><nowiki>I saw {{css-style|color:purple|a tantalizing bunch of grapes}} bungling over my head.</nowiki></code>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

The template {{css-style}} is used to specify a CSS text style for a span of text.

Parameters

  1. A sequence of CSS style attributes, separated by semicolons.
  2. The text.

Examples

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.