Template:Strikethrough
{{{1}}}
This template's documentation was also ported from Wikipedia, originally from Template:Strikethrough/doc. The original authors of the documentation are shown on the documentation's edit history page.
Wikipedia's text is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
{{Strikethrough}}
draws a line through the text provided in the first unnamed parameter. The template embeds the parameter in an HTML <s>...</s>
element, producing output such as: this, i.e. text with a line drawn through its middle. Outside articles, it can be used to mark something as no longer accurate or relevant without removing it from view.
Do not use this template, however, to indicate document edits; to mark a span of text as having been removed from a document, use <del>...</del>
, which is aesthetically similar. This template should be used within one block (paragraph); it should not wrap around multiple paragraphs or even multiple bullet points. See How to wrap a block of text below for a different template that can wrap multiple lines.
Example
How to wrap a block of text
To wrap text that contains line breaks, use {{Strikethroughdiv}}
instead.
See also
- Help:Wiki markup#Strikethrough
{{Strikethrough color}}
— differently color the strikethrough-line and the text{{Strikethroughdiv}}
– apply strikethrough formatting to text containing line breaks
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.