Template:Strikethrough/doc: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This template can be used to add a Strikethrough line through...")
 
mNo edit summary
 
Line 22: Line 22:
[[Category:Wikipedia XHTML tag replacing templates]]
[[Category:Wikipedia XHTML tag replacing templates]]
</includeonly>
</includeonly>
[[Category:Templates]]

Latest revision as of 21:37, 14 December 2012

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}}

See Also[edit source]

Help:Wiki markup#Strikethrough