Open main menu

Changes

typo
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
{{Template shortcuts|Strike|S}}

{{tl|Strikethrough}} draws a line through the text that is its parameter. This is done by embedding the parameter in an HTML {{tag|s}} element, producing output such as: {{strikethrough|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 {{tag|del}}.

==Example==
{{Markup
|width=auto |col1={{align|left|Markup}} |col2={{align|left|Output}}
| <nowiki>{{strikethrough|HyperText Markup Language}}</nowiki>
| {{strikethrough|HyperText Markup Language}}
}}

==See also==
* [[Help:Wiki markup#Strikethrough]]
* {{tl|Strikethrough color}}—differently color the strikethrough-line and the text

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Text-specific formatting and function templates]]
[[Category:Wikipedia XHTML tag-replacing templates]]
[[Category:Typing-aid templates]]
}}</includeonly>
Anonymous user