Difference between revisions of "Template:Userbox"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
m (11 revisions imported)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>This is the template for making userboxes to put on your user page.
+
<noinclude>This is the template for making userboxes to put on your user page. See [[Help:Userboxes]] for a full list of userboxes made by other users.
 +
 
 +
==Syntax==
 +
 
 +
===Customisation===
 +
 
 +
{| border="1" cellspacing="0" cellpadding="3"
 +
!Template Parameters
 +
!Meaning
 +
!Value type
 +
|-
 +
|border-c
 +
|<span style="border:1px solid #333;">The '''border color''' of the userbox.</span>
 +
|[[Wikipedia:Web colors|CSS color value]] ([[Wikipedia:hexadecimal|#hex]] or color name)
 +
|-
 +
|border-s
 +
|<span style="border:4px solid #3f3;">The '''border size''' of the userbox.</span>
 +
|Width in pixels
 +
|-
 +
|id-c
 +
|<span style="background:#efe">The '''background color''' of the id box.</span>
 +
|CSS color value
 +
|-
 +
|id-s
 +
|The font <span style="font-size:150%">'''size'''</span> of the id box.
 +
|Size in [[Wikipedia:Point (typography)|PostScript points]]
 +
|-
 +
|id-fc
 +
|The font <span style="color:#090">'''color'''</span> of the id box text.
 +
|CSS color value
 +
|-
 +
|id-p
 +
|The distance between border and content of id box.
 +
|CSS padding width value. [[Wikipedia:Pixel|px]], [[Wikipedia:Point (typography)|pt]]
 +
|-
 +
|id-lh
 +
|The distance between text lines of id box.
 +
|CSS relative line height/length value. [[Wikipedia:Em (typography)|em]]
 +
|-
 +
|info-c
 +
|<span style="background:#efe">The background color of info box.</span>
 +
|CSS color value
 +
|-
 +
|info-s
 +
|The font <span style="font-size:150%">'''size'''</span> of info box.
 +
|Size in PostScript points
 +
|-
 +
|info-fc
 +
|The font <span style="color:#090">'''color'''</span> of info box.
 +
|CSS color value
 +
|-
 +
|info-p
 +
|The distance between border and content of info box.
 +
|CSS padding width value. px, pt
 +
|-
 +
|info-lh
 +
|The distance between text lines of info box.
 +
|CSS relative line height/length value. em
 +
|-
 +
|id
 +
|This is the '''content''' of the id box.
 +
|Free-form
 +
|-
 +
|info
 +
|This is the '''content''' of info box.
 +
|Free-form
 +
|}
 +
 
 +
==List of all availible Userboxes==
 +
<splist
  
{{userbox}}
 
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>

Latest revision as of 21:36, 3 August 2019

This is the template for making userboxes to put on your user page. See Help:Userboxes for a full list of userboxes made by other users.

Syntax

Customisation

Template Parameters Meaning Value type
border-c The border color of the userbox. CSS color value (#hex or color name)
border-s The border size of the userbox. Width in pixels
id-c The background color of the id box. CSS color value
id-s The font size of the id box. Size in PostScript points
id-fc The font color of the id box text. CSS color value
id-p The distance between border and content of id box. CSS padding width value. px, pt
id-lh The distance between text lines of id box. CSS relative line height/length value. em
info-c The background color of info box. CSS color value
info-s The font size of info box. Size in PostScript points
info-fc The font color of info box. CSS color value
info-p The distance between border and content of info box. CSS padding width value. px, pt
info-lh The distance between text lines of info box. CSS relative line height/length value. em
id This is the content of the id box. Free-form
info This is the content of info box. Free-form

List of all availible Userboxes

<splist

</noinclude>