- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Userbox: Difference between revisions
Jump to navigation
Jump to search
imported>Andrés Protected "Template:Userbox": you fuck up this and you fuck up half user pages on ED ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
imported>Andrés Protected "Template:Userbox": you fuck up this and you fuck up half user pages on ED ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
(No difference)
|
Revision as of 19:43, 17 March 2012
id | info |
Just a generic userbox template. This may also be appropriated for use in interwiki templates, etc.
Arguments
The argument names, with their default values, if not supplied, from left to right.
- float defaults to "left"
- border-width defaults to border-s or "1". should be a number, "px" is added.
- border-color defaults to first unnamed argument or border-c or id-c or "#999"
- div-other-param final styling for the container div. defaults to div-op or empty
- info-background is the overall background color, defaults to second unnamed argument or info-c or "#EEE"
- logo-background is the "id" background, defaults to first unnamed argument or id-c or "#DDD"
- logo-size is "id" font size, defaults to fifth unnamed argument or id-s or "14". value should be a number, "pt" is added.
- logo-color is "id" color, defaults to id-fc or "black"
- logo the contents of the "id" box, defaults to third unnamed argument or id or "id"
- info-size is font size of info area, defaults to info-s or "8". should be a number, "pt" is added.
- info-padding defaults to info-p or "4px".
- logo-height height of the box, defaults to id-h or "45". should be a number, "px" is added.
- info-line-height defaults to info-lh or "1.25em"
- info-color defaults to info-color or info-fc or "black".
- info-other-param final styling, defaults to info-op or empty
- info is the text for the info area, defaults to fourth unnamed argument or "info"
Example
{{userbox|red|blue|me|you|id-s=22|info-s=14|id-fc=white|info-fc=white}}
me | you |