Template:KeepFake/doc

来自Local Chinese Wikipedia
跳转到导航 跳转到搜索
  • {{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>

參看[编辑]