行 1: |
行 1: |
| + | <noinclude>{{Documentation subpage}}</noinclude><includeonly>{{t0|D}} |
| + | {{Bot use warning|bot=[[User:Ge2bot]]}}</includeonly> |
| + | {{esoteric}} |
| + | {{lua|模块:Template:Delete}} |
| | | |
| + | == 说明 == |
| + | 本模板用来对符合[[Wikipedia:快速刪除的標準|快速刪除標準]]的页面打上删除标记,以便管理员根据删除守则决定是否将其快速删除。 |
| + | |
| + | 本模板必须用参数1描述被速删的理由,这些理由必须是快速删除标准里所列举的。如果没有填写该参数,最终的模板会在右上角提示出错,单击出错提示会给出相应的详细帮助。 |
| + | == 用法 == |
| + | :<code>{{Delete|'''快速删除理由'''}}</code> |
| + | 其中'''快速删除理由'''參數填寫處理描述,也可以用[[Wikipedia:快速刪除|快速刪除標準]]的简化符号。 |
| + | 例如<code><nowiki>{{Delete|G1}}</nowiki></code>顯示為 |
| + | {{Delete|G1|cat=}} |
| + | 另外還可以用<code>c1</code>到<code>c10</code>參數附加訊息,這不會列入自動產生的刪除理由,例如<code><nowiki>{{Delete|G1|c1=G1附加訊息}}</nowiki></code>顯示為 |
| + | {{Delete|G1|c1=G1附加訊息|cat=}} |
| + | 複合用法:<code><nowiki>{{Delete|G1|c1=*G1附加訊息|c2=**G1的第二個附加訊息|3=G2|c3=*G2附加訊息}}</nowiki></code>顯示為 |
| + | {{Delete|G1|c1=*G1附加訊息|c2=**G1的第二個附加訊息|3=G2|c3=*G2附加訊息|cat=}} |
| + | |
| + | '''根据[[WP:SD]]操作指引,仍要在页面创建者的用户讨论页添加「{{tls|db-notice|target=页面名称}}--~~<noinclude></noinclude>~~」提醒。''' |
| + | |
| + | === CSS 及 Javascript 頁面 === |
| + | 如用戶欲請求刪除其位於 User: 命名空間的[[CSS]]或[[JavaScript]]頁面(名稱以'''.css'''或'''.js'''結尾),可使用以下格式: |
| + | <source lang=javascript> |
| + | //{{Delete|O1}} |
| + | </source> |
| + | 或是 |
| + | <source lang=javascript> |
| + | /* {{Delete|O1}} */ |
| + | </source> |
| + | 頁面不會顯示快速刪除的資訊文字,但會被列入{{cl|快速刪除候選}},讓管理員處理。 |
| + | |
| + | ==模板數據== |
| + | {{templatedataheader}} |
| + | {{HideH|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> |
| + | {{HideF}} |
| + | |
| + | == 相关准则及描述页面 == |
| + | ; [[Module:Template:Delete/data]] |
| + | |
| + | == 參看 == |
| + | * [[Wikipedia:快速刪除]] |
| + | * [[:Category:快速删除候选]] |
| + | * [[Special:Log/delete]] - 刪除日誌 |
| + | * 模板重定向 {{tl|Delete}} = {{tl|D}} = {{tl|速删}} |
| + | * 快速刪除通知 {{tl|Db-notice}} |
| + | |
| + | <includeonly> |
| + | <!-- 請在此線底下增加分類 --> |
| + | [[Category:快速刪除模板]] |
| + | </includeonly> |