Widget:Discord: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
(Created page with "<noinclude>This widget allows you to embed Discord widgets. Accepted parameters: '''id''' (required), '''width''', '''height''', '''theme''' (may be set to 'light').</noinclud...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This widget allows you to embed Discord widgets. Accepted parameters: '''id''' (required), '''width''', '''height''', '''theme''' (may be set to 'light').</noinclude><includeonly><!--{if isset($id)}--><iframe src="https://discordapp.com/widget?id=<!--{$id|escape:'url'}-->&theme=<!--{$theme|escape:'url'|default:'dark'}-->" width="<!--{($width|escape:'html'|default:'250')|string_format:"%d"}-->" height="<!--{($height|escape:'html'|default:'400')|string_format:"%d"}-->" allowtransparency="true" frameborder="0"></iframe><!--{else}--><p style="color:red">No <b>id</b> provided for the Discord widget!</p><!--{/if}--></includeonly>
<noinclude>This widget allows you to embed Discord widgets. Accepted parameters: '''id''' (required), '''width''', '''height''', '''theme''' (may be set to 'light').</noinclude><includeonly><!--{if isset($id)}--><iframe src="https://discordapp.com/widget?id=<!--{$id|escape:'url'}-->&amp;theme=<!--{$theme|escape:'url'|default:'dark'}-->" width="<!--{$width|escape:'html'|default:'250'}-->" height="<!--{$height|escape:'html'|default:'400'|string_format:"%d"}-->" allowtransparency="true" frameborder="0"></iframe><!--{else}--><p style="color:red">No <b>id</b> provided for the Discord widget!</p><!--{/if}--></includeonly>

Latest revision as of 21:53, 22 August 2023

This widget allows you to embed Discord widgets. Accepted parameters: id (required), width, height, theme (may be set to 'light').