Difference between revisions of "Template:Block-reason/doc"

From blackwiki
Jump to navigation Jump to search
imported>Meteor sandwich yum
(noting simplification)
imported>Meteor sandwich yum
(update "p" is now "page" and "reason" is just an unnamed parameter)
Line 6: Line 6:
 
== Usage ==
 
== Usage ==
 
* {{para||x}} (required): Length of the block. ('''indef''' for indefinitely, otherwise a set length (e.g., 30 days))
 
* {{para||x}} (required): Length of the block. ('''indef''' for indefinitely, otherwise a set length (e.g., 30 days))
* {{para||reason}} (optional):
+
* The reason is optional and is invoked through an unnamed parameter (e.g. {{tlxs|Block-reason|''Somereason''}}). Keywords exist as follows:
 
** '''blanking''' for page blanking
 
** '''blanking''' for page blanking
 
** '''vandalism''' for vandalism
 
** '''vandalism''' for vandalism
 
** '''pa''' for personal attacks
 
** '''pa''' for personal attacks
 
** '''spam'''
 
** '''spam'''
** '''3RR''' on ''p'' (must be specified)
+
** '''3RR''' on ''page'' (must be specified)
 
** '''sock''' for using sockpuppets abusively
 
** '''sock''' for using sockpuppets abusively
** if none of the above keywords are specified, a custom reason may be given: e.g., {{tlxs|Block-reason|reason{{=}}for disruptive editing and poor etiquette}}
+
** if none of the above keywords are specified, a custom reason may be given: e.g., {{tlxs|Block-reason|for disruptive editing and poor etiquette}}
* {{para||p}} (optional for all except 3RR): Page block is based on.
+
* {{para||page}} (optional for all except 3RR): Page block is based on.
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||

Revision as of 08:07, 10 May 2014

Template:Substituted

Usage

  • |x (required): Length of the block. (indef for indefinitely, otherwise a set length (e.g., 30 days))
  • The reason is optional and is invoked through an unnamed parameter (e.g. {{subst:block-reason|Somereason}}). Keywords exist as follows:
    • blanking for page blanking
    • vandalism for vandalism
    • pa for personal attacks
    • spam
    • 3RR on page (must be specified)
    • sock for using sockpuppets abusively
    • if none of the above keywords are specified, a custom reason may be given: e.g., {{subst:block-reason|for disruptive editing and poor etiquette}}
  • |page (optional for all except 3RR): Page block is based on.