Template:Block notice/inner: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (Oops.)
m (Okay, it's not going to work yet, but it will somehow. I know it.)
Line 6: Line 6:
<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>
<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.
*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 [[Wikipedia:Parser functions|parser function]]. To give greater detail to your message, you may specify: the block duration, a specific reason for the block, and auto-include your signature.
<li> This template uses a [[Wikipedia: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>.
|#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.


:<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<nowiki>}}</nowiki></code></li>
:<code><nowiki>{{subst:</nowiki>{{PAGENAME}}<!--
:'''Notes:'''
-->{{#ifeq:{{{docanon|}}}|auto|
:*If you do not set a block expiry, replace <code>time=''Duration''</code> with <code>indef=yes</code>.
|{{!}}'''anon'''=yes}}<!--
:*An already '''indefinite''' block template does not require the <code>time</code> or <code>indef</code> parameters. {{#switch:{{PAGENAME}}
-->{{#ifeq:{{{doctime|}}}|auto|
|Uw-ablock =
|{{!}}<font color=#c00>'''time'''</font>=''Duration''}}<!--
|#default =
-->{{#ifeq:{{{docreason|}}}|auto|
:*If not blocking an anonymous user, omit the <code>anon</code> parameter.}}
|{{!}}<font color=#c00>'''reason'''</font>=''For a different reason''}}<!--
:*Include the <code>page</code> parameter to refer to a page on which the conduct supporting the block occurred.
-->{{#ifeq:{{{docnotalk|}}}|auto|
:*The <code>notalk</code> parameter should '''always be omitted''' unless the user cannot edit their own talk page.
|{{!}}'''notalk'''=yes}}<!--
-->{{#ifeq:{{{docpage|}}}|auto|
|{{!}}<font color=#c00>'''page'''</font>=''Targeted page''}}{{!}}'''sig'''=yes<nowiki>}}</nowiki></code></li>
'''Notes:'''<!--
-->{{#ifeq:{{{doctime|}}}|auto|
|:*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]]".}}<!--
-->{{#ifeq:{{{docindef|}}}|auto|
|:*To indicate an indefinite block, use the syntax <tt><nowiki>{{subst:</nowiki>{{PAGENAME}}{{!}}indef=yes<nowiki>}}</nowiki></tt>.}}
:*An already '''indefinite''' block template does not require the <code>time</code> or <code>indef</code> parameters.<!--
-->{{#ifeq:{{{docanon|}}}|auto|
|:*If not blocking an anonymous user, omit the <code>anon</code> parameter.}}<!--
-->{{#ifeq:{{{docpage|}}}|auto|
|:*Include the <code>page</code> parameter to refer to a page on which the conduct supporting the block occurred.}}<!--
-->{{#ifeq:{{{docnotalk|}}}|auto|
|:*The <code>notalk</code> parameter should '''always be omitted''' unless the user cannot edit their own talk page.}}
<li>See also [[Template:Blocked user]] for user page notices.</li></ul>
<li>See also [[Template:Blocked user]] for user page notices.</li></ul>



Revision as of 01:00, October 5, 2010

  • This template has been carefully designed based on guidelines by WP:UW the user warnings project.
  • Please refer to the index of test 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.
  • 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.
  • This template uses a parser function. 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.
  • See also Template:Blocked user for user page notices.

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