Template:Edit filter warning/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
 
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 this 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>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 vandalism
    • warn - use if the filter is set to warn a user before they execute an action
    • disallow - use the filter is set to prevent the user from performing the action in question
    • block - use if the filter is set to automatically block users
    • deauto - use if the filter is set to automatically revoke autoconfirmed
    • degroup - use if the filter is set to remove all user groups (except autoconfirmed)
  • headline - specify the headline of the warning message
  • text - specify the text of the warning message
  • filter - specify the number of the filter that uses the message. If multiple filters use it, use filter2, 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 to yes, 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    = 
}}