Help:Wikitext: Difference between revisions

Content deleted Content added
Undid revision 1184055446 by Danbloch (talk) per Help:Talk Wikitext#Strikethrough section: nobody else chimed
Tags: Undo Reverted
Undid revision 1192423305 by Paradoctor (talk). I'm not sure what your point is. Please discuss on talk page.
Tags: Undo Reverted
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
|}