Difference between revisions of "Template:Userbox"

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

Latest revision as of 13:54, 31 May 2020

id info