Difference between revisions of "Template:BotTask/doc"

From blackwiki
Jump to navigation Jump to search
imported>Enterprisey
(expand status description)
imported>Enterprisey
(+sample usage)
Line 10: Line 10:
 
* <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.
 
* <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.
 
* <tt>''Description''</tt> is a description of the bot's task.
 
* <tt>''Description''</tt> is a description of the bot's task.
 +
 +
=== 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:
 +
 +
{{tl|BotTask/Top}}
 +
{{tlf|BotTask|1|Approved|active|Reticulates splines.}}
 +
{{tlf|BotTask|2|Approved|inactive|Templates Jimbo.}}
 +
|}
 +
 +
which will produce this table:
 +
 +
{{BotTask/Top}}
 +
{{BotTask|1|Approved|active|Reticulates splines.}}
 +
{{BotTask|2|Approved|inactive|Templates Jimbo.}}
 +
|}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 14:51, 8 May 2015

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, 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