Difference between revisions of "Template:Indefblockedip"

From blackwiki
Jump to navigation Jump to search
imported>DannyS712
(substitute blocked user template - being deleted, and this template should still work)
imported>DannyS712
(clean up substitution)
Line 1: Line 1:
 
{{mbox
 
{{mbox
 
|type  = notice
 
|type  = notice
|image = {{#if:|[[File:Stop x nuvola with clock.svg|40px|alt=]]|[[File:Stop x nuvola.svg|40px|alt=]]}}
+
|image = [[File:Stop x nuvola.svg|40px|alt=]]
 
|text  = <div>
 
|text  = <div>
'''This {{#ifeq:ip|ip
+
'''This [[IP address]] has been [[Wikipedia:Blocking policy|blocked indefinitely]] from editing Wikipedia.'''<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>
|[[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>
 
</div>
}}{{#switch:ip
+
}}__NOINDEX__{{#if:{{{reason|{{{1|}}}}}}|The blocking administrator commented: <em>{{{reason|{{{1|}}}}}}</em>.}}<noinclude>
|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:15, 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