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 '' |
** '''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| |
** 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|| |
* {{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, May 10, 2014
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}}). |
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. Template:Tlxs). 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., Template:Tlxs
|page
(optional for all except 3RR): Page block is based on.