Template:Userbox/MyDiscord: Difference between revisions

From IdleOn MMO Wiki
(Created page with "<noinclude> ===Syntax=== <pre>{{Userbox/MyDiscord|<username>|<numbers>|<friend code/optional>}}</pre> </noinclude> {{Userbox |border-width = 0 |id = 60px |id-align = right |id-background = rgba(127,159,255,0.75) |id-css = border-radius:8px 0px 0px 8px; border:4px double black; border-right:0px; cursor: pointer; line-height:8px; |info = <font style="color:#000"><br>'''[https://discord.gg/invit...")
 
No edit summary
Line 11: Line 11:
|id-css          = border-radius:8px 0px 0px 8px; border:4px double black; border-right:0px; cursor: pointer; line-height:8px;
|id-css          = border-radius:8px 0px 0px 8px; border:4px double black; border-right:0px; cursor: pointer; line-height:8px;


|info            = <font style="color:#000"><br>'''[https://discord.gg/invite/{{{3}}} {{Black|{{{1|Insert Username}}}#{{{2|0000}}}}}]'''<br></font>
|info            = <font style="color:#000"><br>'''[https://discord.gg/invite/{{{3}}} {{{1|Insert Username}}}#{{{2|0000}}}]'''<br></font>
|info-background = rgba(127,159,255,0.75)
|info-background = rgba(127,159,255,0.75)
|info-align      = center
|info-align      = center

Revision as of 12:41, 6 February 2023

Syntax

{{Userbox/MyDiscord|<username>|<numbers>|<friend code/optional>}}
Discord Transparent.png
Insert Username#0000

Usage

{{Userbox
|skin            = <!-- use a defined skin (optional) --><!--
                   IMPORTANT: When creating a userbox template, always include:
                   |skin = {{{skin|}}} -->

|float           = <!--[left|right|none] (default=left)-->
|border-width    = <!--border width in pixels (default=3)-->
|border-color    = <!--border color (default=#292929)-->
|height          = <!--user box height in pixels (default=45)-->
|class           = <!--any classes for the userbox (default=none)-->

|id              = <!--id image and/or text-->
|id-width        = <!--id box width in pixels (default=90)-->
|id-color        = <!--id font color (default=white)-->
|id-background   = <!--id background color (default=transparent)-->
|id-align        = <!--id horizontal alignment [left|center|right|justify] (default=center)-->
|id-size         = <!--id text size in pixels (number only) (default=14)-->
|id-padding      = <!--id padding (default=0 .9em)-->
|id-css          = <!--other CSS parameters for id-->

|info            = <!--info text and/or image-->
|info-color      = <!--info font color (default=black)-->
|info-background = <!--info background color (default=#EEE)-->
|info-align      = <!--info horizontal alignment [left|center|right|justify] (default=left)-->
|info-size       = <!--info text size in pixels (number only) (default=12)-->
|info-padding    = <!--info padding (default=0 .7em)-->
|info-css        = <!--other CSS parameters for info-->
}}