User:An Orbit/Loona member box code: Difference between revisions

there is a pipebomb in your mailbox and a Loona [X X] Limited A album in your bedroom
(heck)
 
(there is a pipebomb in your mailbox and a Loona [X X] Limited A album in your bedroom)
 
Line 24: Line 24:


for(var i in loona) {
for(var i in loona) {
var data = loona[i];
var border = changeLuminance(data.color,6.5,"set","hex");
var border = changeLuminance(data.color,6.5,"set","hex");


var data = loona[i];
var leftBack = changeLuminance(changeSaturation(data.color,0.99,"multiply","hsljson"),1.06,"multiply","hex");
var leftBack = changeLuminance(changeSaturation(data.color,0.99,"multiply","hsljson"),1.06,"multiply","hex");
var rightBack = data.color;
var rightBack = data.color;
Line 38: Line 39:
var rightText = `This user loves ${data.name}`;
var rightText = `This user loves ${data.name}`;


userboxesOut += `<nowiki>{{</nowiki>User:An Orbit/2 text userbox
userboxesOut += `{{User:An Orbit/2 text userbox
|border-color = ${border}
|border-color = ${border}
|left-background-color = ${leftBack}
|left-background-color = ${leftBack}
Bureaucrats, emailconfirmed, Administrators
165

edits