From Valve Developer Community
Jump to navigation
Jump to search

Available doc translations
…
English
A row of an HTML table with a prepared style.
Parameters and Examples
Parameter
|
Description
|
Example
|
{{{1}}} or {{{text}}}
|
Your text.
|
{{tr|text = Hello, World!}}
|
Attributes
|
{{{id}}}
|
Element ID. Useful for linking to a specific part of the page.
|
[[My Sweet Page#my_id|My sweet page]]
|
{{{class}}}
|
Custom HTML class.
|
|
{{{style}}}
|
Custom CSS (prepared styles are also planned).
|
{{tr|style = background-image:linear-gradient(0deg, white, black)}}
|
Style
|
{{{bgcolor}}}
|
Background color.
|
{{tr|bgcolor = rgb(255 255 255)}}
|
{{{align}}}
|
Text alignment.
|
|
{{{sticky}}}
|
If true is specified, it includes CSS properties that make the table row stick to the top of the screen.
|
|
See also