Template:Abuse filter warning: Difference between revisions
(Adding a report error button with a preload when clicked.) |
(Adding a mw-parser-output tag.) |
||
Line 1: | Line 1: | ||
<div class="mw-parser-output"> |
|||
{{fmbox |
{{fmbox |
||
|type = {{#switch:{{{action|}}} |
|type = {{#switch:{{{action|}}} |
Revision as of 02:48, 9 March 2024
{{fmbox
|type = editnotice
|textstyle =
|image =
|text = {{{text}}}
This template is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
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 warn disallow deauto block degroup.|friendly=
– yes changes the display slightly to be a little less bitey.|text=
the text of the message.
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 =
|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 =
|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 =
|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 =
|text = You've done something unconstructive and we're stopping you, more forcefully
{{abuse filter warning |action = block |friendly = |text = We're blocking you }}
{{fmbox
|type = warning
|textstyle = color:red; font-weight:bold; font-style:italic;
|image =
|text = We're blocking you
{{abuse filter warning |action = deauto |friendly = |text = Autoconfirmed revoked }}
{{fmbox
|type = warning
|textstyle =
|image =
|text = Autoconfirmed revoked
{{abuse filter warning |action = degroup |friendly = |text = Bye bye groups }}
{{fmbox
|type = warning
|textstyle = color:red; font-weight:bold; font-style:italic;
|image =
|text = Bye bye groups