Template:DiscordQuote: Difference between revisions

From 95 Degrees Wiki
m (Protected "Template:DiscordQuote" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
 
(One intermediate revision 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:30px; margin-bottom:30px; margin-left:30px;">
<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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Usernameusername Username

The username of the person being quoted

Example
Saku
Stringrequired
User IDuserId User ID

The user ID of the user being quoted (to fetch their avatar)

Example
255673616342056961
Stringrequired
Color HEXcolorHex Color HEX

The HEX code for the username (don't include the #)

Example
95CAFE
Unknownrequired
Message Contentmessage Message Content

The content of the message being quoted

Unbalanced wikitextrequired