Template:Redacted content

(Redirected from Template:Redacted)

 

Template documentation

{{Redacted content}} is a template that renders text as censored content. It can be used to hide content if a previous revision has been marked for deletion as an example.

Usage edit

{{redacted content}} 
{{redacted content|5}} 
{{redacted content|color=red}} 

Parameters edit

Parameter Default Explanation
length 8 The length, in em. For a full width redaction, the keyword full may be used.
color #000 The color of the redacted text. This can be either an HTML color name (eg "black" or "white"), or a RGB hexadecimal representation of a color (eg "#000" for black, "#ff0000" for red).
replacement If present, a tooltip will display this text when hovering over the redacted area with the heading replacement=.
text   If present, the text will be rendered on the "redacted" area. Note that this text will always be rendered in black; to be visible, utilize the color= parameter to adjust the color of the redaction.
foia-exceptions If present, a tooltip will display this text while hovering over the redacted area with the heading "FOIA Request Exceptions:". This is intended to be used to list exemptions to the Freedom of Information Act.