Template:Bot/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
! {{Dictionary/common|Example}}
! {{Dictionary/common|Example}}
|-
|-
| align="center" | {{Code|style=2|{{Param|status}}}}
| align="center" | {{Code|style=2|{{Param|codebase}}}}
| For specifying the code (programming or scripting language) used to create the bot (e.g.: {{Pywikibot|4}})
| For specifying the code (programming or scripting language) used to create the bot (e.g.: {{Pywikibot|4}})
| {{CodeBlock|margin=5px|<nowiki>| status = inactive </nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| codebase = pywikibot </nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|status}}}}
| align="center" | {{Code|style=2|{{Param|status}}}}
| Indicates the current status of the bot.
| Indicates the current status of the bot
| {{CodeBlock|margin=5px|<nowiki>| status = inactive </nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| status = inactive </nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|nocat}}}}
| Prevents category inclusion
| {{CodeBlock|margin=5px|<nowiki>| nocat = 1 </nowiki>}}
|-
|-
|}
|}

Revision as of 05:59, 3 July 2023

Edit-copy.png
This is a documentation subpage for Template:Bot.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

An informational notice for indicating a bot account

Copy and Paste

{{Bot | codebase = | status = }}

Parameters and Examples

Parameter Description Example
{{{codebase}}} For specifying the code (programming or scripting language) used to create the bot (e.g.: Pywikibot Pywikibot)
| codebase = pywikibot
{{{status}}} Indicates the current status of the bot
| status = inactive
{{{nocat}}} Prevents category inclusion
| nocat = 1