Module:Sensitive IP addresses/summary/doc: Difference between revisions

Content deleted Content added
document changes to mainheader
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1:
{{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]].
 
Line 10 ⟶ 11:
{{#invoke:Sensitive IP addresses/summary|table
| reason =
| separator rangeseparator =
| notes = yes/no
| mainheader = yes/no
| rangecalculator = yes/no
| mainheaderrule = yes/no
| class =
| style =
| cellstyle =
}}
</pre>
Line 23:
 
* <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>separatorrangeseparator</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 | |