Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:DiscordIntegrator: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>DarkFeather
discord widget
 
mNo edit summary
 
Line 2: Line 2:
<!-- You might want to use {{documentation}} here instead -->
<!-- You might want to use {{documentation}} here instead -->
== Description ==
== Description ==
This template is used as a utility for making usage of [[w:c:dev:DiscordIntegrator|DiscordIntegrator]] easier. In order to integrate the widget, it first needs to be enabled, for instructions on how to do that check "''[[w:c:dev:DiscordIntegrator#Enabling the widget|Enabling the widget]]''" section in the documentation.
This template is used as a utility for making usage of [w:c:dev:DiscordIntegrator|DiscordIntegrator] easier. In order to integrate the widget, it first needs to be enabled, for instructions on how to do that check "''[w:c:dev:DiscordIntegrator#Enabling the widget|Enabling the widget]''" section in the documentation.
== Parameters ==
== Parameters ==
{| class="wikitable" style="width: 100%; text-align: center"
{| class="wikitable" style="width: 100%; text-align: center"
Line 41: Line 41:
|}
|}
== See also ==
== See also ==
* [[w:c:dev:DiscordIntegrator]] for complete documentation
* [w:c:dev:DiscordIntegrator] for complete documentation
<!-- TO DO: Add more documentation --></noinclude>
<!-- TO DO: Add more documentation --></noinclude>

Latest revision as of 17:36, 19 May 2026

Description[edit source]

This template is used as a utility for making usage of [w:c:dev:DiscordIntegrator|DiscordIntegrator] easier. In order to integrate the widget, it first needs to be enabled, for instructions on how to do that check "[w:c:dev:DiscordIntegrator#Enabling the widget|Enabling the widget]" section in the documentation.

Parameters[edit source]

Option Type What it changes Default
id String ID of the server. For more information on how to find Discord server ID, see "Enabling the widget" section in the documentation
This parameter is required for the widget to work
N/A
loggedIn Boolean If set to true, widget will only work for logged in users N/A
theme String Theme of the widget. Can be set to either light or dark. If invalid option specified the default is used dark
width String Width of the widget. 100%
height String Height of the widget. 90%
usePTB Anything If to use the widget from Public Test Build server instead of the normal one N/A

See also[edit source]

  • [w:c:dev:DiscordIntegrator] for complete documentation