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

From HSYCO
Jump to navigation Jump to search
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{| class="wikitable"
 
{| class="wikitable"
 
!Name
 
!Name
 +
!Value
 
!Description
 
!Description
!Value
 
 
|-
 
|-
 
|label
 
|label
|Changes the label
+
|<string>
|string
+
|Label's text. Can contain HTML tags
 +
|-
 +
|fontfamily
 +
|<family name>
 +
|A prioritized list of font family names
 
|-
 
|-
 
|fontsize
 
|fontsize
|Font size
+
|<size>
|integer
+
|Font size in pixels. E.g. ''15px''
 
|-
 
|-
 
|fontcolor
 
|fontcolor
 +
|<CSS color>
 
|Font color
 
|Font color
|CSS color
 
 
|-
 
|-
|fontstyle
+
|rowspan="3"|fontstyle
|Font style
+
|normal
|?
+
|Normal font style, default
 +
|-
 +
|italic
 +
|Italic font style
 +
|-
 +
|oblique
 +
|Oblique font style
 +
|-
 +
|rowspan="5"|fontweight
 +
|normal
 +
|Normal characters, default
 +
|-
 +
|bold
 +
|Thick characters
 +
|-
 +
|bolder
 +
|Thicker characters
 +
|-
 +
|lighter
 +
|Lighter characters
 
|-
 
|-
|fontweight
+
|100 ... 900
|Font weight
+
|Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold
|bold,bolder...
 
 
|-
 
|-
|textalign
 
|Text alignment
 
|left
 
right
 
center
 
justified
 
 
|}
 
|}

Latest revision as of 11: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