Template:Blockrequest/sandbox
Please block Please specify a user to block indefinitely (account creation disabled)
| This is the template sandbox page for Template:Blockrequest (diff). See also the companion subpage for test cases. |
Usage
{{blockrequest}} allows users to make detailed block requests. It is intended primarily for sockpuppet investigation clerks and for other users who admins trust to make high-quality block recommendations. In most contexts, when requesting that an admin block someone, it is best to just link to the user in question and describe the issue.
- Parameters
- First parameter (alias
user): The user to block - Second parameter (alias
expiry): How long the block should last. Default: Indefinite. - Third parameter (alias
reason): A pre-written block summary. When the template is transcluded to a subpage of Wikipedia:Sockpuppet investigations, this reason will be prepended with a link to the subpage on the block form, e.g.lorem ipsum dolor sit ametwill result in Wikipedia:Sockpuppet investigations/Example: lorem ipsum dolor sit amet on the block form (but will be unaltered as it appears on the page). pagesandnamespaces(aliasns): Pages or namespaces to block the user from editing. Separate items with {{!}}. Namespaces use numbers, not names; see Help:Namespaces. If either of these is specified, the block will be a partial block. Otherwise, it will be a sitewide block.anononly(aliasao): Defaults to "yes". For an IP block, "yes" will still allow logged-in users to edit from the IP in question. Does nothing against an account.autobolock(aliasab): Defaults to "yes". See Wikipedia:Autoblock. Does nothing against an IP address/range.accountcreation(aliasac): Defaults to "no" for siteblocks, "yes" for partial blocks. If "no", the target will not be able to create new accounts.talk: Defaults to "yes". If "no", the target will not be able to edit their talkpage(s).email: Defaults to "yes". If "no", the target will not be able to send emails using Special:EmailUser. Does nothing against an IP address/range.wiki: Defaults to "en". An interwiki prefix to place before Special:Block, for requesting blocks on other wikis.override: Replaces the template's entire text output, still linking to the same link. Useful for if you've already described the block's details and now just want to say something like "convenience link".
Examples
{{blockrequest|Example}} has the same effect as {{blockrequest|Example|indefinite|anononly=yes|autoblock=yes|accountcreation=no|talk=yes|email=yes|wiki=en}} (the anononly does nothing, but is harmless, and the template knows not to include it in the written-out block details). The written-out details only mention autoblock if it's disabled, since enabling it is standard for all for-cause blocks.
For a partial block, {{blockrequest|Example|pages=Main Page{{!}}Draft:Sandbox|namespaces=4{{!}}5}} (remembering that account creation is allowed by default for p-blocks) gives
The template will throw an error if you specify more than ten pages, as this is the most that Special:Block supports. {{blockrequest|Example|pages=One{{!}}Two{{!}}Three{{!}}Four{{!}}Five{{!}}Six{{!}}Seven{{!}}Eight{{!}}Nine{{!}}Ten{{!}}Eleven}} gives
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.