模板:KeepFake/doc

维基百科,自由的百科全书
跳转到导航 跳转到搜索
  • {{k}}

说明[编辑]

本模板用来对符合快速保留标准的页面打上保留标记,以便管理员根据保留守则决定是否将其快速保留。

本模板必须用参数1描述被速留的理由,这些理由必须是快速保留标准里所列举的。如果没有填写该参数,最终的模板会在右上角提示没出错,单击没出错提示会给出相应的详细帮助。

用法[编辑]

{{KeepFake|快速保留理由}}

其中快速保留理由参数填写处理描述,也可以用快速保留标准的简化符号。 例如{{KeepFake|G1}}显示为

另外还可以用c1c10参数附加讯息,这不会列入自动产生的保留理由,例如{{KeepFake|G1|c1=G1附加訊息}}显示为

复合用法:{{KeepFake|G1|c1=*G1附加訊息|c2=**G1的第二個附加訊息|3=G2|c3=*G2附加訊息}}显示为

根据WP:CSXK操作指引,仍要在页面创建者的用户讨论页添加“{{subst:Sk-notice}}--~~~~”提醒。

CSS 及 Javascript 页面[编辑]

如用户欲请求保留其位于 User: 命名空间的CSSJavaScript页面(名称以.css.js结尾),可使用以下格式:

//{{KeepFake|O1}}

或是

/* {{KeepFake|O1}} */

页面不会显示快速保留的资讯文字,但会被列入Category:快速保留候选,让管理员处理。

模板数据[编辑]

以下是该模板的模板数据,适用于可视化编辑器等工具。

KeepFake模板数据

templatedata

<templatedata> { "params": { "1": { "description": "保留理由", "example": "G1", "required": true, "type": "string" }, "2": { "description": "保留理由", "example": "G1", "type": "string" }, "3": { "description": "保留理由", "example": "G1", "type": "string" }, "4": { "description": "保留理由", "example": "G1", "type": "string" }, "5": { "description": "保留理由", "example": "G1", "type": "string" }, "6": { "description": "保留理由", "example": "G1", "type": "string" }, "7": { "description": "保留理由", "example": "G1", "type": "string" }, "8": { "description": "保留理由", "example": "G1", "type": "string" }, "9": { "description": "保留理由", "example": "G1", "type": "string" }, "10": { "description": "保留理由", "example": "G1", "type": "string" }, "c1": { "description": "针对第1个理由的附加讯息", "example": "因为...所以符合G1", "type": "string" }, "c2": { "description": "针对第2个理由的附加讯息", "example": "因为...所以符合G1", "type": "string" }, "c3": { "description": "针对第3个理由的附加讯息", "example": "因为...所以符合G1", "type": "string" }, "c4": { "description": "针对第4个理由的附加讯息", "example": "因为...所以符合G1", "type": "string" }, "c5": { "description": "针对第5个理由的附加讯息", "example": "因为...所以符合G1", "type": "string" }, "c6": { "description": "针对第6个理由的附加讯息", "example": "因为...所以符合G1", "type": "string" }, "c7": { "description": "针对第7个理由的附加讯息", "example": "因为...所以符合G1", "type": "string" }, "c8": { "description": "针对第8个理由的附加讯息", "example": "因为...所以符合G1", "type": "string" }, "c9": { "description": "针对第9个理由的附加讯息", "example": "因为...所以符合G1", "type": "string" }, "c10": { "description": "针对第10个理由的附加讯息", "example": "因为...所以符合G1", "type": "string" } }, "description": "本模板用来对符合快速保留标准的页面打上保留标记,以便管理员根据保留守则决定是否将其快速保留。", "paramOrder": [ "1", "c1", "2", "c2", "3", "c3", "4", "c4", "5", "c5", "6", "c6", "7", "c7", "8", "c8", "9", "c9", "10", "c10" ] } </templatedata>

参看[编辑]