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]]. |
<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}}<!-- |
|||
⚫ | |||
-->{{#ifeq:{{{docanon|}}}|auto| |
|||
:*If you do not set a block expiry, replace <code>time=''Duration''</code> with <code>indef=yes</code>. |
|||
|{{!}}'''anon'''=yes}}<!-- |
|||
⚫ | |||
-->{{#ifeq:{{{doctime|}}}|auto| |
|||
|Uw-ablock = |
|||
|{{!}}<font color=#c00>'''time'''</font>=''Duration''}}<!-- |
|||
|#default = |
|||
-->{{#ifeq:{{{docreason|}}}|auto| |
|||
⚫ | |||
|{{!}}<font color=#c00>'''reason'''</font>=''For a different reason''}}<!-- |
|||
⚫ | |||
-->{{#ifeq:{{{docnotalk|}}}|auto| |
|||
⚫ | |||
|{{!}}'''notalk'''=yes}}<!-- |
|||
-->{{#ifeq:{{{docpage|}}}|auto| |
|||
|{{!}}<font color=#c00>'''page'''</font>=''Targeted page''}}{{!}}'''sig'''=yes<nowiki>}}</nowiki></code></li> |
|||
⚫ | |||
-->{{#ifeq:{{{doctime|}}}|auto| |
|||
⚫ | |||
-->{{#ifeq:{{{docindef|}}}|auto| |
|||
|:*To indicate an indefinite block, use the syntax <tt><nowiki>{{subst:</nowiki>{{PAGENAME}}{{!}}indef=yes<nowiki>}}</nowiki></tt>.}} |
|||
⚫ | |||
-->{{#ifeq:{{{docanon|}}}|auto| |
|||
⚫ | |||
-->{{#ifeq:{{{docpage|}}}|auto| |
|||
⚫ | |||
-->{{#ifeq:{{{docnotalk|}}}|auto| |
|||
⚫ | |||
<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
withindef=yes
. - An already indefinite block template does not require the
time
orindef
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.
- If you do not set a block expiry, replace
- See also Template:Blocked user for user page notices.