Template:Strikethrough/doc

From Valve Developer Community
Jump to navigation Jump to search
Edit-copy.png
Icon-callout-delete.png
This template has been marked as a candidate for speedy deletion for the following reason: "See Template:Strikethrough"
Wikipedia icon small.png
This template was ported from an old revision of a template from Wikipedia. It was originally at Template:Strikethrough. The original authors of this template are shown on the template's edit history page.
Wikipedia's text is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License
.

Template:Template shortcuts

{{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: {{Strikethrough}} is deprecated. Use {{s}} instead. 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

Template:Markup

How to wrap a block of text

To wrap text that contains line breaks, use {{Strikethroughdiv}} instead.

Template:Markup

See also