Template:Redacted content/doc
Appearance
This is a documentation subpage for Template:Redacted content. It may contain usage information, categories and other content that is not part of the original template page. |
{{Redacted content}} is a template that renders text as censored content. It can be used to hide content if a previous change has been marked for deletion as an example.
Usage
[change source]{{redacted content}}
→
{{redacted content|5}}
→
{{redacted content|color=red}}
→
Parameters
[change source]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 shown on the "redacted" area. Note that this text will always be rendered in black; to be visible, use 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. |