Template:Block notice/inner: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Updating documentation for uw-npblock) |
(Simplify documentation and indicate which block notices can accept time or indef) |
||
Line 3:
* Please refer to the [[Wikipedia:Template messages/User talk namespace|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 [[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 blocked.
* Please remember to [[Help:Substitution|substitute]] the template using <tt><nowiki>{{subst:</nowiki>{{PAGENAME}}}}</tt> rather than <tt><nowiki>{{</nowiki>{{PAGENAME}}}}</tt>.
* This template uses a [[Wikipedia:Parser functions|parser function]].
{{#switch:{{PAGENAME}}
|Uw-sblock
|Uw-sblock=* This template uses several [[Wikipedia:Parser functions|parser function]]s. For a temporary block due to spamming, indicate the time of the block in this manner: <tt><nowiki>{{subst:</nowiki>uw-sblock{{!}}time=''Duration''<nowiki>}}</nowiki></tt>, or the default text displayed will be "temporarily [[Wikipedia:Blocking policy|blocked]]". To indicate an indefinite block due to spamming, use the syntax <tt><nowiki>{{subst:</nowiki>uw-sblock{{!}}indef=yes<nowiki>}}</nowiki></tt>.▼
|Uw-npblock
▲ |Uw-
|#default=* This template uses a [[Wikipedia:Parser functions|parser function]]. To give greater detail to your message, you may specify: {{#switch:{{PAGENAME}}|Uw-block3|Uw-ublock|Uw-uhblock=|#default=the block duration,}} a specific reason for the block, and auto-include your signature: <tt><nowiki>{{subst:</nowiki>{{PAGENAME}}{{#switch:{{PAGENAME}}|Uw-block3|Uw-ublock|Uw-uhblock=|#default={{!}}time=''Duration''}}{{!}}reason=''For a different reason''{{!}}sig=<''any text''><nowiki>}}</nowiki></tt>.▼
|#default
}}
▲
}}
|