Module:Sensitive IP addresses/summary/doc
Jump to navigation
Jump to search
This is the documentation page for Module:Sensitive IP addresses/summary
This module is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this module's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this module. Please discuss any changes on the talk page before implementing them. |
This module generates a wikitable summarizing IP ranges that Wikipedia considers sensitive. It is used by Template:Sensitive IP addresses.
Sample output
IPv4 | IPv6 | Description |
---|---|---|
143.228.0.0/16, 143.231.0.0/16, 137.18.0.0/16, 12.185.56.0/29, 12.147.170.144/28, 74.119.128.0/22 | 2620:0:e20::/46 | The United States House of Representatives |
156.33.0.0/16 | 2620:0:8a0::/48, 2600:803:618::/48 | The United States Senate |
165.119.0.0/16, 198.137.240.0/23, 204.68.207.0/24 | 2620:10F:B000::/40 | The Executive Office of the President of the United States |
149.101.0.0/16 | 2607:f330::/32 | The United States Department of Justice |
65.165.132.0/24, 204.248.24.0/24, 216.81.80.0/20 | 2600:400::/32 | The United States Department of Homeland Security |
131.132.0.0/14, 131.136.0.0/14, 131.140.0.0/15 | The Canadian Department of National Defence | |
192.197.82.0/24 | The Canadian House of Commons | |
194.60.0.0/18 | The Parliament of the United Kingdom | |
138.162.0.0/16 | The United States Department of the Navy and the United States Marine Corps | |
91.198.174.0/24, 185.15.56.0/22, 198.35.26.0/23, 208.80.152.0/22 | 2620:0:860::/46, 2a02:ec80::/32 | The Wikimedia Foundation |
Usage
{{#invoke:Sensitive IP addresses/summary|table | reason = | rangeseparator = | notes = yes/no | mainheader = | class = | style = | cellstyle = }}
Parameters
reason
- filter the entries by the reason they are sensitive. The available reasons arepolitical
andtechnical
. (optional)rangeseparator
- a custom separator for IP ranges in entries with multiple IP ranges. The default is ", ".notes
- set to "yes" to show the "Notes" column. (optional)mainheader
- A custom header row at the top, spanning the whole width of the table. (optional)class
- custom HTML class for the main<table>...</table>
element. (optional)style
- custom CSS styles for the main<table>...</table>
element. (optional)cellstyle
- custom CSS styles for every<th>...</th>
and<td>...</td>
element. (optional)