Difference between revisions of "Template:Userbox"

From OCE Space Simulation
Jump to: navigation, search
Line 1: Line 1:
<div style="float: left; border:solid  1px; margin: 1px;">
+
{{userbox
{| cellspacing="0" style="width: 238px; background:yellow;"
+
| bodyclass    = <!--Adds an HTML class attribute to the entire template's HTML table, to allow for styling, emission of microformats, etc.-->
| style="width: 45px; height: 45px; background:aquamarine; text-align: center; font-size:12; color:black;" | '''{{{3|{{{id|id}}}}}}'''
+
| border-c      = <!--border color (default=id-c or #999)-->
| style="font-size:12; padding: 4pt; line-height: 1.25em; color:black;" | {{{4|{{{info|''info''}}}}}}
+
| border-s      = <!--border width in pixels (default=1)-->
|}
+
| float        = <!--left|right|none (default=left)-->
<noinclude>
+
| id            = <!--id image or text (image size should normally not exceed 90x45px)-->
[[Category:Templates]]
+
| id-a          = <!--id horizontal alignment left/center/right/justify (default=center)-->
</noinclude>
+
| id-c          = <!--id background color (default=#ddd)-->
 +
| 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=#eee)-->
 +
| 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)-->
 +
}}

Revision as of 14:36, 31 May 2020

'