Help:Wikitext: Difference between revisions

Content deleted Content added
m Strike through: correct spelling of "strikethrough"
Tag: Reverted
undo change by Paradoctor. Del, ins, big, blockquote, br, code, pre, small, sub, and sup all appear inside <angle brackets>, and are part of wikitext. Strikethrough appears in {{curly braces}}, and is a template and not part of wikitext.
Line 1,678:
|}
 
===<span class="anchor" id="Strikethrough"></span>Show deleted or inserted text===
{{details|Wikipedia:Talk page guidelines#Editing own comments}}
* When editing regular Wikipedia articles, just make your changes, and do not mark them up in any special way, except when the article itself discusses deleted or inserted content, such as an amendment to a statute:
** to indicate deleted content, use {{tag|del}} (The {{tl|strikethrough}} template can also be used for this purpose.)
** to indicate inserted content, use {{tag|ins}}
* This also applies to changing one's own talk page comments.
Line 1,693:
|
You can <del>indicate deleted material</del> and <ins>inserted material</ins>.
|}
 
===<span class="anchor" id="Strikethrough"></span> Strikethrough ===
{{see also|Help:HTML in wikitext#s}}
The {{tl|Strikethrough}} template marks up a span of text with the {{tag|s}} tag. This is usually renderend visually by drawing a horizontal line through it. Outside of 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. For that, use the {{tag|del}} tag instead. See {{slink||Show deleted or inserted text}} for details.
{| class=wikitable
!What you type
!What you get
|-
|<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
|}