Template:Strikethrough color
Jump to navigation
Jump to search
{{{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 is black, but these are separately controllable by passing parameters.
Notes[edit source]
- This template is implemented using CSS. There is no way to have the text be "the default text color" (the current style or skin of the adjacent text). The text color is always set explicitly, either to black or to a passed specific color.
Examples[edit source]
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[edit source]
External links[edit source]
- Template:Strikethrough color at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:Strikethrough color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |