Template:Block notice/inner: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(being deleted)
(ce)
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>
:<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>


=== 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>.
* An already '''indefinite''' block template does not require the <code>time</code> or <code>indef</code> parameters. {{#ifeq:{{{allow anon|yes}}}|yes|
* An already '''indefinite''' block template does not require the <code>time</code> or <code>indef</code> parameters. {{#ifeq:{{{allow anon|yes}}}|yes|
Line 21: Line 21:
* 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".
* 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 ==
* The message for the unblock process can be found at [[Template:Uw-block/unblock]].
* The message for the unblock process can be found at [[Template:Uw-block/unblock]].