![]() | This is a documentation subpage for Template:Block-reason. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template should always be substituted (i.e., use {{subst:Block-reason}} ). |
![]() | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
editUnlike other block templates, there is no need to specify a signature as this template is automatically signed. Please remember to substitute this template.
All parameters are optional:
- x: Length of the block. (ind for indefinitely, otherwise length for temporarily) If x is not specified, assumes a temporary block without specifying a block end time.
- r: Reason for the block. (v for vandalism, b for page blanking, vp for vandalism to p, pa for personal attacks, s for spam, 3 for 3RR on p, sock for using sockpuppets abusively, o for other)
- o: Another reason for the block.
- p: Page block is based on.
The template can be implemented using either {{subst:Block-reason}}
or {{subst:b-r}}
Example uses:
{{subst:b-r|r=v|x=ind}}
Indefinite block for vandalism{{subst:b-r|r=o|o=disruptive editing|x=31 hours|p=Target}}
31 hour block for disruptive editing on "Target" article