Template:DiscordMessage: Difference between revisions

From ServantPedia™, the paid (but reliable) encyclopedia
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


border-radius:50%;

Username 01-Jan-21 12:00 AM

Message content here.

Use @mention to ping someone. @mention1#1234,mention2#5678



No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
avataravatar

Name of the image file.

Stringoptional
usernameusername

Discord username

Stringoptional
timestamptimestamp

no description

Stringoptional
contentcontent

no description

Stringoptional
mentionsmentions

Discord username

Stringoptional