Template:Edit filter warning/doc

From The Sims Wiki, a collaborative database for The Sims series
This is an old revision of this page, as edited by K6ka (talk | contribs) at 11:53, 16 April 2019 (→‎Full syntax). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Jump to navigation Jump to search

Description

This template is used to create messages that can be displayed when a user trips an edit filter.

Parameters

  • 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 this 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 filter warning
|type       = 
|friendly   = 
|headline   = 
|text       = 
|filter     = 
|filter2    = 
|filter3    = 
|filter4    = 
|filter5    = 
}}