Template:Block notice/inner: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Undid revision 613278706 by Callanecc (talk))
m (47 revisions imported from wikipedia:Template:Block_notice/inner)
 
(24 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<includeonly>{{substituted|auto=yes}}</includeonly>{{Twinkle standard installation}}
<includeonly>{{substituted|auto=yes}}{{{banners|}}}</includeonly>
{{#if:{{{s1|}}}|{{template shortcut|{{{s1}}}|{{{s2|}}}|{{{s3|}}}|{{{s4|}}}}}}}
<ul>
<li> This template has been carefully designed based on guidelines by the [[Wikipedia:WikiProject User warnings|user warnings project]].</li>
This template is used to notify a user that they have been blocked. It informs them of the reason for their block and describes the steps they can take if they wish to continue editing. It has been carefully designed based on guidelines by the [[Wikipedia:WikiProject User warnings|user warnings project]].
<li> Please refer to the [[Wikipedia:Template messages/User talk namespace|index of message templates]] before using any template on user talk pages to warn a user. Applying the best template available for your purpose may help reduce confusion from the message you are sending. '''Note:''' ''Only [[Wikipedia:Administrators|administrators]] can block users''; adding a block template does not constitute a block. See [[Wikipedia:Requests for administrator attention|RFAA]] to request that a user be [[Wikipedia:Blocking policy|blocked]].</li>
<li> Please remember to [[Help:Substitution|substitute]] the template by using <code><nowiki>{{subst:</nowiki>{{PAGENAME}}}}</code> rather than <code><nowiki>{{</nowiki>{{PAGENAME}}}}</code>.</li>
*Although this template '''must be substituted''' in the user talk page, it has also been designed to display properly when substitution is not possible.
<li> This template uses a [[Help:Magic words#Parser functions|parser function]]. {{#switch:{{PAGENAME}}
|Uw-block
|Uw-adblock
|Uw-botblock
|Uw-dblock
|Uw-hblock
|Uw-lblock
|Uw-npblock
|Uw-sblock
|Uw-vblock=For a temporary block, indicate the time of the block in this manner: <tt><nowiki>{{subst:</nowiki>{{PAGENAME}}{{!}}time=''Duration''<nowiki>}}</nowiki></tt>, or the default text displayed will be "temporarily [[Wikipedia:Blocking policy|blocked]]". To indicate an indefinite block, use the syntax <tt><nowiki>{{subst:</nowiki>{{PAGENAME}}{{!}}indef=yes<nowiki>}}</nowiki></tt>.
|Uw-compblock=Use <code>shared=yes</code> if the account was blocked because multiple people are using the account.
|#default=
}} To give greater detail to your message, you may specify: the block duration, a specific reason for the block, and auto-include your signature.


Please refer to the [[Wikipedia:Template messages/User talk namespace|index of message templates]] before using any template on user talk pages to warn a user. Applying the best template available for your purpose may help reduce confusion from the message you are sending.
:<code><nowiki>{{subst:</nowiki>{{PAGENAME}}{{#switch:{{PAGENAME}}|Uw-ablock=|#default={{!}}'''anon'''=yes}}{{!}}<font color=#c00>'''time'''</font>=''Duration''{{!}}<font color=#c00>'''reason'''</font>=''For a different reason''{{#switch:{{PAGENAME}}|Uw-blocknotalk=|#default={{!}}'''notalk'''=yes}}{{!}}<font color=#c00>'''page'''</font>=''Targeted page''{{!}}'''sig'''=yes{{#switch:{{PAGENAME}}|Uw-csblock={{!}}'''log'''=''Log of sanctions''|#default=}}<nowiki>}}</nowiki></code></li>
:'''Notes:'''
:*If you do not set a block expiry, replace <code>time=''Duration''</code> with <code>indef=yes</code>.
:*An already '''indefinite''' block template does not require the <code>time</code> or <code>indef</code> parameters. {{#switch:{{PAGENAME}}
|Uw-ablock =
|#default =
:*If not blocking an anonymous user, omit the <code>anon</code> parameter.}}
:*Include the <code>page</code> parameter to refer to a page on which the conduct supporting the block occurred.
:*The <code>notalk</code> parameter should '''always be omitted''' unless the user cannot edit their own talk page.
:*The optional <code>for</code> parameter can be used if the word "for" before the block reason doesn't grammatically work. For example, if <code>for=per</code> is written, the block notice will say "blocked from editing per". Don't use this parameter if you don't want to change the word "for".


'''Note:''' ''Only [[Wikipedia:Administrators|administrators]] can block users''; adding a block template does not constitute a block. See [[Wikipedia:Requests for administrator attention|RFAA]] to request that a user be [[Wikipedia:Blocking policy|blocked]].
*The message for the unblock process can be found at [[Template:Uw-block/unblock]].
<li>See also [[Template:Blocked user]] for user page notices.</li></ul>


== Usage ==
{{Uw-block/doc/Block templates}}
Please remember to [[Help:Substitution|substitute]] the template by using <code><nowiki>{{subst:</nowiki>{{PAGENAME}}}}</code> rather than <code><nowiki>{{</nowiki>{{PAGENAME}}}}</code>. (Although this template '''must be substituted''' in the user talk page, it has also been designed to display properly when substitution is not possible.) {{#ifeq:{{{temp or indef|yes}}}|yes|<p>For a temporary block, indicate the time of the block in this manner: <code><nowiki>{{subst:</nowiki>{{PAGENAME}}{{!}}time=''Duration''<nowiki>}}</nowiki></code>, or the default text displayed will be "temporarily [[Wikipedia:Blocking policy|blocked]]". To indicate an indefinite block, use the syntax <code><nowiki>{{subst:</nowiki>{{PAGENAME}}{{!}}indef=yes<nowiki>}}</nowiki></code>. </p>}}{{{extra usage before|}}}
<includeonly>
[[Category:User block templates]]


To give greater detail to your message, you may specify: the block duration, a specific reason for the block, and auto-include your signature.
</includeonly>

:<code><nowiki>{{subst:</nowiki>{{PAGENAME}}{{#ifeq:{{{allow anon|yes}}}|yes|{{!}}'''anon'''=yes}}{{!}}<span style="color:#c00;">'''time'''</span>=''Duration''{{!}}<span style="color:#c00;">'''reason'''</span>=''For a different reason''{{#ifeq:{{{allow notalk|yes}}}|yes|{{!}}'''notalk'''=yes}}{{!}}<span style="color:#c00;">'''page'''</span>=''Targeted page''{{!}}'''sig'''=yes{{{extra params|}}}<nowiki>}}</nowiki></code>

== Notes ==
* If you do not set a block expiry, replace <code>time=''Duration''</code> with <code>indef=yes</code>.
* An already '''indefinite''' block template does not require the <code>time</code> or <code>indef</code> parameters. {{#ifeq:{{{allow anon|yes}}}|yes|
* If not blocking an anonymous user, omit the <code>anon</code> parameter.}}
* Include the <code>page</code> parameter to refer to a page on which the conduct supporting the block occurred.{{#ifeq:{{{allow notalk|yes}}}|yes|
* The <code>notalk</code> parameter should '''always be omitted''' unless the user cannot edit their own talk page.}}
* The optional <code>for</code> parameter can be used if the word "for" before the block reason doesn't grammatically work. For example, if <code>for=per</code> is written, the block notice will say "blocked from editing per". Don't use this parameter if you don't want to change the word "for".

== See also ==
* The message for the unblock process can be found at [[Template:Uw-block/unblock]].{{#if:{{{see also|}}}|<nowiki/>
{{{see also|}}}
}}
{{Block templates}}

Latest revision as of 16:13, February 4, 2022


This template is used to notify a user that they have been blocked. It informs them of the reason for their block and describes the steps they can take if they wish to continue editing. It has been carefully designed based on guidelines by the user warnings project.

Please refer to the index of message templates before using any template on user talk pages to warn a user. Applying the best template available for your purpose may help reduce confusion from the message you are sending.

Note: Only administrators can block users; adding a block template does not constitute a block. See RFAA to request that a user be blocked.

Usage

Please remember to substitute the template by using {{subst:Block notice/inner}} rather than {{Block notice/inner}}. (Although this template must be substituted in the user talk page, it has also been designed to display properly when substitution is not possible.)

For a temporary block, indicate the time of the block in this manner: {{subst:Block notice/inner|time=Duration}}, or the default text displayed will be "temporarily blocked". To indicate an indefinite block, use the syntax {{subst:Block notice/inner|indef=yes}}.

To give greater detail to your message, you may specify: the block duration, a specific reason for the block, and auto-include your signature.

{{subst:Block notice/inner|anon=yes|time=Duration|reason=For a different reason|notalk=yes|page=Targeted page|sig=yes}}

Notes

  • If you do not set a block expiry, replace time=Duration with indef=yes.
  • An already indefinite block template does not require the time or indef parameters.
  • If not blocking an anonymous user, omit the anon parameter.
  • Include the page parameter to refer to a page on which the conduct supporting the block occurred.
  • The notalk parameter should always be omitted unless the user cannot edit their own talk page.
  • The optional for parameter can be used if the word "for" before the block reason doesn't grammatically work. For example, if for=per is written, the block notice will say "blocked from editing per". Don't use this parameter if you don't want to change the word "for".

See also

Template:Uw-block/doc/Block templates/All