This article will address the topic of
Template:Strikethrough color, which has generated great interest and debate in different areas. With the aim of thoroughly understanding this topic, different perspectives and approaches will be explored that will shed light on its importance and impact today. Through a detailed and exhaustive analysis, the aim is to provide the reader with a comprehensive and complete vision of
Template:Strikethrough color, providing relevant and updated information that contributes to enriching the knowledge and understanding of this matter. From its origins to its impact on today's society, the aim is to offer a global vision that allows us to delve deeper into the most relevant aspects of
Template:Strikethrough color, providing a clear and detailed overview that serves as a starting point for future research and reflections.
{{{1}}}
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