參數及使用方法

編輯
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
機器人所使用程序語言(例如︰PywikibotperlWikipedia……)
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
|codebase=[[m:perlwikipedia|perlWikipedia]]}}
{{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
|status=active|globalbot=yes}}
{{Bot|John Smith|image=Crystal Clear question bot.svg
|more=此機器人正在測試中。}}

參見

編輯