Skabelon:Bots: Forskelle mellem versioner

Content deleted Content added
m Bot: tilføj Ukategoriseret-skabelon
dokumentation på underside
Tag: Erstattet
 
Linje 1:
<noinclude>
{{dokumentation}}
This is a template for pages to specify whether or not they want visits from any [[WP:BOT|bots]], most bots or specific bots. It is part of some globally identical templates (on Wikimedia wikis) to control bots' behaviour.
 
The template can be used to easily and explicitly opt-in or opt-out of unsolicited bot posts to user pages or to cause maintenance bots to avoid certain pages. Explicitly opting-in has the advantage of possibly receiving useful changes or targeted posts that might otherwise be skipped by the bot assuming a default "opt-out" behavior. These templates should be used carefully in the main namespace. They can be used to solve interwiki conflicts. Once the underlying problem has been resolved, the template has to be removed.
 
== Syntax ==
'''<nowiki>{{nobots}}</nowiki>''' Ban all compliant bots (shortcut)
'''<nowiki>{{bots}}</nowiki>''' Allow all bots (shortcut)
 
'''<nowiki>{{bots|allow=<botlist>}}</nowiki>''' Ban all compliant bots not in the list
'''<nowiki>{{bots|deny=<botlist>}}</nowiki>''' Ban all compliant bots in the list
 
''Where <botlist> is a comma-delimited string of bot usernames (AWB can be used for all [[WP:AWB|AWB]]-based bots):''
'''<nowiki>{{bots|allow=HagermanBot,Werdnabot}}</nowiki>'''
'''<nowiki>{{bots|deny=AWB}}</nowiki>'''
 
''<botlist> can also be "none" or "all" as in the following examples:''
'''<nowiki>{{bots|allow=all}}</nowiki>''' Allow all bots
'''<nowiki>{{bots|allow=none}}</nowiki>''' Ban all compliant bots
 
'''<nowiki>{{bots|deny=all}}</nowiki>''' Ban all compliant bots
'''<nowiki>{{bots|deny=none}}</nowiki>''' Allow all bots
 
Bots are not bound to observe the nobots tag, it will depend on their functionality, their owners and their terms of approval.
 
== See also ==
* [[:en:Template:Bots]] (more comprehensive and up-to-date explanation)
* [[meta:Template:Bots]]
 
{{Ukategoriseret}}
</noinclude>