Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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