Template:Block-reason/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Remove template of an unprotected page)
(update doc)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{substituted}}
{{substituted}}
{{esoteric}}
{{esoteric}}
=== Usage ===
All parameters optional.


== Usage ==
*''x'': Length of the block. ('''ind''' for indefinitely, otherwise length for temporarily)
* {{para||x}} (required): Length of the block. ('''ind''' for indefinitely, otherwise a set length (e.g., 30 days))
*''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)
* {{para||r}} (optional): Reason for the block. ('''b''' for page blanking, '''v''' for vandalism, '''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.
** {{para||o}} (optional): Another reason for the block.
*''p'': Page block is based on.
* {{para||p}} (optional): Page block is based on.


<includeonly>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
{{pp-semi|small=yes}}

<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:User block templates]]
[[Category:User block templates]]
</includeonly>
}}</includeonly>

Revision as of 06:32, May 10, 2014

Comment This template contains one or more optional parameters: see the talk page for details.

This template employs some extremely complicated and esoteric features of template syntax. Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.


Usage

  • |x (required): Length of the block. (ind for indefinitely, otherwise a set length (e.g., 30 days))
  • |r (optional): Reason for the block. (b for page blanking, v for vandalism, 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 (optional): Another reason for the block.
  • |p (optional): Page block is based on.