Tɛmplet:Strikethrough/doc
![]() | This is a documentation subpage for Tɛmplet:Strikethrough. It contains usage information, categories and other content that is not part of the original tɛmplet page. |
![]() | This template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
{{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
[mali mi di yibu sheena n-niŋ]Markup |
Output
|
---|---|
{{strikethrough|HyperText Markup Language}} |
|
How to wrap a block of text
[mali mi di yibu sheena n-niŋ]To wrap text that contains line breaks, use {{Strikethroughdiv}} instead.
Markup |
Output
|
---|---|
{{strikethroughdiv| * This * That * And another thing}} |
|
See also
[mali mi di yibu sheena n-niŋ]- Help:Wiki markup#Strikethrough
- {{Strikethrough color}} — differently color the strikethrough-line and the text
- {{Strikethroughdiv}} – apply strikethrough formatting to text containing line breaks