Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 00:37, 16 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{Template shortcuts|Strikediv}} {{tl|Strikethroughdiv}} is a sibling template to {{tl|Strikethrough}}, intended for use with block-level elements. This template draws a line through a block of text that is its parameter. This is done by embedding the parameter in an HTML {{tag|div}} element, producing output such as: {{strikethroughdiv|* This, i.e. bulleted text with a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{Strikethroughdiv}} is a sibling template to {{Strikethrough}}, intended for use with block-level elements. This template draws a line through a block of text that is its parameter. This is done by embedding the parameter in an HTML <div>...</div> element, producing output such as:

  • This, i.e. bulleted text with a line drawn through its middle.
  • And a second line, also contained within the Strikethroughdiv template

Outside articles, it can be used to mark something as no longer accurate or relevant without removing it from view. Do not use it, however, to indicate document edits; to mark a span of text as having been removed from a document, use <del>...</del>. This template can be used to wrap around multiple paragraphs or even multiple bullet points. To wrap a simple string of text, {{Strikethrough}} is recommended.

Usage recommendation

Because blocks of text are likely to contain an = character, it is recommended that the content of {{Strikethroughdiv}} be preceded by |1=, as shown in the example below.

Example

Markup
Output
{{strikethroughdiv|1=
* This
* That
* And another thing}}
  • This
  • That
  • And another thing

See also