Template:Userbox: Difference between revisions
No edit summary |
Vertvalerie (talk | contribs) (I hope this works, if this change was unnecessary, feel free to revert :D) |
||
Line 1: | Line 1: | ||
{| | {| style="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=" | | 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> |
Revision as of 12:12, 18 February 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 |