Template:Edit filter warning: Difference between revisions
Content added Content deleted
enwiki>Nihiltres (Added #if clause so that if the {{{filter}}} parameter isn't defined, the template doesn't break in the MediaWiki namespace) |
Caimántriste (talk | contribs) (Adding a w in the report error url since without this the link is broken.) |
||
(16 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
<div class="mw-parser-output"> |
|||
{{fmbox |
{{fmbox |
||
|type = {{#switch:{{{action|}}} |
|type = {{#switch:{{{action|}}} |
||
|warn |
|warn |
||
|#default = editnotice |
|#default = editnotice |
||
|throttle |
|||
|disallow |
|||
|deauto |
|deauto |
||
|block |
|block |
||
|degroup = warning |
|degroup = warning |
||
|sternwarning = warning |
|||
⚫ | |||
}} |
}} |
||
|textstyle = {{#switch:{{{action|}}} |
|textstyle = {{#switch:{{{action|}}} |
||
|warn |
|warn |
||
|throttle |
|||
|disallow |
|disallow |
||
|deauto |
|deauto |
||
Line 17: | Line 17: | ||
|block |
|block |
||
|degroup = color:red; font-weight:bold; font-style:italic; |
|degroup = color:red; font-weight:bold; font-style:italic; |
||
|sternwarning = width: 100%; background: #ffdbdb; padding: 0.5em; border: 2px dotted black; |
|||
}} |
}} |
||
|image = [[File:{{#switch:{{{action|}}} |
|image = [[File:{{{image|{{#switch:{{{action|}}} |
||
|warn |
|warn |
||
|#default = {{#ifeq:{{{friendly|}}}|yes| |
|#default = {{#ifeq:{{{friendly|}}}|yes| Information.svg | Information orange.svg }} |
||
| |
|disallow = {{#ifeq:{{{friendly|}}}|yes| Stop hand nuvola blue.svg | Stop hand nuvola orange.svg }} |
||
⚫ | |||
|deauto |
|deauto |
||
|block |
|block |
||
|degroup = Stop x nuvola.svg |
|degroup = Stop x nuvola.svg |
||
|sternwarning = Stop hand nuvola.svg |
|||
}}|60px|Your action has triggered |
}} }}}|60px|Your action has triggered an edit filter|link=]] |
||
|text = {{{text}}} |
|text = {{{text}}} |
||
{{#ifeq:{{{fplink|{{#ifeq:{{{action|}}}|disallow|yes|no}}}}}|yes|<div style="text-align:center;"> |
|||
}}{{#if:{{{filter|}}}|{{#ifeq:{{NAMESPACE}}|MediaWiki|{{notice|This message is used by [[Special:AbuseFilter/{{{filter}}}|filter {{{filter}}}]]}}}}}}<noinclude> |
|||
{{clickable button |
|||
|Report error |
|||
|class=mw-ui-progressive |
|||
|url=https://publictestwiki.com/w/index.php?title=TestWiki:Community_portal&action=edit§ion=new&preload=Template:AbuseFilter_error_report_preload |
|||
}}</div> |
|||
|}} |
|||
}}</div><noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |