维基百科:AutoWikiBrowser/Template redirects
外观
文檔
簡介
- 本頁列出模板重定向規則,供AWB讀取後自動替換(當選取General Fixes選項時)。
- 每次AWB運行時都會載入本列表(當選取General Fixes選項時)。
- 在此加入模板重命名規則時,須先得到社群共識。
- 如果條目編輯只是更改模板名以避免重定向,那這算作「瑣碎編輯」,因此不符合AWB的使用規則。一般來說,除非有共識認為有特別必要,否則替換模板使用名稱必須伴隨別的「非瑣碎」編輯,而不是單獨進行。
規則格式
備註
- 一個或多個模板可以重定向至某個目標模板,所有模板都以{{tl}}格式顯示,多個模板間以半形逗號加空格隔開,「重定向至」應以「→」表示,目標模板以粗體標示。
- 首字母大小寫不敏感,如{{full}}和{{Full}}會被當做同一個模板。
- 目標模板名的首字母大小寫會根據原模板名的首字母大小寫,名稱為縮寫的條目除外(即首三個字母都是大寫)。
- 每項規則佔一行。
- 包含在nowiki或HTML comment標籤中的規則不會被讀取。
- 每個實際模板應只有一項對應的規則。
- 工具不會看規則項目的排序,但建議以字母排序增加可讀性。
- AWB的general fixes功能不會改動nowiki/pre/math等標籤裡面的模板名。
- AWB會盲目讀取以下列表,不會確保目標模板的存在或者模板參數的正確。
範例
- 一對一模板重定向:{{tl|重定向1}} → '''{{tl|實際模板}}'''
- 一對一模板重定向: {{tl|Cn}} → '''{{tl|Citation needed}}'''
- 多對一模板重定向:{{tl|重定向1}}, {{tl|重定向2}} → '''{{tl|Actual template}}'''
- 多對一模板重定向:{{tl|Cn}}, {{tl|Fact}} → '''{{tl|Citation needed}}'''
Main and Category namespace rules
General templates
- {{FootnotesSmall}}, {{Refs}}, {{参考列表}}, {{脚注}} → {{Reflist}}
- {{Clearleft}} → {{Clear left}}
- {{Clearright}} → {{Clear right}}
- {{TA}} → {{NoteTA}}
Category templates
- {{Catmain}}, {{Cat more}}, {{Catmore}} → {{Category more}}
- {{CatRel}}, {{Cat see also}}, {{Related category}}, {{Catseealso}}, {{Catrel}}, {{See also category}}, {{See also cat}}, {{Catlink}}, {{See cat}}, {{Seealsocat}}, {{See also cats}} → {{Category see also}}
- {{Commons cat}}, {{Commonscat}}, {{Commons Category}}, {{Commonscategory}}, {{共享资源分类}}, {{共享資源分類}}, {{Cc}} → {{Commons category}}
- {{隐藏分类}}, {{隱藏分類}}, {{Hiddencat}}, {{Hcat}}, {{Hidden cat}} → {{Hidden category}}
消歧義模板
- {{Otheruses4}}, {{关于}}, {{關於}}, {{This article is about}}→ {{About}}
- {{About-not}} → {{About-distinguish}}
- {{About-distinguish2}}, {{About-not2}} → {{About-distinguish-text}}
- {{不是}}, {{Not}}, {{提示}}, {{混淆}}, {{分別}}, {{區別}}, {{NOT}}, {{本条目的主题不是}}, {{本条目主题不是}}, {{条目主题不是}}, {{主题不是}}, {{Confused}}, {{区分}}, {{Confusion}}, {{Confuse}}, {{RedirectNOT}}, {{Misspelling}}, {{Other uses2}}, {{不同于}}→ {{Distinguish}}
- {{姓氏顶注}} → {{Family name hatnote}}
- {{Details}}, {{See}}, {{More}}, {{相關條目}}, {{Detail}}, {{更多资料}}, {{Further information}}, {{更多资讯}}, {{More information}}, {{更多信息}}, {{相关条目}}, {{更多資料}}, {{更多資訊}} → {{Further}}
- {{Rellink}}, {{HAT}}, {{顶注}} → {{Hatnote}}
- {{印度姓名}} → {{Indian patronymic}}
- {{Main articles}}, {{主条目}}, {{Hurricane main}}, {{条目}}, {{主}}, {{頁面}}, {{主頁面}}, {{主頁}}, {{主題目}}, {{MAIN}}, {{Main article}}, {{AP}}, {{主條目}} → {{Main}}
- {{Maincat}}, {{Main cat}} → {{Main category}}
- {{Mainlist}}, {{更详尽的列表}} → {{Main list}}
- {{Otherpeople}}, {{Other people2}}, {{同名人物}}, {{同名人物2}} → {{Other people}}
- {{Otheruse}}, {{条目消歧义}}, {{他用}}, {{Otheruses}} → {{Other uses}}
- {{重定向至此}}, {{Redirects here}}, {{Redirect to}}, {{Redirect here}}, {{重定向至}} → {{Redirect}}
- {{Distinguish-redirect}}, {{Redirect-not}}→ {{Redirect-distinguish}}
- {{多个重定向}} → {{Redirect-multi}}
- {{Redirect-also}}, {{重定向(同义)}}, {{重定向(同义词)}} → {{Redirect-synonym}}
- {{自我參照}} → {{Self-reference}}
- {{Seealso}}, {{参看}}, {{参见}}, {{另见}}, {{SeeAlso}}, {{See Also}}, {{Also}}, {{參見}}, {{參看}}, {{另見}}→ {{See also}}
- {{Seewikt}}, {{见维基词典}} → {{See Wiktionary}}
- {{技術原因}}, {{技术限制}}→ {{Technical reasons}}
頁面訊息模板
維護模板
- {{Articleissues}}, {{Issues}}, {{多個問題}}, {{问题条目}}, {{Mi}}, {{數個問題}}, {{Article issues}}, {{多个问题}}, {{数个问题}}, {{問題條目}} → {{Multiple issues}}
- {{BLPunsourced}}, {{Blpunsourced}}, {{Blp unsourced}}, {{生者傳記來源}}, {{BLP unreferenced}} → {{BLP unsourced}}
- {{Cn}}, {{FACT}}, {{来源请求}}, {{请求来源}}, {{Citationneeded}}, {{來源要求區}}, {{Cn span}}, {{Cn-span}}, {{Fact span}}, {{Cns}}, {{Fact-span}}, {{Reference necessary}}, {{CN}}, {{Citation needed span}}, {{來源要求}}, {{來源請求區}}, {{求来源}}, {{Cnspan}}, {{Fact}}, {{Source needed}}, {{來源請求}}, {{請求來源}}, {{来源请求区}}, {{来源要求}}, {{求來源}}, {{Need citation}}→ {{Citation needed}}
- {{Citationstyle}} → {{Citation style}}
- {{Attention}}, {{关注}}, {{Cleanup-date}}, {{清理}}, {{整理}}, {{Clean up}} → {{Cleanup}}
- {{Rewrite}}, {{Cleanup-rewrite}}, {{重寫}} → {{Cleanup rewrite}}
- {{Copyedit}}, {{Grammar}} → {{Copy edit}}
- {{Deadlink}} → {{Dead link}}
- {{Dn}}, {{Disambiguation needed}} → {{需要消歧义}}
- {{Dispute}} → {{Disputed}}
- {{Expand-section}}, {{Sect-stub}}, {{Section-stub}} → {{Expand section}}
- {{Incomplete-list}}, {{Expand-list}}, {{Listdev}} → {{Expand list}}
- {{Expert}}, {{Expert-subject}}, {{专家}}, {{學者}}, {{專業}}, {{需要專家關注}}, {{需要专家关注}} → {{Expert needed}}
- {{Fansite}} → {{Fanpov}}
- {{Globalview}} → {{Globalize}}
- {{Howto}} → {{How-to}}
- {{OriginalResearch}}, {{Originalresearch}} → {{Original research}}
- {{ProseTimeline}}, {{Proseline}}, {{Prosetimeline}} → {{Prose}}
- {{Unverified}}, {{Not verified}}, {{Verify}}, {{Cleanup-verify}}, {{未经查证}}, {{RefImprove}}, {{改善来源}}, {{補充来源}}, {{增加来源}}, {{添加來源}}, {{更多來源}}, {{補充來源}}, {{Ref improve}}, {{Moreref}}, {{More references}}, {{Better source top}}, {{More citations needed}}, {{+r}}, {{+R}}, {{Ri}} → {{Refimprove}}
- {{Categorise}}, {{Categorize}}, {{Nocat}}, {{Uncat}}, {{Uncategorised}} → {{Uncategorized}}
- {{Unsourced}}, {{缺少來源的條目}}, {{Unref}}, {{Unreference}}, {{缺乏來源}}, {{Reference}}, {{Noreference}}, {{Noreferences}}, {{来源}}, {{沒有來源}}, {{無來源}}, {{沒來源}}, {{缺來源}}, {{缺少來源}}, {{Noref}}, {{No reference}}, {{No references}}, {{需要來源}}, {{出典の明記}}, {{Unr}} → {{Unreferenced}}
- {{Unreferencedsection}}, {{Unreferenced-section}}, {{Unreferencedsect}}, {{無來源章節}}, {{无来源章节}}, {{章节无来源}}, {{S-noref}}, {{Urs}}, {{Unrefsect}} → {{Unreferenced section}}
- {{Toolong}}, {{Verylong}}, {{超长}}, {{过长}}, {{超長}}, {{過長}}, {{太長}}, {{冗長}}, {{太长}}, {{Long}}, {{Too long}}, {{冗长}} → {{Very long}}