Template:Deleted text: Difference between revisions
Template page
More actions
Created page with "<del {{#if:{{{role|}}}|role="{{{role}}}"}} {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</del><noinclude> {{documentation}} </noinclude>" |
(No difference)
|
Latest revision as of 01:48, 25 February 2025
{{{1}}}
A way to mark up deleted text without using HTML. This template wraps the HTML tag <del>, which most browsers render by striking through the text.
Example:
I like free culture{{deleted text| and censorship}}! → I like free culture and censorship!
Note: {{del}} is not an alias for this template as it's used for another purpose.
Difference from strikethrough
{{strikethrough}} uses <s>, which renders similarly, like this, but has a different semantic value. It represents contents which are no longer accurate or relevant, but isn't appropriate to use for indicating removals of text from a document.
See also
{{inserted text}}for indicating text insertions
External links
- Specification of the del element in the WHATWG standard for HTML5
- Specification of the s element