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...") |
mNo edit summary |
||
Line 6: | Line 6: | ||
--> | --> | ||
</noinclude> | </noinclude> | ||
[[Category:Templates]] |
Latest revision as of 21:37, 14 December 2012
[edit] Template documentation
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}}