Template:Strikethrough/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Strikethrough (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage[edit source]
This template can be used to add a Strikethrough line through words if you do not know the HTML code, or if using HTML will have different effects.
For example:
In the Wikipedia freenode channel (#wikipedia-en-help) you can show that a strikethrough can be made by adding {{strikethrough|your text here}}, which would make your text here.
Technical note: this template applies the strikethrough effect by applying the "text-decoration: line-through;" CSS property to a <span>...</span>
element. This is because the <strike>...</strike>
element, which was marked as deprecated in HTML 4.01, is obsolete in HTML 5.
Redirects[edit source]
{{Strike}}