More languages
More actions
(Created page with "{{#invoke:userbox|userbox}}") |
m (Created brief usage comment) |
||
Line 1: | Line 1: | ||
{{#invoke:userbox|userbox}} | {{#invoke:userbox|userbox}}<noinclude> | ||
== Usage:== | |||
<nowiki>{{userbox | |||
| bodyclass = <!--Adds an HTML class attribute to the entire template's HTML table, to allow for styling, emission of microformats, etc.--> | |||
| border-c = <!--border color (default=id-c or #999999)--> | |||
| border-s = <!--border width in pixels (default=1)--> | |||
| float = <!--left|right|none (default=left)--> | |||
| id = <!--id image or text (image size should normally not exceed 90x45px)--> | |||
| id-a = <!--id horizontal alignment left/center/right/justify (default=center)--> | |||
| id-c = <!--id background color (default=#DDDDDD)--> | |||
| id-fc = <!--id font color (default=info-fc or black)--> | |||
| id-h = <!--id box height in pixels (default=45)--> | |||
| id-lh = <!--id line height (default=1.25em)--> | |||
| id-op = <!--id other CSS parameters--> | |||
| id-p = <!--id cell padding (default=0 1px 0 0)--> | |||
| id-s = <!--id text size in points (default=14)--> | |||
| id-w = <!--id box width in pixels (default=45)--> | |||
| info-class = <!--Adds an HTML class attribute to the "info" HTML table-row, to allow for styling, emission of microformats, etc.--> | |||
| info = <!--info text or image--> | |||
| info-a = <!--info horizontal alignment left/center/right/justify (default=left)--> | |||
| info-c = <!--info background color (default=#EEEEEE)--> | |||
| info-fc = <!--info font color (default=black)--> | |||
| info-lh = <!--info line height (default=1.25em)--> | |||
| info-op = <!--info other CSS parameters--> | |||
| info-p = <!--info padding (default=0 4px 0 4px)--> | |||
| info-s = <!--info text size in points (default=8)--> | |||
| nocat = <!--block page category declarations; see [[WP:NOCAT]] (default=false)--> | |||
| usercategory = <!--user category (optional, unlinked and without the "Category:" part)--> | |||
| usercategory2 = <!--user category (optional)--> | |||
| usercategory3 = <!--user category (optional)--> | |||
| usercategory4 = <!--user category (optional)--> | |||
| usercategory5 = <!--user category (optional)--> | |||
}}</nowiki> | |||
Example: | |||
<nowiki>{{userbox | |||
|info=Text|id=Id}}</nowiki> | |||
{{userbox | |||
|info=Text|id=Id}} | |||
<nowiki>{{userbox | |||
|info=This comrade contributes using Linux |id=[[File:Tux carrying the red flag.png|45px]]}}</nowiki> | |||
{{userbox | |||
|info=This comrade contributes using Linux |id=[[File:Tux carrying the red flag.png|45px]]}} | |||
</noinclude> |
Latest revision as of 01:05, 25 July 2022
{{{info}}} |
Usage:
{{userbox | bodyclass = <!--Adds an HTML class attribute to the entire template's HTML table, to allow for styling, emission of microformats, etc.--> | border-c = <!--border color (default=id-c or #999999)--> | border-s = <!--border width in pixels (default=1)--> | float = <!--left|right|none (default=left)--> | id = <!--id image or text (image size should normally not exceed 90x45px)--> | id-a = <!--id horizontal alignment left/center/right/justify (default=center)--> | id-c = <!--id background color (default=#DDDDDD)--> | id-fc = <!--id font color (default=info-fc or black)--> | id-h = <!--id box height in pixels (default=45)--> | id-lh = <!--id line height (default=1.25em)--> | id-op = <!--id other CSS parameters--> | id-p = <!--id cell padding (default=0 1px 0 0)--> | id-s = <!--id text size in points (default=14)--> | id-w = <!--id box width in pixels (default=45)--> | info-class = <!--Adds an HTML class attribute to the "info" HTML table-row, to allow for styling, emission of microformats, etc.--> | info = <!--info text or image--> | info-a = <!--info horizontal alignment left/center/right/justify (default=left)--> | info-c = <!--info background color (default=#EEEEEE)--> | info-fc = <!--info font color (default=black)--> | info-lh = <!--info line height (default=1.25em)--> | info-op = <!--info other CSS parameters--> | info-p = <!--info padding (default=0 4px 0 4px)--> | info-s = <!--info text size in points (default=8)--> | nocat = <!--block page category declarations; see [[WP:NOCAT]] (default=false)--> | usercategory = <!--user category (optional, unlinked and without the "Category:" part)--> | usercategory2 = <!--user category (optional)--> | usercategory3 = <!--user category (optional)--> | usercategory4 = <!--user category (optional)--> | usercategory5 = <!--user category (optional)--> }}
Example:
{{userbox |info=Text|id=Id}}
Id | Text |
{{userbox |info=This comrade contributes using Linux |id=[[File:Tux carrying the red flag.png|45px]]}}