模板:SPIpriorcases
此模板被小工具、Common.js或用户工具使用。 如果您打算移动、删除或修改此页面而无法向下兼容,并会影响相关工具运作时,请先通知相关工具的维护者,谢谢您。 相关的工具:User:Xiplus/js/spihelper.js |
相关的小工具对于Wikipedia:傀儡调查的格式相当敏感,请勿擅自变更任何文字、空白、换行。 |
此模板被引用于约3,300个页面。 为了避免造成大规模的影响,所有对此模板的编辑应先于沙盒、测试样例或您的沙盒上测试。 测试后无误的版本可以一次性地加入此模板中,但是修改前请务必于讨论页发起讨论。 模板引用数量会自动更新。 |
Usage
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
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.