Template:Bot
模板文档
參數及使用方法
- 1
- 第一個參數為機械人操作者。
The first unnamed parameter specifies the operator of the bot. - 2, 3
- 如有需要,第二及第三個參數為其他機械人共同操作者。
The second and third unnamed parameters can be used to specify co-operators of the bot, if required. - site
- 操作者如無本地帳戶,則可輸入兩個字母語言代碼。
The two letter code for those operators that do not have an account on the English language Wikipedia (though having a local account is strongly recommended). - status
- active(在用而且已得到批准)、 inactive(得到批准但不在用)、trial(測試中)或unapproved(未批准或許可已撤銷)
active (and approved), inactive (but approved), trial or unapproved - awb
- yes (如有使用AWB)或留空(如果並非使用AWB)
yes (if this bot uses AWB), or omit (if it doesn't). - codebase
- 機械人所使用程序語言(例如︰Pywikibot、perlWikipedia……)
The name of the code (programming or scripting language) used to create the bot (e.g., Pywikibot, perlWikipedia, ...) - brfa
- 選填︰如有,就會更改內鏈連接,否則就會連接到{{BASEPAGENAME}}。
Optional if specified, overrides the name of the request for approval. If not specified, defaults to {{BASEPAGENAME}} - by
- 選填︰如有就會蓋過頭三個參數,即1,2及3,改為顯示此參數所帶內容。
Optional if specified, overrides the usual display of the operator's username in the first line generated from the three unnamed parameters. - approvalneeded
- 如果上面status標記為「active/approved」,而且在此參數輸入yes,則模板會標示該機械人所執行事項為毋須事先取得批准。
If status indicated active/approved, setting yes will make the template indicate that the bot is running tasks for which no approval is needed. - overridebrfa
- 如果機械人曾經遞交過幾項申請、得到過幾次批准或有幾項工作,而預設BRFA連結未能夠顯示所有已批准申請或工作,則可在此參數輸入其他維基百科頁面連結。此參數會蓋過brfa。
If the bot has multiple requests or approval, or multiple tasks, and the default BRFA link cannot link to a page that contains all the bot's approved requests or tasks, this field allows inputting a link to any Wikipedia page. Specifying this field overrides brfa. - more
- 其他額外資訊,通常不用,因為
|status=
、|brfa=
及|approvalneeded=
已包含大部分資訊。
Any additional information to specify in the mbox. Usually not needed, since|status=
,|brfa=
, and|approvalneeded=
covers most cases. - alt
- 選填︰圖檔替代文字。
Optional alternate text for the image.
範例
Code | Result |
---|---|
{{Bot|Example}} | |
{{Bot|John Smith|site=en}} | |
{{Bot|John Smith|site=en|awb=yes}} | |
{{Bot|John Smith|site=en | |
{{Bot|John Smith|site=en|status=active}} | |
{{Bot|John Smith|site=en|status=trial}} | |
{{Bot|John Smith|site=en|status=inactive}} | |
{{Bot|John Smith|site=en|status=unapproved}} | |
{{Bot|John Smith|site=en | |
{{Bot|John Smith|image=Crystal Clear question bot.svg |
參見
- {{User bot owner}}
🔥 Top keywords: Baike: 首页Special:搜索胖猫跳江事件背着善宰跑九龍城寨之圍城逆天奇案2璩静淚之女王歌手2024Energy (組合)新生 (网络剧)习近平匈牙利邊佑錫劉俊謙 (香港)金智媛神耆小子塞尔维亚金秀賢 (男演員)母亲节猩球崛起:王國誕生九龍寨城馴鹿寶貝家族榮耀之繼承者Seventeen (組合)六四事件不夠善良的我們张维为楊佩潔TripleS支配物种庆余年郭葦昀洪若潭命案金惠奫2024年英雄联盟季中邀请赛春色寄情人BABYMONSTER笑看風雲乘風2024排球少年!!角色列表破墓徐巧芯中华人民共和国中華民國打天下2WIND BREAKER—防風少年—习明泽排球少年!!彭丽媛磁暴ILLIT贾斯汀·比伯逆天奇案BOYNEXTDOOR猿人爭霸戰:猩凶革命張書偉我的婆婆怎麼那麼可愛我獨自升級怪獸8號謝坤達IVE (組合)與鳳行關於我轉生變成史萊姆這檔事角色列表黃道十二宮福建號航空母艦虽然不是英雄葉乃文五月天張員瑛草榴社区張文傑2024年花蓮地震极光香緹·摩爾迷宮飯呂家愷搜查班長1958日本劉德華海莉·鮑德溫蕭景鴻越位 (足球)葬送的芙莉蓮周處除三害 (電影)毛泽东願榮光歸香港林峯周雨彤伍允龍羅毓儀香港Baike: 分類索引沒有秘密猩球崛起:終極決戰角質層唐振剛柯佳嬿文化大革命