Template:DiscordMessage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
<span style="background: rgba(88,101,242,0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px;">@{{{mentions}}}</span> | <span style="background: rgba(88,101,242,0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px;">@{{{mentions}}}</span> | ||
</div></div></includeonly> | </div></div></includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"avatar": { | |||
"description": "Name of the image file.", | |||
"type": "string" | |||
}, | |||
"username": { | |||
"description": "Discord username", | |||
"type": "string" | |||
}, | |||
"timestamp": { | |||
"type": "string" | |||
}, | |||
"content": { | |||
"type": "string" | |||
}, | |||
"mentions": { | |||
"description": "Discord username", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Revision as of 17:26, 7 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 |