Template:Abuse filter warning: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Undo revision 34846 by Justarandomamerican (talk)
Tag: Undo
report error for warnings
Tag: Reverted
Line 30: Line 30:
|text = {{{text}}}
|text = {{{text}}}
{{#ifeq:{{{fplink|{{#ifeq:{{{action|}}}|disallow|yes|no}}}}}|yes|<div style="text-align:center;">
{{#ifeq:{{{fplink|{{#ifeq:{{{action|}}}|disallow|yes|no}}}}}|yes|<div style="text-align:center;">
{{clickable button 2
|Report error
|class=mw-ui-progressive
|url=https://testwiki.wiki/index.php?title=Test_Wiki:Community_portal&action=edit&section=new
}}</div>
{{#ifeq:{{{fplink|{{#ifeq:{{{action|}}}|warn|yes|no}}}}}|yes|<div style="text-align:center;">
{{clickable button 2
{{clickable button 2
|Report error
|Report error

Revision as of 17:14, 27 January 2024

{{fmbox |type = editnotice |textstyle = |image = Your action has triggered an abuse filter |text = {{{text}}}

The template description below will not be displayed when the template is placed.
Template: v · d · eTemplate/doc: v · d · e

Usage

  • |filter= the number of the filter that uses this message, if several filters use it, use |filter2=, |filter3=, etc., 5 maximum.Only visible in the AbuseFilter interface.
  • |action= – the type of filter. Acceptable values are disallow warn block deauto degroup sternwarning.
  • |friendly= – changes the display slightly to be a little less bitey.
  • |text= the text of the message.
  • |fplink= Set this to yes to show a big button to report an error to the community portal. Defaults to yes if action=disallow, no otherwise.

Examples

{{abuse filter warning
 |action   = warn
 |friendly = yes
 |text     = You've done something unconstructive, but we don't want to bite you
}}

{{fmbox |type = editnotice |textstyle = |image = Your action has triggered an abuse filter |text = You've done something unconstructive, but we don't want to bite you

{{abuse filter warning
 |action   = warn
 |friendly = 
 |text     = You've done something unconstructive, and we're more sure that it's not constructive
}}

{{fmbox |type = editnotice |textstyle = |image = Your action has triggered an abuse filter |text = You've done something unconstructive, and we're more sure that it's not constructive

{{abuse filter warning
 |action   = disallow
 |friendly = yes
 |text     = You've done something unconstructive and we're stopping you, but we don't want to bite you
}}

{{fmbox |type = editnotice |textstyle = |image = Your action has triggered an abuse filter |text = You've done something unconstructive and we're stopping you, but we don't want to bite you

{{abuse filter warning
 |action   = disallow
 |friendly = 
 |text     = You've done something unconstructive and we're stopping you, more forcefully
}}

{{fmbox |type = warning |textstyle = |image = Your action has triggered an abuse filter |text = You've done something unconstructive and we're stopping you, more forcefully

{{abuse filter warning
 |action   = warn
 |friendly = yes
 |text     = You've done something possibly unconstructive, and we want to make it easy to report a problem with the filter
 |fplink   = yes
}}

{{fmbox |type = editnotice |textstyle = |image = Your action has triggered an abuse filter |text = You've done something possibly unconstructive, but we want to make it easy to report a problem with the filter

{{abuse filter warning
 |action   = disallow
 |friendly = 
 |text     = You're pushing buttons impulsively, and we don't want to give you yet another button to push.
 |fplink   = no
}}

{{fmbox |type = warning |textstyle = |image = Your action has triggered an abuse filter |text = You're pushing buttons impulsively, and we don't want to give you yet another button to push.

{{abuse filter warning
 |action   = deauto
 |friendly = 
 |text     = Autoconfirmed revoked
}}

{{fmbox |type = warning |textstyle = |image = Your action has triggered an abuse filter |text = Autoconfirmed revoked

{{abuse filter warning
 |action   = sternwarning
 |friendly = 
 |text     = Stop this
}}

{{fmbox |type = warning |textstyle = width: 100%; background: #ffdbdb; padding: 0.5em; border: 2px dotted black; |image = Your action has triggered an abuse filter |text = Stop this