Template:Strikethrough: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><span style="text-decoration: line-through;">{{{1}}}</span></includeonly><noinclude> {{Documentation}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc...") |
(No difference)
|
Revision as of 13:35, 13 December 2012
[edit] Template documentation
Usage
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
{{Strike}}
See Also