Difference between revisions of "Template:UI Object Attributes (Label)"

From HSYCO
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
|fontsize
 
|fontsize
 
|<size>
 
|<size>
|Font size in pixels (e.g. "15px")
+
|Font size in pixels. E.g. ''15px''
 
|-
 
|-
 
|fontcolor
 
|fontcolor
Line 44: Line 44:
 
|Lighter characters
 
|Lighter characters
 
|-
 
|-
|100..900
+
|100 ... 900
 
|Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold
 
|Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold
 
|-
 
|-
 
|}
 
|}

Latest revision as of 10:38, 13 March 2014

Label attributes

Name Value Description
label <string> Label's text. Can contain HTML tags
fontfamily <family name> A prioritized list of font family names
fontsize <size> Font size in pixels. E.g. 15px
fontcolor <CSS color> Font color
fontstyle normal Normal font style, default
italic Italic font style
oblique Oblique font style
fontweight normal Normal characters, default
bold Thick characters
bolder Thicker characters
lighter Lighter characters
100 ... 900 Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold