Template:Block-reason/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Reverted 6 edits by Meteor sandwich yum (talk): I reverted my changes to the template; so I'm reverting the documentation. I admit it was bad form. (TW)
(update "p" is now "page" and "reason" is just an unnamed parameter)
(Reverted 6 edits by Meteor sandwich yum (talk): I reverted my changes to the template; so I'm reverting the documentation. I admit it was bad form. (TW))
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.
 
* {{para||''x}} (required)'': Length of the block. ('''indefind''' for indefinitely, otherwise a set length (e.g., 30for days)temporarily)
== 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||
{{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