Difference between revisions of "Template:DiscordQuote"
From Game Detectives Wiki
[unchecked revision] | [unchecked revision] |
Line 1: | Line 1: | ||
{|style="{{#switch:{{{theme|dark}}}|dark=background-color:#36393e; color:hsla(0,0%,100%,.7);|light=background-color:#ffffff; color:#737f8d;}} min-width:512px; width:{{{width|100%}}}; margin:0px; padding:10px; text-align:left; line-height:95%;" | {|style="{{#switch:{{{theme|dark}}}|dark=background-color:#36393e; color:hsla(0,0%,100%,.7);|light=background-color:#ffffff; color:#737f8d;}} min-width:512px; width:{{{width|100%}}}; margin:0px; padding:10px; text-align:left; line-height:95%;" | ||
− | |rowspan="2" style="width:64px; height=64px; vertical-align:top;"|[[Image:{{{avatar|FRTS_Bot_Avatar.jpeg}}}]] | + | |rowspan="2" class="discordAvatar" style="width:64px; height=64px; vertical-align:top;"|[[Image:{{{avatar|FRTS_Bot_Avatar.jpeg}}}]] |
|<div style="display:inline-block; font-weight:bold; color:{{{fontcolor|{{#switch:{{{theme|dark}}}|dark=#ffffff|light=#2e3136}}}}};">{{{username|Lorem Ipsum}}}</div> {{#switch:{{{bot|false}}}|true=<div style="display:inline-block; border-radius:3px; background-color:#7289da; color:#ffffff; font-size:10px; font-weight:600; padding:1px 2px;">BOT</div>}} <div style="display:inline-block; font-size:11px; color:{{#switch:{{{theme|dark}}}|dark=hsla(0,0%,100%,.2)|light=#99aab5}};">{{{date|00/00/0000}}}</div> | |<div style="display:inline-block; font-weight:bold; color:{{{fontcolor|{{#switch:{{{theme|dark}}}|dark=#ffffff|light=#2e3136}}}}};">{{{username|Lorem Ipsum}}}</div> {{#switch:{{{bot|false}}}|true=<div style="display:inline-block; border-radius:3px; background-color:#7289da; color:#ffffff; font-size:10px; font-weight:600; padding:1px 2px;">BOT</div>}} <div style="display:inline-block; font-size:11px; color:{{#switch:{{{theme|dark}}}|dark=hsla(0,0%,100%,.2)|light=#99aab5}};">{{{date|00/00/0000}}}</div> | ||
|- | |- |
Latest revision as of 14:11, 5 July 2016
Variables | ||
---|---|---|
Name | Description | Example |
avatar | Avatar file name | FRTS_Bot_Avatar.jpeg |
name | Quoted user's name | Lorem Ipsum |
fontcolor | Quoted user's role color | #ffffff |
date | The date of the quoted message | 00/00/0000 |
message | The quoted message itself | Lorem ipsum dolor sit amet... |
width (optional) | The width of the quote container | 100% (default) |
bot (optional) | Whether the user has a bot tag | true or false (default) |
theme (optional) | Discord theme used | light or dark (default) |