Toggle menu
15
236
70
27.5K
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 00:36, 16 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> This template formats the given text with a strikethrough whose line can be a different color than the text itself. By default, the strikethough line is red and the text color is unchanged, but these are separately controllable by passing parameters. This template is implemented using CSS. It sets the line...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template formats the given text with a strikethrough whose line can be a different color than the text itself. By default, the strikethough line is red and the text color is unchanged, but these are separately controllable by passing parameters.

This template is implemented using CSS. It sets the line color using the text-decoration-color CSS property, passing red as the default value if no |linecolor= parameter is supplied. The text color will be inherited from the parent styling, unless overridden with a |textcolor= parameter.

Examples

Markup Renders as
{{Strikethrough color|deleted}} deleted
{{Strikethrough color|deleted|linecolor=green}} deleted
{{Strikethrough color|deleted|textcolor=blue}} deleted
{{Strikethrough color|deleted|textcolor=red|linecolor=white}} deleted


See also