Template:Block-reason/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(noting simplification)
(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))
* The reason is optional and is invoked through an unnamed parameter (e.g. {{tlxs|Block-reason|''Somereason''}}). Keywords exist as follows:
* {{para||reason}} (optional):
** '''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||