Teamplaid:Strikethrough
Coltas
{{{1}}}
{{Strikethrough}} draws a line through the text that is its parameter. This is done by embedding 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 it, however, to indicate documentnt edits; to mark a span of text as having been removed from a document, use <del>...</del>
. This template should be used within one block (paragraph); it should not wrap around multiple paragraphs or even multiple bullet points. See the example below for wrapping multiple bullets.
Example
[deasaich]Markup |
Output |
---|---|
{{Strikethrough|HyperText Markup Language}} |
|
How to wrap a block of text
[deasaich]To wrap text that contains line breaks, use {{Strikethroughdiv}} instead.
Markup |
Output |
---|---|
{{Strikethroughdiv| * This * That * And another thing}} |
Teamplaid:Strikethroughdiv |
See also
[deasaich]- en:w:Help:Wiki markup#Strikethrough
- {{Strikethrough color}} — differently color the strikethrough-line and the text
- {{Strikethroughdiv}} – apply strikethrough formatting to text containing line breaks
The above documentation is transcluded from Teamplaid:Strikethrough/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |