Template:Block-reason/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
11 revisions imported from wikipedia:Template:Block-reason/doc
(update "p" is now "page" and "reason" is just an unnamed parameter)
m (11 revisions imported from wikipedia:Template:Block-reason/doc)
 
(3 intermediate revisions by 3 users not shown)
Line 1:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{substituted}}
{{esoteric}}
=== Usage ===
All parameters 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.
== Usage ==
*''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||x}} (required): Length of the block. ('''indef''' for indefinitely, otherwise a set length (e.g., 30 days))
**''o'': Another reason for the block.
* The reason is optional and is invoked through an unnamed parameter (e.g. {{tlxs|Block-reason|''Somereason''}}). Keywords exist as follows:
*''p'': Page block is based on.
** '''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., {{tlxs|Block-reason|for disruptive editing and poor etiquette}}
* {{para||page}} (optional for all except 3RR): Page block is based on.
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox other||
{{pp-semi|small=yes}}
<!-- Categories go here and interwikis go in Wikidata. -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:User block templates]]
}}</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu