Jump to content

Template:Redacted

From LithoGraphica
Revision as of 01:13, 5 May 2026 by Reversedragon (talk | contribs) (make this its own template so it can have a distinct pronunciation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Demo

SCP-540 was recently moved to site pronounced redacted

Description

This is a template for superficially hiding words. It is a variant of Template:censor specifically for use in contexts like SCP reports.

In visual browsers, the word will be visible when highlighted. In text-to-speech, it will be pronounced "redacted". Whatever string was originally entered can still always be viewed in the page's "edit" tab unless you decide to replace it with block characters.

Parameters

  • tts - Pronunciation for redacted text. Specify this first so that if screen readers are attempting to edit a page as plain text the TTS-friendly text is said before the "irrelevant" visual text which will be not be read as deleted.
  • t1 - Text to appear before redaction, such as start of swear word.
  • 1 / 2 - Text to be redacted, which will be visible on highlight but not pronounced. For a more authentic effect, you can eyeball the space taken up by the string and fill it with the "pronounced Unicode full block" character.
  • t3 - Text to appear after redaction, such as plural ending of swear word.
  • tts2 - Not displayed. When words are chopped in two with t1 or t3, or you wish to make a word both invisible on page and searchable in editing, use this to include an un-chopped censored word for search purposes.
  • title - Text to be shown on tooltip. (optional)

Only for use in other Templates

  • class - CSS classname.

Internal templates