Sjabloon:Bot/doc

Uit informatiestandaarden
Naar navigatie springen Naar zoeken springen

{{bot}} — An information box that indicates that the user is a bot.


Parameters

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 (and approved), inactive (but approved), trial or unapproved, globalbot
awb
yes (if this bot uses AWB), or omit (if it doesn't).
codebase
The name of the code (programming or scripting language) used to create the bot (e.g., pyWikipedia, perlWikipedia, ...)
brfa
Optional if specified, overrides the name of the request for approval. If not specified, defaults to {{BASEPAGENAME}}
by
Optional if specified, overrides the usual display of the operator's username in the first line generated from the three unnamed parameters.

Example

Code Result
{{Bot|John Smith}}
{{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}}