Template:DiscordMessage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 7: | Line 7: | ||
Use @mention to ping someone. | Use @mention to ping someone. | ||
|mentions= | |mentions=@test | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
| Line 18: | Line 18: | ||
</div> | </div> | ||
{{{content}}} | {{{content}}} | ||
{{#if:{{{mentions|}}}|{{#ifeq:{{{mentions}}}|None||<span style="background: rgba(88,101,242,0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px;">{{{mentions}}}</span>}}}} | {{#if:{{{mentions|}}}|{{#ifeq:{{{mentions}}}|None||<div><span style="background: rgba(88,101,242,0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px;">{{{mentions}}}</span></div>}}}} | ||
</div></div></includeonly> | </div></div></includeonly> | ||
<noinclude> | <noinclude> | ||
Latest revision as of 02:43, 12 April 2025
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| avatar | avatar | Name of the image file. | String | optional |
| username | username | Discord username | String | optional |
| timestamp | timestamp | no description | String | optional |
| content | content | no description | String | optional |
| mentions | mentions | Discord username | String | optional |