Template:Bot/doc: Difference between revisions
Appearance
Dat Hack3r (talk | contribs) Created template documentation. |
Dat Hack3r (talk | contribs) m Adjusted link and reordered bot statuses. |
||
Line 1: | Line 1: | ||
{{Tlx|Bot}} generates an information box that indicates that the editor is ''not'' a human and actually {{wp|Internet bot|an automatic process assigned to do automated tasks on this Wiki | {{Tlx|Bot}} generates an information box that indicates that the editor is ''not'' a human and actually {{wp|Internet bot|an automatic process assigned to do automated tasks}} on this Wiki. All parameters are optional. | ||
The first unnamed parameter specifies the operator of the bot; it does not have to be specified if the operator of the bot does not have an account on this Wiki. {{Para|by}}, if specified, overrides the usual display of the operator's username in the first line generated from the first unnamed parameter. | The first unnamed parameter specifies the operator of the bot; it does not have to be specified if the operator of the bot does not have an account on this Wiki. {{Para|by}}, if specified, overrides the usual display of the operator's username in the first line generated from the first unnamed parameter. | ||
Line 8: | Line 8: | ||
{{Bot|John Smith|by=owned by [[User:John Smith|John Smith]] ([[User talk:John Smith|talk]]) but run by the community}} | {{Bot|John Smith|by=owned by [[User:John Smith|John Smith]] ([[User talk:John Smith|talk]]) but run by the community}} | ||
{{Para|status}} specifies the status of the bot, which can be either <code>active</code>, <code>inactive | {{Para|status}} specifies the status of the bot, which can be either <code>active</code>, <code>inactive</code>, <code>unapproved</code> (i.e., awaiting approval), <code>denied</code>, or <code>retired</code>. | ||
* {{Tlx|1=Bot|2=John Smith|3=status=active}} | * {{Tlx|1=Bot|2=John Smith|3=status=active}} | ||
{{Bot|John Smith|status=active}} | {{Bot|John Smith|status=active}} | ||
* {{Tlx|1=Bot|2=John Smith|3=status=inactive}} | |||
{{Bot|John Smith|status=inactive}} | |||
* {{Tlx|1=Bot|2=John Smith|3=status=unapproved}} | * {{Tlx|1=Bot|2=John Smith|3=status=unapproved}} | ||
{{Bot|John Smith|status=unapproved}} | {{Bot|John Smith|status=unapproved}} | ||
* {{Tlx|1=Bot|2=John Smith|3=status=denied}} | * {{Tlx|1=Bot|2=John Smith|3=status=denied}} | ||
{{Bot|John Smith|status=denied}} | {{Bot|John Smith|status=denied}} | ||
Line 58: | Line 58: | ||
"status": { | "status": { | ||
"label": "Bot status", | "label": "Bot status", | ||
"description": "The status of the bot, which can be either active, inactive | "description": "The status of the bot, which can be either active, inactive, unapproved (i.e., awaiting approval), denied, or retired.", | ||
"example": "active", | "example": "active", | ||
"type": "string", | "type": "string", | ||
Line 64: | Line 64: | ||
"active", | "active", | ||
"inactive", | "inactive", | ||
"unapproved", | "unapproved", | ||
"denied" | "denied", | ||
"retired" | |||
], | ], | ||
"suggested": true | "suggested": true |