Template:Strikethrough

From imedwiki
Jump to navigation Jump to search

{{{1}}}

Template documentation[view] [edit] [history] [purge]

{{Strikethrough}} draws a line through the text that is its parameter. This is done by embedding the parameter in an HTML <s>...</s> element, producing output such as: this, i.e. text with a line drawn through its middle. 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 should be used within one block (paragraph); it should not wrap around multiple paragraphs or even multiple bullet points, and it does not appear(?) to be able to wrap [external links] either. See the example below for wrapping multiple bullets.

Example

Markup
Output
{{strikethrough|HyperText Markup Language}}

HyperText Markup Language

How to wrap a block of text

To wrap text that contains line breaks, use {{Strikethroughdiv}} instead.

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

See also

This template is based (in parts) on the Template:Strikethrough from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.