Difference between revisions of "Template:Strikethrough"
Jump to navigation
Jump to search
en>El C m (Protected "Template:Strikethrough": Highly visible template: RFPP ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 06:21, 3 January 2019
{{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 document edits; to mark a span of text as having been removed from a document, use <del>...</del>
.
Example
Markup |
Output
|
---|---|
{{strikethrough|HyperText Markup Language}} |
|
See also
- Help:Wiki markup#Strikethrough
- {{Strikethrough color}}—differently color the strikethrough-line and the text
The above documentation is transcluded from Template:Strikethrough/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. |