Template:Userbox Discord: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<div style="float: left; border: solid #4169E1 1px; margin: 1px;">
<div style="float: left; border: solid #4169E1 1px; margin: 1px;">
{| cellspacing="0" style="width: 238px; color: #000000; background: #D3D3D3;"
{| cellspacing="0" style="width: 238px; color: #000000; background: #D3D3D3;"
| style="width: 45px; height: 45px; background: white; text-align: center;" | [[File:Discordlogo.png|40px]]
| style="width: 45px; height: 45px; background: white; text-align: center;" | [[File:Discordlogo.png|35px]]
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | {{#if: {{{user|}}}| My discord account is '''{{{user}}}'''.
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | {{#if: {{{user|}}}| My discord account is '''{{{user}}}'''.
| This user has a '''[https://discordapp.com/ Discord]''' account.}}
| This user has a '''[https://discordapp.com/ Discord]''' account.}}
|}</div><noinclude>{{Documentation}}</noinclude>
|}</div><noinclude>{{Documentation}}</noinclude>

Latest revision as of 22:17, 9 September 2019

Discordlogo.png This user has a Discord account.
[edit] [purge] Documentation

Usage

This Userbox template is designed for Users with an account in Discord. The template has one optional parameter:

user
this is the User's Discord username. If this parameter is defined, the Userbox will show the user's Discord username. If the parameter is left out, the template will simply state that the User has an Discord account, but will not show their specific name.

Examples

{{Userbox Discord}}

Discordlogo.png This user has a Discord account.


{{Userbox Discord|user=abc123}}

Discordlogo.png My discord account is abc123.