Template:Strikethrough/doc
Appearance
Template:Strong for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]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.