Template:Strike

From The Dreaming
Revision as of 14:43, 18 October 2021 by Stuart (talk | contribs) (Usage -> Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Template for striking out some text with an optional explanation

Examples

The following examples will show how to use this template.

Basic Usage

The first parameter is the markup to show struck out.

{{strike|Task 1: Write usage notes for ''Strike'' template}}

will result in:

Task 1: Write usage notes for Strike template

Tooltip Parameter

A second parameter gives a 'tooltip' active on the struck out content.

{{strike|Task 2: Explain how to use the 'hover' parameter|The second parameter will give a 'hover' tool tip on the text}}

would display:

Task 2: Explain how to use the 'hover' parameter

Hover over it to see the explanatory tooltip.

Complex Markup

You can put any wiki markup into the text to display, eg.

{{strike|
 * This is a list
 * of a number of
 * elements, including
 *# A numbered sublist
 *# with only two elements|
 List is now obsolete - actually wasn't much use in the first place}}

will display:

  • This is a list
  • of a number of
  • elements, including
    1. A numbered sublist
    2. with only two elements