Content deleted Content added
m →Show deleted or inserted text: missing "and" |
→Strikethrough: add code explaining how to avoid Linter misnested tag errors |
||
Line 1,688:
===<span class="anchor" id="Strikethrough"></span> Strikethrough ===
{{see also|Help:HTML in wikitext#s}}
The {{tl|Strikethrough}} template marks up
The {{tl|Strikethrough}} template and {{tag|s}} tag are for inline content only; to strike out a block of text, such as a multi-line talk page post, use either {{tl|Strikethroughdiv}} or <syntaxhighlight lang=wikitext inline><div style="text-decoration: line-through"></div></syntaxhighlight> to render the entire block with strikethrough markup.
{| class=wikitable
!What you type
Line 1,695 ⟶ 1,697:
|<kbd><nowiki>This is {{</nowiki>'''Strikethrough'''<nowiki>|an obsolete stretch of text}} for comparison</nowiki></kbd>
|This is {{Strikethrough|an obsolete stretch of text}} for comparison
|-
|<kbd><nowiki>This is {{</nowiki>'''Strikethroughdiv'''<nowiki>|{{ubl|an obsolete bulleted list|with two items}}}} for comparison</nowiki></kbd>
|This is {{Strikethroughdiv|{{ubl|an obsolete bulleted list|with two items}}}} for comparison
|}
|