Template:IPnr
{{{1}}}. {{{2}}}
- Application
- To display IP addresses such that the full address cannot be captured by the crawler of a search engine. Between the first and second octet of the address, a one pixel wide non braking space is inserted.
- Usage
- {{IPnr
- | <1st octet (w/o dot) >
- | <2nd up to including 4th octet (with dots between the octets) >
- [|<range (w/o slash)>
- [|<link parm>
- [|<position parm>
- [|<2nd up to including 4th octet of upper range limit (special cases)>]]]]}}
- Note: New lines are only shown for readability
- Parameters
- <link parm>
- Determines what clickable links are displayed. The following values apply:
- 1 - shows the IP as a clickable link to contributions of the IP;
- 2 - shows link to user page of the IP;
- 4 - shows link to talk page of the IP;
- 8 - shows link to current block list, filtered for the IP(/range);
- 16 - shows link to block log for the IP[/range];
- 32 - shows link to page to block the IP[/range] for 1 hour (default). Only useful for special applications.
- The values may be bitwise OR'ed (similar to many program languages). In other words: may be added to get any combination of links.
- <position parm>
- If not empty or <>0: positions the strings with links below the IP, otherwise these are following the IP on the same line. Should be used within a block element, such as a table cell, as the links will center align.
- Parameters that are not used, may be left empty.
- Ranges
- There are two types of IP ranges
- CIDR ranges, e.g. 123.123.123.0/24
- Non-CIDR ranges
- The latter are frequently found in the allocation of IP-address ranges by for instance a provider to a customers or DHCP allocated addresses for certain purposes, as can be found by querying the WHOIS dataase of a RIR.
- An example would be: 123.123.123.0 - 123.123.124.255.
- Such a range cannot be written as a single CIDR range, but consists of two CIDR ranges, i.e. 123.123.123.0/24 and 123.123.124.0/24. Please note that this is a very simple example, much more complicated cases do exist in reality.
- Examples
-
- {{IPnr|123|123.123.123}} gives 123. 123.123.123
- {{IPnr|123|123.123.0|24}} gives 123. 123.123.0/24
- {{IPnr|123|123.123.0||||123.124.255}} gives 123. 123.123.0 - 123. 123.124.255
- {{IPnr|123|123.123.123||7}} gives 123. 123.123.123
- {{IPnr|123|123.123.123||13}} gives 123. 123.123.123
- {{IPnr|123|123.123.0|24|24}} gives 123. 123.123.0/24
- <table align=center><td>{{IPnr|123|123.123.0|24|32|1}}</td></table> gives
123. 123.123.0/24 (block)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.