Template:SPIpriorcases/doc
This is a documentation subpage for Template:SPIpriorcases. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 70,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]This template will be added to all new cases on first creation, and will link to the prior cases in RFCU and SSP
Once a case is archived, it remains in the archive ONLY, and isn't added to the top of new cases.
In the archive page, it generates the L4 header at the top of the case that is supplied by {{SPI archive notice}}
on live pages.
It will also detect archives created of SPI archive pages (that is, Wikipedia:Sockpuppet investigations/USERNAME/Archive/1
).
Explicit case name parameter
[edit]By default this template parses the case name from the page title using #titleparts
, however this can cause issues when the case name contains special characters. To work around this, the template accepts a parameter for the case name, in which you can use HTML entities.
For example: {{SPIpriorcases|1=*Foo}}
, with the entity standing in for an asterisk and preventing this issue.