Template:Block notice/inner: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(minor fixes) |
m (Replace definition-list syntax (see MOS:DEFLIST) with section-heading syntax per MOS:HEAD.) |
||
Line 13: | Line 13: | ||
:<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></li> |
:<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></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. {{#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 === |
=== See also === |