Template talk:Proxyip/blocklink
Add topicAppearance
Documentation
[edit]Usage
[edit]This parameter is intended for use within other templates, specifically {{proxyip}} and {{torip}}.
Simple
[edit]{{blocklink |ip = |domain = |name = }}
With all optional parameters
[edit]{{blocklink |ip = |domain = OR |domain = local |name = |reason = |length = |anononly = |blocknew = |unblock = |anonymising = |autoblock = |note = }}
Parameters
[edit]Toggles
[edit]parameter | explanation | type | default value |
---|---|---|---|
unblock | switches between a block and unblock link. | optional | off (block link) |
anonymising | switches between preset reasons. | optional | off (non-anonymising) |
anononly | do not block registered users. | optional | off (block both registered and anonymous) |
blocknew | block account creation. | optional | on (block account creation). |
domain=local | link to the forms on the current project. | optional | not set. |
autoblock | Toggle the autoblock feature. | optional. | off (disable autoblock). |
Values
[edit]parameter | explanation | type | default value |
---|---|---|---|
ip | The IP address to be blocked. | normal | 127.0.0.1 |
domain | the target language code and domain. | normal | meta.wikimedia |
name | the link name. | normal | m |
reason | The block reason. | optional override | complex (see "Reason parameter") |
note | Add a comment to the reason visible only in the block log. | optional | not set (no comment) |
length | The block duration. | optional override. | indefinite |
Reason parameter
[edit]The reason parameter uses conditional programming and toggles to switch between several preset values (see table below). You can use the reason parameter to define a custom reason.
parameters | Default reason |
---|---|
open proxy or zombie (see MetaProject on open proxies for more information) | |
|anonymising=1 | anonymising proxy exit node (see MetaProject on open proxies for more information) |
|unblock=1 | No longer an open proxy |
|unblock=1|anonymising=1 | No longer an anonymising proxy exit node |