Template:DiscordQuote: Difference between revisions

From 95 Degrees Wiki
(Created page with "<includeonly> {{#tag:html | <div style="background-color:#36393f; color:white; padding:20px; border-radius:10px;"> <div style="display:flex; gap:20px;"> <img src="https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png" width="40" style="border-radius:1000px"> <div> <span style="font-weight:600;">{{{username}}}</span> <p></p> </div> </div> </div>}} </includeonly> {{DiscordQuote |username = Saku |userId = 255673616342056961 }}")
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#tag:html | <div style="background-color:#36393f; color:white; padding:20px; border-radius:10px; margin-top:30px; margin-bottom:30px;">
{{#tag:html | <div style="background-color:#36393f; color:white; padding:20px; border-radius:10px;">
   <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" style="border-radius:1000px">
       <img src="https://api.saku.dev/spin-dash/avatar/{{{userId}}}.png" width="40" height="40" style="border-radius:1000px">
       <div>
       <div>
           <span style="font-weight:600;">{{{username}}}</span>
           <span style="font-weight:600; color:#{{{colorHex}}}">{{{username}}}</span>
           <p></p>
           <p style="margin:0px;">{{{message}}}</p>
       </div>
       </div>
   </div>
   </div>
</div>}}
</div>}}</includeonly><noinclude>
</includeonly>
 
{{DiscordQuote
{{DiscordQuote
|username = Saku
|username = Saku
|userId = 255673616342056961
|userId = 255673616342056961
|message = Yo what up
}}
}}
<templatedata>
{
"params": {
"userId": {
"aliases": [
"User ID"
],
"label": "User ID",
"description": "The user ID of the user being quoted (to fetch their avatar)",
"example": "255673616342056961",
"type": "string",
"required": true
},
"username": {
"aliases": [
"Username"
],
"label": "Username",
"description": "The username of the person being quoted",
"example": "Saku",
"type": "string",
"required": true
},
"message": {
"type": "unbalanced-wikitext",
"aliases": [
"Message Content"
],
"label": "Message Content",
"description": "The content of the message being quoted",
"required": true
},
"colorHex": {
"aliases": [
"Color HEX"
],
"label": "Color HEX",
"description": "The HEX code for the username (don't include the #)",
"example": "95CAFE",
"required": true
}
},
"description": "A quote block in the style of a Discord message",
"paramOrder": [
"username",
"userId",
"colorHex",
"message"
],
"format": "block"
}
</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