Difference between revisions of "Template:BotTask/doc"

From blackwiki
Jump to navigation Jump to search
imported>Enterprisey
(add category)
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
Line 6: Line 6:
 
where:
 
where:
  
* <tt>''Task number''</tt> is the number of this bot; for instance, ExampleBot's second BRFA would have a task number of 2.
+
* <kbd>''Task number''</kbd> is the number of this bot; for instance, ExampleBot's second BRFA would have a task number of 2.
* <tt>''Status''</tt> is, for instance, <tt>Approved</tt>, <tt>Denied</tt>, <tt>Trial</tt>, <tt>ExtendedTrial</tt>, <tt>TrialComplete</tt> or <tt>Open</tt> (i.e. the BRFA was just opened). Any name of a [[Template:Botstatus|bot status]] subtemplate will work, such as <tt>Speedy</tt> (which will transclude {{tl|BotSpeedy}}) or, in general, <tt>Foo</tt> (which will transclude {{tl|BotFoo}}). See {{tl|BAG Tools}} for a complete list.
+
* <kbd>''Status''</kbd> is, for instance, <kbd>Approved</kbd>, <kbd>Denied</kbd>, <kbd>Trial</kbd>, <kbd>ExtendedTrial</kbd>, <kbd>TrialComplete</kbd> or <kbd>Open</kbd> (i.e. the BRFA was just opened). Any name of a [[Template:Botstatus|bot status]] subtemplate will work, such as <kbd>Speedy</kbd> (which will transclude {{tl|BotSpeedy}}) or, in general, <kbd>Foo</kbd> (which will transclude {{tl|BotFoo}}). See {{tl|BAG Tools}} for a complete list.
* <tt>''Activity''</tt> is, for instance, <tt>active</tt> or <tt>inactive</tt>. Any name of a [[Special:PrefixIndex/WP:Registered bots|subpage of WP:Registered bots]] will work.
+
* <kbd>''Activity''</kbd> is, for instance, <kbd>active</kbd> or <kbd>inactive</kbd>. Any name of a [[Special:PrefixIndex/WP:Registered bots|subpage of WP:Registered bots]] will work.
* <tt>''Description''</tt> is a description of the bot's task.
+
* <kbd>''Description''</kbd> is a description of the bot's task.
  
 
=== Example ===
 
=== Example ===
You'll need to add a {{tl|BotTask/Top}} before a list of bot tasks and a <tt><nowiki>|}</nowiki></tt> afterwards, like so:
+
You'll need to add a {{tl|BotTask/Top}} before a list of bot tasks and a <kbd><nowiki>|}</nowiki></kbd> afterwards, like so:
  
 
  {{tl|BotTask/Top}}
 
  {{tl|BotTask/Top}}

Revision as of 05:37, 5 August 2018

Usage

{{BotTask|Task number|Status|Activity|Description}}

where:

  • Task number is the number of this bot; for instance, ExampleBot's second BRFA would have a task number of 2.
  • Status is, for instance, Approved, Denied, Trial, ExtendedTrial, TrialComplete or Open (i.e. the BRFA was just opened). Any name of a bot status subtemplate will work, such as Speedy (which will transclude {{BotSpeedy}}) or, in general, Foo (which will transclude {{BotFoo}}). See {{BAG Tools}} for a complete list.
  • Activity is, for instance, active or inactive. Any name of a subpage of WP:Registered bots will work.
  • Description is a description of the bot's task.

Example

You'll need to add a {{BotTask/Top}} before a list of bot tasks and a |} afterwards, like so:

{{BotTask/Top}}
{{BotTask|1|Approved|active|Reticulates splines.}}
{{BotTask|2|Approved|inactive|Templates Jimbo.}}
|}

which will produce this table:

Bot Task Status Description Activity
Task 1  Approved. Reticulates splines. Template:WP:Registered bots/active
Task 2  Approved. Templates Jimbo. Template:WP:Registered bots/inactive

Other bot name

You can override the bot name used in the BRFA link by passing in a |name= parameter.