Template:Banned user/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Just some minor changes, the previous summary was actually meant for report user doc page and not this one. "note" params example was wrong previously so fixed it.)
mNo edit summary
Line 36: Line 36:
|-
|-
| align=center | {{Code|{{Param|note}}}}
| align=center | {{Code|{{Param|note}}}}
| Additional notes. '''(Optional)'''
| Add additional notes. '''(Optional)'''
| {{CodeBlock|margin=5px|<nowiki>{{Banned user|note=Banned by [[User:Example]], {{Lorem ipsum}}}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>{{Banned user|note=Banned by [[User:Example]], {{Lorem ipsum}}}}</nowiki>}}
|-
|-

Revision as of 05:03, 7 August 2023

Edit-copy.png
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.
Note.pngNote:If you want to report user, use the {{Report user}} template (more info can be found on the template).

This template is used on user pages in order to notify other users that a user has been blocked/banned from editing on the wiki.

You can add this to user page and the user talk page aswell (only put the latter with {{{nocat}}} parameter on it to prevent adding talk pages to the category).

Translations

The used strings are on strings subpage. Please follow the format to add translations for them.

Testcases

Testcases for this template can be located on the testcases subpage.

Parameters and Examples

Parameter Description Example
No Parameters Use this if the user has been banned for multiple reasons.
{{Banned user}}
{{{reason}}} Select reasons why this user has been banned. Icons will be also changed by the same parameter.
{{Banned user|reason=termsofuse}}
{{{status}}} For specifying the status of a ban/block.
{{Banned user|status=previously}}
{{{user}}} If used with reason=sock, set the username of the user who just recently got banned for ban evasions or creating sockpuppet account for inappropriate purposes.
{{Banned user|reason=sock|user=[[User:Example]]}}
{{{note}}} Add additional notes. (Optional)
{{Banned user|note=Banned by [[User:Example]], {{Lorem ipsum}}}}
{{{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.
{{Banned user|nocat=1}}

Preview

Icon-crystalclear-flag.png
This user has been banned for an unspecified reason, such as Wikipedia icon spamming, Wikipedia icon vandalism, Wikipedia icon copyright violations, Wikipedia icon sockpuppetry, Wikipedia icon edit warring, trolling or Wikipedia icon harassment, and/or violating the Valve Developer Community's Terms of Use along with other misbehavior.
Note.pngNote:The template will automatically load the content according to the interface language.