Template:Edit filter warning/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (→Full syntax) |
|||
Line 13: | Line 13: | ||
* <code>headline</code> - specify the headline of the warning message |
* <code>headline</code> - specify the headline of the warning message |
||
* <code>text</code> - specify the text of the warning message |
* <code>text</code> - specify the text of the warning message |
||
* <code>filter</code> - specify the number of the filter that uses |
* <code>filter</code> - specify the number of the filter that uses the message. If multiple filters use it, use <code>filter2</code>, <code>filter3</code>, etc., up to a maximum of five. This will produce a message that is ''only shown in the Abuse Filter interface''. |
||
* <code>friendly</code> - if set to <code>yes</code>, the filter's appearance will be much softer and less harsh. |
* <code>friendly</code> - if set to <code>yes</code>, the filter's appearance will be much softer and less harsh. |
||
Latest revision as of 12:42, 16 April 2019
Description[edit source]
This template is used to create messages that can be displayed when a user trips an edit filter.
Parameters[edit source]
type
- specify the type of filter and what it aims to do. Recognized values are:info
- default value—use if the filter is purely informative and not intended to prevent vandalismwarn
- use if the filter is set to warn a user before they execute an actiondisallow
- use the filter is set to prevent the user from performing the action in questionblock
- use if the filter is set to automatically block usersdeauto
- use if the filter is set to automatically revoke autoconfirmeddegroup
- use if the filter is set to remove all user groups (except autoconfirmed)
headline
- specify the headline of the warning messagetext
- specify the text of the warning messagefilter
- specify the number of the filter that uses the message. If multiple filters use it, usefilter2
,filter3
, etc., up to a maximum of five. This will produce a message that is only shown in the Abuse Filter interface.friendly
- if set toyes
, the filter's appearance will be much softer and less harsh.
Full syntax[edit source]
{{Edit filter warning |type = |friendly = |headline = |text = |filter = |filter2 = |filter3 = |filter4 = |filter5 = }}