Difference between revisions of "Template:Indefblockedip"

From blackwiki
Jump to navigation Jump to search
imported>ToThAc
m
imported>DannyS712
(substitute blocked user template - being deleted, and this template should still work)
Line 1: Line 1:
{{blocked user|ip}}{{#if:{{{reason|{{{1|}}}}}}|The blocking administrator commented: <em>{{{reason|{{{1|}}}}}}</em>.}}<noinclude>
+
{{mbox
 +
|type  = notice
 +
|image = {{#if:|[[File:Stop x nuvola with clock.svg|40px|alt=]]|[[File:Stop x nuvola.svg|40px|alt=]]}}
 +
|text  = <div>
 +
'''This {{#ifeq:ip|ip
 +
|[[IP address]]
 +
|user
 +
}} has been [[Wikipedia:Blocking policy|blocked {{#if:|
 +
|indefinitely
 +
}}]] from editing Wikipedia{{#if:
 +
|&#x20;for a period of {{{time}}}
 +
}}{{#if:
 +
|&#x20;by {{{by}}}
 +
}}.'''{{#ifeq:{{NAMESPACE}}|User talk
 +
|{{#ifeq:ip|historical
 +
  |<br />  For the previous version of page, please see <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|&direction=prev&oldid={{REVISIONID}}}} here]</span>.
 +
}}
 +
}}<br /><small>(see: [{{fullurl:Special:Log|type=block&page=User:{{urlencode:{{PAGENAME}}}}}} block log]{{int:dot-separator}} [[Special:Contributions/{{PAGENAME}}|contributions]]{{int:dot-separator}} [//tools.wmflabs.org/xtools/autoblock/index.php?user={{urlencode:{{PAGENAME}}}} current autoblocks]{{#if:|{{·}} {{{link}}}}}{{#if:|{{int:dot-separator}} {{{link2}}}}}{{#if:|{{int:dot-separator}} {{{link3}}}}})</small>
 +
</div>
 +
}}{{#switch:ip
 +
|ip={{#if:|
 +
  |[[Category:Indefinitely blocked IP addresses]]
 +
}}
 +
|historical=
 +
}}__NOINDEX__<!-- Template:Blocked_user -->{{#if:{{{reason|{{{1|}}}}}}|The blocking administrator commented: <em>{{{reason|{{{1|}}}}}}</em>.}}<noinclude>
  
 
<!-- ADD CATEGORIES AND INTERWIKIS TO THE /doc PAGE, NOT HERE, THANKS -->
 
<!-- ADD CATEGORIES AND INTERWIKIS TO THE /doc PAGE, NOT HERE, THANKS -->

Revision as of 01:12, 28 April 2019

50px Template documentation[view] [edit] [history] [purge]

Usage

{{indefblockedip|reason=reason why IP is indefinitely blocked}}

It also supports a reason parameter for backwards-compatibility, which will be displayed below the box.

See also