Template:Infobox bot/doc: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
Qaukduic (talk | contribs)
No edit summary
Qaukduic (talk | contribs)
No edit summary
Line 7: Line 7:
<pre><nowiki>
<pre><nowiki>
{{Infobox bot
{{Infobox bot
| title          = <!-- If this field is not provided, the page name will be used. -->
| 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     = <!-- Just enter the file name. Do not include "File:" or any brackets. For example: Trollface.svg -->
| caption       =
| image_size =
| Discord tag    =
| caption   =
| Discord ID    =
| discordtag =
| Command prefix =
| discordid  =
| owner         =
| prefix     =
| language       =
| owner     =
| source code    =
| language   =
| invitelink     =
| sourcecode =
| invitelink =
}}</nowiki></pre>
}}</nowiki></pre>


===Example===
===Example===
''very very W.I.P.''


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


{{Infobox bot
{{Infobox bot
| title                = Example bot
| name      = Example bot
| image               = Discord default pfp blurple.svg
| image     = Discord default pfp blurple.svg
| caption             =
| image_size = 180px
| Discord tag          =
| caption   =
| Discord ID          =
| discordtag = Example#0000
| Command prefix       =
| discordid  = 753757823535677561
| owner               = [Example User]
| prefix     = &
| language =
| owner     = [[Example User]]
| Sourcecode          =
| language   = Javascript
| invitelink     = [https://discord.com/oauth2/authorize?client_id=000000000000000000&scope=bot Invite]
| sourcecode = [https://github.com/User/Repository Github]
| invitelink = [https://discord.com/oauth2/authorize Invite]
}}
}}
<pre><nowiki>
{{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]
}}</nowiki></pre>

Revision as of 15:49, 26 July 2021

This infobox is for use on articles about bots.

Configuration

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

Here is an example using a made-up user. 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]
}}