Template:DiscordQuote: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#tag:html | <div style="background-color:#36393f; color:white; padding:20px; border-radius:10px; margin-top: | <includeonly>{{#tag:html | <div style="background-color:#36393f; color:white; padding:20px; border-radius:10px; margin-top:30px; margin-bottom:30px;"> | ||
<div style="display:flex; gap:20px;"> | <div style="display:flex; gap:20px;"> | ||
<img src="https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png" width="40" height="40" style="border-radius:1000px"> | <img src="https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png" width="40" height="40" style="border-radius:1000px"> | ||
Line 61: | Line 61: | ||
"colorHex", | "colorHex", | ||
"message" | "message" | ||
] | ], | ||
"format": "block" | |||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 20:10, 19 February 2023
Saku
Yo what up
A quote block in the style of a Discord message
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | username Username | The username of the person being quoted
| String | required |
User ID | userId User ID | The user ID of the user being quoted (to fetch their avatar)
| String | required |
Color HEX | colorHex Color HEX | The HEX code for the username (don't include the #)
| Unknown | required |
Message Content | message Message Content | The content of the message being quoted | Unbalanced wikitext | required |