Template:Userbox/doc: Difference between revisions
Much more detail + fixed my stupid errors |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 51: | Line 51: | ||
"description": "Background color (or gradient) of the ID box. This uses hex colors (#fff for white, #000000 for black).", | "description": "Background color (or gradient) of the ID box. This uses hex colors (#fff for white, #000000 for black).", | ||
"example": "#8f0000", | "example": "#8f0000", | ||
"label": "ID color" | "label": "ID color", | ||
"type": "string" | |||
}, | }, | ||
"info": { | "info": { | ||
"description": "The main text content of the userbox.", | "description": "The main text content of the userbox.", | ||
"example": "This user is a moderator | "example": "This user is a moderator", | ||
"label": "Info", | "label": "Info", | ||
"required": true | "required": true | ||
| Line 62: | Line 63: | ||
"example": "#fff", | "example": "#fff", | ||
"label": "Info font color", | "label": "Info font color", | ||
"description": "Font color of the info box. This uses hex colors (#fff for white, #000000 for black)." | "description": "Font color of the info box. This uses hex colors (#fff for white, #000000 for black).", | ||
"type": "string" | |||
}, | }, | ||
"id-op": { | "id-op": { | ||
| Line 76: | Line 78: | ||
"label": "Border color", | "label": "Border color", | ||
"description": "The color of the border. This uses hex colors (#fff for white, #000000 for black)", | "description": "The color of the border. This uses hex colors (#fff for white, #000000 for black)", | ||
"example": "#6a000" | "example": "#6a000", | ||
"type": "string" | |||
}, | |||
"nocat": { | |||
"label": "No automatic categorisation", | |||
"description": "If set to true, disable automatic categorisation.", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
| Line 87: | Line 95: | ||
"id-op", | "id-op", | ||
"info-op", | "info-op", | ||
"border-op" | "border-op", | ||
] | "nocat" | ||
], | |||
"description": "Create a custom userbox to add to your profile, which can do multiple things, including tell others about yourself and show others the achievements you have made." | |||
} | } | ||
</templatedata> | </templatedata> | ||