Template:Infobox bot

From Irony Wiki
Revision as of 07:52, 18 August 2023 by Saucy (talk | contribs) (move categories to doc page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Infobox bot
Bot info


Documentation

This infobox is for use on articles about bots.

Configuration[edit source]

Here is a configuration of this template with all parameters:

{{Infobox bot
| name       = <!-- If this field is not provided, the page name will be used. -->
| image      = <!-- Just enter the file name. Do not include "File:" or any brackets. For example: Trollface.svg -->
| image_size =
| caption    =
| discordtag =
| discordid  =
| prefix     =
| owner      =
| language   =
| sourcecode =
| invitelink =
}}

Example[edit source]

Here is an example using a made-up bot. The configured parameters are also listed.

Example bot
Bot info
Discord tagExample#0000
Discord ID753757823535677561
Command prefix&
OwnerExample User
Programming languageJavascript
Source codeGithub
Bot invite linkInvite
{{Infobox bot
| name       = Example bot
| image      = Discord default pfp blurple.svg
| image_size = 180px
| caption    =
| discordtag = Example#0000
| discordid  = 753757823535677561
| prefix     = &
| owner      = [[Example User]]
| language   = Javascript
| sourcecode = [https://github.com/User/Repository Github]
| invitelink = [https://discord.com/oauth2/authorize Invite]
}}

Parameters[edit source]

Infobox for use on articles about users. None of the parameters are required.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

The username of the bot. You don't need to enter anything unless their username is different from the name of the page.

Default
{{PAGENAME}}
Stringsuggested
imageimage

An image to represent this bot, such as their profile picture

Example
Trollface.svg
Filesuggested
Image sizeimage_size

Override the size of the image, in pixels

Numberoptional
captioncaption

A caption for the image

Stringoptional
Discord tagdiscordtag

The bot's Discord tag (User#0000)

Example
Doctor Penez#2914
Stringsuggested
Discord IDdiscordid

The bot's ID; a long string of numbers

Example
753757823535677561
Numbersuggested
Prefixprefix

The bot's command prefix

Example
&
Stringsuggested
Ownerowner

The user maintaining the bot

Stringsuggested
Programming Languagelanguage

The programming language the bot is programmed in

Stringoptional
Source codesourcecode

A link for the source code of the bot

Example
[https://github.com/User/Repository Github]
Numbersuggested
Invite linkinvitelink

The invite link for the bot

Example
[https://discord.com/oauth2/authorize Invite]
Stringsuggested