Template:Block-reason/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(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: Line 1:
{{Documentation subpage}}
{{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}}
{{substituted}}
{{esoteric}}
{{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||
<includeonly>{{sandbox other||
{{pp-semi|small=yes}}
<!-- Categories go here and interwikis go in Wikidata. -->

<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:User block templates]]
[[Category:User block templates]]
}}</includeonly>
}}</includeonly>

Latest revision as of 19:45, February 2, 2022

Comment This template contains one or more optional parameters: see the talk page for details.

This template employs some extremely complicated and esoteric features of template syntax. Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.

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.
  • 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)
    • o: Another reason for the block.
  • p: Page block is based on.