Template:Strikethrough/doc: Difference between revisions

From Fox Labs Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{High-use}} {{Template shortcuts|Strike|S}} {{tl|Strikethrough}} draws a line through the text provided in the first unnamed parameter. The template embeds 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...")
 
No edit summary
 
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
{{High-use}}
{{High-use}}
{{Template shortcuts|Strike|S}}
{{Template shortcut|Strike|S}}


{{tl|Strikethrough}} draws a line through the text provided in the first unnamed parameter. The template embeds 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.  
{{tl|Strikethrough}} draws a line through the text provided in the first unnamed parameter. The template embeds 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.  

Latest revision as of 13:53, 3 November 2023

{{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

Template:Align [[:Template: Template:Align
[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

How to wrap a block of text

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

Template:Align [[:Template: Template:Align
[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

See also