Template:Blockrequest/doc
This is a documentation subpage for Template:Blockrequest. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]{{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 amet
will 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). pages
andnamespaces
(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
[edit]{{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