Template:Tr

De Valve Developer Community
Aller à la navigation Aller à la recherche
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Icon-translate.png Available doc translations
Info.png
The Template:Tr/doc/fr documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.

A row of an HTML table with a prepared style.

Parameters and Examples

Parameter Description Example
{{{1}}} or {{{text}}} Your text.
{{tr|Hello, World!}}
{{tr|text = Hello, World!}}

Attributes

{{{id}}} Element ID. Useful for linking to a specific part of the page.
{{tr|id = my_id}}
[[My Sweet Page#my_id|My sweet page]]
{{{class}}} Custom HTML class.
{{tr|class = myClass}}
{{{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.
{{th|align = right}}
{{{sticky}}} If true is specified, it includes CSS properties that make the table row stick to the top of the screen.
{{tr|sticky = true}}

See also