Template:Userbox/doc: Difference between revisions
I think that the <noinclude> tags were accidental. |
Testing, I'm trying to make infoboxes accessible in VisualEditor as theyre almost as hard as doing a citation in wikieditor (very hard) |
||
| Line 39: | Line 39: | ||
[[Category:Userbox templates]] | [[Category:Userbox templates]] | ||
<templatedata> | |||
{ | |||
"params": { | |||
"id": { | |||
"description": "Text or image shown on the left side of the userbox (typically short)", | |||
"example": "MOD" | |||
}, | |||
"id-c": { | |||
"description": "Background color (or gradient) of the ID box.", | |||
"example": "#8f0000" | |||
}, | |||
"info": { | |||
"description": "Main text content of the userbox.", | |||
"example": "This user is a moderator and may be data-mining your contributions, btw." | |||
}, | |||
"info-fc": { | |||
"example": "#fff" | |||
}, | |||
"id-op": { | |||
"description": "Optional inline styles (e.g. shadows, transitions)" | |||
}, | |||
"info-op": { | |||
"description": "Optional inline styles (e.g. shadows, transitions)" | |||
}, | |||
"border-op": { | |||
"description": "Optional inline styles (e.g. shadows, transitions)" | |||
} | |||
}, | |||
"description": "Font color of the info box" | |||
} | |||
</templatedata> | |||