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 5: Line 5:
|timestamp=01-Jan-21 12:00 AM
|timestamp=01-Jan-21 12:00 AM
|content=Message content here.  
|content=Message content here.  
Use @mention to ping someone.


Use @mention to ping someone.
|mentions=mention1#1234,mention2#5678
|mentions=mention1#1234,mention2#5678
}}
}}
Line 17: Line 17:
<span class="timestamp" style="color: #72767d; font-size: 0.75em; margin-left: 0.5em;">{{{timestamp}}}</span>
<span class="timestamp" style="color: #72767d; font-size: 0.75em; margin-left: 0.5em;">{{{timestamp}}}</span>
</div>
</div>
<div class="content" style="white-space: pre-wrap; line-height: 1.4;">{{#tag:div|{{{content}}}|class=preserve-whitespace}}<span style="background: rgba(88,101,242,0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px;">@{{{mentions}}}</span></div>
{{{content}}}
<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>

Revision as of 16:27, 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