1,453 bytes added
, 05:56, 16 July 2021
{{used in system}}
This module generates a wikitable summarizing [[WP:SIP|IP ranges that Wikipedia considers sensitive]]. It is used by [[Template:Sensitive IP addresses]].
== Sample output ==
{{#invoke:Sensitive IP addresses/summary|table|class=wikitable}}
== Usage ==
<pre>
{{#invoke:Sensitive IP addresses/summary|table
| reason =
| rangeseparator =
| notes = yes/no
| mainheader =
| class =
| style =
| cellstyle =
}}
</pre>
== Parameters ==
* <code>reason</code> - filter the entries by the reason they are sensitive. The available reasons are <code>{{#invoke:Sensitive IP addresses/API|_getSensitivityReasons|</code>, <code>|</code> and <code>}}</code>. (optional)
* <code>rangeseparator</code> - a custom separator for IP ranges in entries with multiple IP ranges. The default is ", ".
* <code>notes</code> - set to "yes" to show the "Notes" column. (optional)
* <code>mainheader</code> - A custom header row at the top, spanning the whole width of the table. (optional)
* <code>class</code> - custom HTML class for the main {{tag|table}} element. (optional)
* <code>style</code> - custom CSS styles for the main {{tag|table}} element. (optional)
* <code>cellstyle</code> - custom CSS styles for every {{tag|th}} and {{tag|td}} element. (optional)
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
}}</includeonly>