Template:Banned user/doc: Difference between revisions
Jump to navigation
Jump to search
Note:The template will automatically load the content according to the interface language.
m (→Parameters) |
mNo edit summary |
||
Line 15: | Line 15: | ||
| align=center | No Parameters | | align=center | No Parameters | ||
| Use this if the user has been banned for multiple reasons. | | Use this if the user has been banned for multiple reasons. | ||
| {{CodeBlock|margin=5px|<nowiki>{{Banned | | {{CodeBlock|margin=5px|<nowiki>{{Banned user}}</nowiki>}} | ||
| {{Banned | | {{Banned user|nocat=1}} | ||
|- | |- | ||
| align=center | {{Code|{{Param|type}}}} {{Code|{{Param|ico}}}} | | align=center | {{Code|{{Param|type}}}} {{Code|{{Param|ico}}}} | ||
| Select reasons why this user has been banned ({{Code|{{Param|type}}}}). <br>To change the icon, change the {{Code|{{Param|ico}}}} parameters. | | Select reasons why this user has been banned ({{Code|{{Param|type}}}}). <br>To change the icon, change the {{Code|{{Param|ico}}}} parameters. | ||
| <!-- Example section --> | | <!-- Example section --> | ||
Edit war/Disputed edit: {{CodeBlock|margin=5px|<nowiki>{{Banned | Edit war/Disputed edit: {{CodeBlock|margin=5px|<nowiki>{{Banned user|type=editwar|ico=editwar}}</nowiki>}}<br> | ||
Spam: {{CodeBlock|margin=5px|<nowiki>{{Banned | Spam: {{CodeBlock|margin=5px|<nowiki>{{Banned user|type=spam|ico=spam}}</nowiki>}}<br> | ||
Sockpuppet (username not specified): {{CodeBlock|margin=5px|<nowiki>{{Banned | Sockpuppet (username not specified): {{CodeBlock|margin=5px|<nowiki>{{Banned user|type=sock|ico=sock|user=Example}}</nowiki>}}<br> | ||
Vandalism: {{CodeBlock|margin=5px|<nowiki>{{Banned | Vandalism: {{CodeBlock|margin=5px|<nowiki>{{Banned user|type=vandal|ico=vandal}}</nowiki>}}<br> | ||
Copyright: {{CodeBlock|margin=5px|<nowiki>{{Banned | Copyright: {{CodeBlock|margin=5px|<nowiki>{{Banned user|type=copyright|ico=copyright}}</nowiki>}} | ||
| {{Banned | | {{Banned user|nocat=1|type=editwar|ico=editwar}}<br> <!-- Preview/result section --> | ||
{{Banned | {{Banned user|nocat=1|type=spam|ico=spam}}<br> | ||
{{Banned | {{Banned user|nocat=1|type=sock|ico=sock}}<br> | ||
{{Banned | {{Banned user|nocat=1|type=vandal|ico=vandal}}<br> | ||
{{Banned | {{Banned user|nocat=1|type=copyright|ico=copyright}} | ||
|- | |- | ||
| align=center | {{Code|{{Param|user}}}} | | align=center | {{Code|{{Param|user}}}} | ||
| If used with {{Code|<nowiki>type=sock</nowiki>}}, set the username of the user who just recently got banned for ban evasions or creating sockpuppet account for inappropriate purposes. | | If used with {{Code|<nowiki>type=sock</nowiki>}}, set the username of the user who just recently got banned for ban evasions or creating sockpuppet account for inappropriate purposes. | ||
| {{CodeBlock|margin=5px|<nowiki>{{Banned | | {{CodeBlock|margin=5px|<nowiki>{{Banned user|type=sock|icon=sock|user=[[User:Example]]}}</nowiki>}} | ||
| {{Banned | | {{Banned user|nocat=1|type=sock|ico=sock|user=[[User:Example]]}} | ||
|- | |- | ||
| align=center | {{Code|{{Param|nocat}}}} | | align=center | {{Code|{{Param|nocat}}}} | ||
| To prevent the adding of the [[:Category:Banned Users]] category. Does not change anything visibly. Only use this if you want to preview the template. | | To prevent the adding of the [[:Category:Banned Users]] category. Does not change anything visibly. Only use this if you want to preview the template. | ||
| {{CodeBlock|margin=5px|<nowiki>{{Banned | | {{CodeBlock|margin=5px|<nowiki>{{Banned user|nocat=1}}</nowiki>}} | ||
| Same as the first example, but without [[:Category:Banned Users]] (and previously, [[:Category:Banned Spammers]]) category being added to the page. | | Same as the first example, but without [[:Category:Banned Users]] (and previously, [[:Category:Banned Spammers]]) category being added to the page. | ||
|} | |} | ||
{{Note|The template will automatically load the content according to the interface language.}} | {{Note|The template will automatically load the content according to the interface language.}} |
Revision as of 08:28, 13 June 2023

This is a documentation subpage for Template:Banned user.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Usage
Use this template on user page if the user has been banned/blocked from editing or using talk pages.
Translations
The used strings are on strings subpage. Please follow the format to add translations for them.
Icons
The used icons are located on icons subpage.
Parameters
Parameter | Description | Example | Result |
---|---|---|---|
No Parameters | Use this if the user has been banned for multiple reasons. |
![]() This user has been banned for an unspecified reason, such as
![]() ![]() ![]() ![]() ![]() ![]() | |
{{{type}}} {{{ico}}} | Select reasons why this user has been banned ({{{type}}}). To change the icon, change the {{{ico}}} parameters. |
Edit war/Disputed edit: Spam: Sockpuppet (username not specified): Vandalism: Copyright: |
![]() This user has been banned for an unspecified reason, such as
![]() ![]() ![]() ![]() ![]() ![]() ![]() This user has been banned for an unspecified reason, such as
![]() ![]() ![]() ![]() ![]() ![]() ![]() This user has been banned for an unspecified reason, such as
![]() ![]() ![]() ![]() ![]() ![]() ![]() This user has been banned for an unspecified reason, such as
![]() ![]() ![]() ![]() ![]() ![]() ![]() This user has been banned for an unspecified reason, such as
![]() ![]() ![]() ![]() ![]() ![]() |
{{{user}}} | If used with type=sock, set the username of the user who just recently got banned for ban evasions or creating sockpuppet account for inappropriate purposes. |
![]() This user has been banned for an unspecified reason, such as
![]() ![]() ![]() ![]() ![]() ![]() | |
{{{nocat}}} | To prevent the adding of the Category:Banned Users category. Does not change anything visibly. Only use this if you want to preview the template. | Same as the first example, but without Category:Banned Users (and previously, Category:Banned Spammers) category being added to the page. |
