« Modèle:Nobots » : différence entre les versions

Contenu supprimé Contenu ajouté
imported>Jean Sérien
m typo
m clarifie la doc
Ligne 1 :
<noinclude>{{Documentation modèle}}
;Utilisation{{-:}}
{| class="alerte grave" style="border:1px solid black" width="100%"
: Ce modèle est uniquement destiné à éviter le passage de [[WP:BOT|robots]] lors des tâches de maintenance. Si la structure de la page requiert un placement spécifique des catégories et interwikis, alors vous pouvez y insérer ce modèle.
 
;Syntaxe{{-:}}
* <tt><nowiki>{{nobots}}</nowiki></tt>
 
;Attention{{-!}}
<div style="margin:0.5em;margin-left:2em;margin-right:2em">
{|width="100%" class="alerte grave" style="border:1px3px solid black" width="100%red"
|-
|[[Image:Nuvola <apps important.svg|100px|Important !]]||width="100%" align="center>"|<big>'''Il est strictement interdit d'apposerd’apposer ce modèle sur un article ou une page de discussion de l'encyclopédiel’encyclopédie.'''</big></center>
| [[Image:Nuvola apps important.svg|100px]]
|}</div>
| <center><big>'''Il est strictement interdit d'apposer ce modèle sur un article ou une page de discussion de l'encyclopédie'''</big></center>
 
|-
<!--
|}
This is a template for pages to specify whether or not they want visits from any [[WP:BOT|bots]], most bots or specific bots. This 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 mainly on the "User" and "User talk" namespaces and should be used carefully in other spaces.
Ce modèle est destiné à éviter le passage de robots lors des tâches de maintenance. Si la structure de la page requiert un placement spécifique des catégories et interwikis, alors vous pouvez y insérer ce modèle.
 
== Syntax: ==
'''<nowiki>{{nobots}}</nowiki>''' Ban all bots (shortcut)
'''<nowiki>{{bots}}</nowiki>''' Allow all bots (shortcut)
 
'''<nowiki>{{bots|allow=<botlist>}}</nowiki>''' Ban all the bots not in the list
'''<nowiki>{{bots|deny=<botlist>}}</nowiki>''' Ban all the bots in the list
 
''Where <botlist> is a comma-delimited string of bot usernames:''
'''<nowiki>{{bots|allow=HagermanBot,Werdnabot}}</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 bots
 
'''<nowiki>{{bots|deny=all}}</nowiki>''' Ban all 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. The bots which currently support exclusion are listed at [[:en:Category:Exclusion compliant bots|exclusion compliant bots]].
 
== Implementation ==
* A patch for Python Wikipedia Robot Framework can be found [https://sourceforge.net/tracker/index.php?func=detail&aid=1619527&group_id=93107&atid=603140 here].
* Since version 3.2.0.0 [[:en:Wikipedia:AutoWikiBrowser|AutoWikiBrowser]] fully supports <nowiki>{{bots}} and {{nobots}}</nowiki>. Additionally, pseudo-username ''AWB'' can be specified to ban all AWB-based bots from the page. However, AWB has an option to ignore these templates.
-->
 
[[en:Template:Bots]]
[[Catégorie:Modèle de protection]]
 
[[en:Template:BotsNobots]]
</noinclude>