Template:Userbox/doc: Difference between revisions

Created page with "<templatedata> { "params": { "1": { "label": "Image", "description": "The image to display in the box.", "example": "BTD6 app icon.png", "type": "wiki-file-name", "default": "BTD6 achievement HiddenIcon.png", "required": true }, "2": { "label": "Text", "description": "The text to display in the userbox.", "type": "string", "default": "This user is using the default userbox for some unfathomable reason.", "required": true }, "bg..."
 
mNo edit summary
Line 42: Line 42:
}
}
},
},
"description": "Customizable rectangles to display on your userpage. Colors can be specified with a hexadecimal code (must include the \"#\") or the name of a CSS-supported color (e.g. \"pink\" or \"mauve\"). Please avoid using variables for colors since userboxes are designed to be theme-agnostic.",
"description": "Customizable rectangles to display on your userpage. Colors can be specified with a hexadecimal code (must include the \"#\") or the name of a CSS-supported color (e.g. \"pink\" or \"mauve\"). Please avoid using variables for colors (e.g. \"var(--bg-primary)\"), since userboxes are designed to be theme-agnostic.",
"paramOrder": [
"paramOrder": [
"1",
"1",