Template:Userbox: Difference between revisions
(Created page with "<div style="float:{{{float|left}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px;" class="wwikiuserbox"> {| cellspacing="0" style="width:250px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};" | style="width:{{{logo-width|{{{id-w|45}}}}}}px; height:{{{logo-height|{{{id-h|45}}}}}}px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{...") |
Vertvalerie (talk | contribs) No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| style="margin-top:1em; margin-left: auto; margin-right: auto; border: {{{brdrthic|2}}}px solid {{{brdrclr|#815408}}}; border-radius:{{{1|10}}}px; overflow:hidden ; padding: 0px 0px; background: {{{bgclr|linear-gradient(0deg, rgba(224,113,0,1) 0%, rgba(255,229,93,1) 90%)}}}" | |||
! style="border-radius: {{{1|10}}}px; padding: 0px 0px; overflow:hidden | [[File:{{{img|AppLogo2.png}}} |none|100px]] | |||
| style="color: {{{txclr|black}}}; padding: 0px 50px" |{{{text|This user likes '''Hello Street Cat'''}}}. | |||
|} | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Roundness", | |||
"description": "Roundness of the image and userbox", | |||
"example": "0 is not round at all, 0-10 is recommended values", | |||
"suggestedvalues": [ | |||
"0", | |||
"2", | |||
"4", | |||
"6", | |||
"8", | |||
"10" | |||
], | |||
"type": "number" | |||
}, | |||
"brdrthic": { | |||
"label": "Border Thickness", | |||
"description": "How thick is the border around the userbox?", | |||
"example": "1-3 is recommended", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3" | |||
], | |||
"default": "2", | |||
"type": "number" | |||
}, | |||
</ | "brdrclr": { | ||
"label": "Border Color", | |||
"description": "What color is the border around the userbox?", | |||
"example": "Black; #000000", | |||
"suggestedvalues": [ | |||
"black", | |||
"white", | |||
"blue", | |||
"red", | |||
"yellow" | |||
], | |||
"default": "black", | |||
"type": "string" | |||
}, | |||
"bgclr": { | |||
"label": "Background Color", | |||
"description": "Userbox background color", | |||
"example": "pink, #fd1668", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"grey", | |||
"blue", | |||
"pink", | |||
"yellow" | |||
] | |||
}, | |||
"img": { | |||
"label": "Image", | |||
"description": "What image will you have to the left?", | |||
"example": "Freshlycat.png", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"txclr": { | |||
"label": "Text colour", | |||
"description": "The text color", | |||
"example": "black , #000000", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"black", | |||
"white", | |||
"blue", | |||
"pink", | |||
"yellow" | |||
] | |||
}, | |||
"text": { | |||
"label": "Text in the userbox", | |||
"description": "What do you want your userbox to say?", | |||
"example": "This user is silly", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"brdrthic", | |||
"brdrclr", | |||
"bgclr", | |||
"img", | |||
"txclr", | |||
"text", | |||
"1" | |||
], | |||
"description": "A userbox to customize your profile with. Use https://cssgradient.io/ to get a gradient on your userbox, copy only \"linear-gradient(0deg, rgba(000,000,00,1) 00%, rgba(000,000,00,1) 00%)\" and paste that into \"Background Color\"" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
Latest revision as of 16:27, 27 March 2024
A userbox to customize your profile with. Use https://cssgradient.io/ to get a gradient on your userbox, copy only "linear-gradient(0deg, rgba(000,000,00,1) 00%, rgba(000,000,00,1) 00%)" and paste that into "Background Color"
Parameter | Description | Type | Status | |
---|---|---|---|---|
Border Thickness | brdrthic | How thick is the border around the userbox?
| Number | optional |
Border Color | brdrclr | What color is the border around the userbox?
| String | optional |
Background Color | bgclr | Userbox background color
| String | optional |
Image | img | What image will you have to the left?
| File | suggested |
Text colour | txclr | The text color
| String | optional |
Text in the userbox | text | What do you want your userbox to say?
| String | required |
Roundness | 1 | Roundness of the image and userbox
| Number | optional |