Template:Censor
Demo[edit]
Item with pronounced redacted name
SCP-540 was recently moved to site pronounced redacted
... the way literally all discourse in the United States has become this weird game of "how do we rationally convince the bourgeoisie to not be pronounced redacted" ...
Template:thingamabob[edit]
all mimsy were the borogoves, and the mome raths outgrabe
Description[edit]
This is a template for superficially hiding words. It may be used to comply with rules about language on Item pages, although this should only be done in the label or alias fields, or on prototypes which are not intended to be live Item pages.
In visual browsers, the word will be visible when highlighted. In text-to-speech, it will be pronounced "redacted", or as the string specified with tts. 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[edit]
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- 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 witht1ort3, 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.
Only for use in other Templates[edit]
html- HTML tag to use.class- CSS classname.
Internal templates[edit]
- Template:TTS - used to specify HTML tag plus pronunciation.