Template:Block notice/inner: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Change log= from the log to info page if there is one)
(tidy style for better HTML5 compatibility)
Line 19: Line 19:
}} To give greater detail to your message, you may specify: the block duration, a specific reason for the block, and auto-include your signature.
}} 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{{#switch:{{PAGENAME}}|Uw-csblock={{!}}'''log'''=''Sanctions information page''|#default=}}<nowiki>}}</nowiki></code></li>
:<code><nowiki>{{subst:</nowiki>{{PAGENAME}}{{#switch:{{PAGENAME}}|Uw-ablock=|#default={{!}}'''anon'''=yes}}{{!}}<span style="color:#c00;">'''time'''</span>=''Duration''{{!}}<span style="color:#c00;">'''reason'''</span>=''For a different reason''{{#switch:{{PAGENAME}}|Uw-blocknotalk=|#default={{!}}'''notalk'''=yes}}{{!}}<span style="color:#c00;">'''page'''</span>=''Targeted page''{{!}}'''sig'''=yes{{#switch:{{PAGENAME}}|Uw-csblock={{!}}'''log'''=''Sanctions information page''|#default=}}<nowiki>}}</nowiki></code></li>
:'''Notes:'''
:'''Notes:'''
:*If you do not set a block expiry, replace <code>time=''Duration''</code> with <code>indef=yes</code>.
:*If you do not set a block expiry, replace <code>time=''Duration''</code> with <code>indef=yes</code>.

Revision as of 12:14, May 13, 2015

  • This template 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.
  • 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.
    • 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:Blocked user for user page notices.

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