Template:Userbox: Difference between revisions
Jump to navigation
Jump to search
Greenpickle (talk | contribs) m (3 revisions) |
m (Text replacement - "]] </noinclude>" to "]]</noinclude>") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
{{clear}} | {{clear}} | ||
== | ==Info== | ||
This template is used to create standard userboxes | This template is used to create standard userboxes, for use on user pages. | ||
==Parameters== | |||
< | {| class = "wikitable" | ||
! colspan="2" | Parameter || Mandatory || Default || Detailed description | |||
|- | |||
! colspan="2" | float | |||
| No || left || CSS "float" property. This means the side of the page in which the box floats. | |||
|- | |||
! 1 || border-c | |||
| No || ''<nowiki>{{{id-c}}}</nowiki>'' || Border color. | |||
|- | |||
! colspan="2" | border-s | |||
| No || 1 || Border width. Do not include the "px" after the number. | |||
|- | |||
! 3 || id | |||
| No || id || Content of the small box at the left. | |||
|- | |||
! 2 || id-c | |||
| No || #999 || Background color of the small box at the left. | |||
|- | |||
! colspan="2" | id-fc | |||
| No || black || Font color of the small box at the left. | |||
|- | |||
! colspan="2" | id-s | |||
| No || 14pt || Size of the text on the small box at the left. | |||
|- | |||
! colspan="2" | id-p | |||
| No || 1px || Padding space for the small box at the left. | |||
|- | |||
! colspan="2" | id-lh | |||
| No || 1.25em || Line height for the small box at the left. | |||
|- | |||
! colspan="2" | id-w | |||
| No || 45 || Width of the small box at the left, without the "px" after the number. | |||
|- | |||
! colspan="2" | id-h | |||
| No || 45 || Height of the small box at the left, without the "px" after the number. | |||
|- | |||
! 3 || info | |||
| No || <nowiki>''info''</nowiki> || Main content. | |||
|- | |||
! colspan="2" | info-c | |||
| No || #EEE || Background color of the main content. | |||
|- | |||
! colspan="2" | info-fc | |||
| No || black || Font color of the main content. | |||
|- | |||
! colspan="2" | info-s | |||
| No || 8pt || Text size of the main content. | |||
|- | |||
! colspan="2" | info-p | |||
| No || 4px || Padding distance for the main content. | |||
|- | |||
! colspan="2" | info-lh | |||
| No || 1.25em || Line height for the main content. | |||
|} | |||
[[Category:Pikipedia userboxes| ]]</noinclude> | ==Skeleton== | ||
<pre> | |||
{{userbox | |||
|float = | |||
|border-c = | |||
|border-s = | |||
|id = | |||
|id-c = | |||
|id-fc = | |||
|id-s = | |||
|id-p = | |||
|id-lh = | |||
|id-w = | |||
|id-h = | |||
|info = | |||
|info-c = | |||
|info-fc = | |||
|info-s = | |||
|info-p = | |||
|info-lh = | |||
}} | |||
</pre> | |||
[[Category:Pikipedia userboxes| ]] | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 01:09, August 30, 2019
id | info |
Info
This template is used to create standard userboxes, for use on user pages.
Parameters
Parameter | Mandatory | Default | Detailed description | |
---|---|---|---|---|
float | No | left | CSS "float" property. This means the side of the page in which the box floats. | |
1 | border-c | No | {{{id-c}}} | Border color. |
border-s | No | 1 | Border width. Do not include the "px" after the number. | |
3 | id | No | id | Content of the small box at the left. |
2 | id-c | No | #999 | Background color of the small box at the left. |
id-fc | No | black | Font color of the small box at the left. | |
id-s | No | 14pt | Size of the text on the small box at the left. | |
id-p | No | 1px | Padding space for the small box at the left. | |
id-lh | No | 1.25em | Line height for the small box at the left. | |
id-w | No | 45 | Width of the small box at the left, without the "px" after the number. | |
id-h | No | 45 | Height of the small box at the left, without the "px" after the number. | |
3 | info | No | ''info'' | Main content. |
info-c | No | #EEE | Background color of the main content. | |
info-fc | No | black | Font color of the main content. | |
info-s | No | 8pt | Text size of the main content. | |
info-p | No | 4px | Padding distance for the main content. | |
info-lh | No | 1.25em | Line height for the main content. |
Skeleton
{{userbox |float = |border-c = |border-s = |id = |id-c = |id-fc = |id-s = |id-p = |id-lh = |id-w = |id-h = |info = |info-c = |info-fc = |info-s = |info-p = |info-lh = }}