Template:Tr/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude>{{Doc/subpage}}</noinclude> A row of an HTML table with a prepared style. == Parameters and Examples == {| class="standard-table" style="width:100%" |- style="posi...") |
Thunder4ik (talk | contribs) m (→See also: clean up, replaced: See Also → See also) |
||
(One intermediate revision by one other user not shown) | |||
Line 35: | Line 35: | ||
| Background color. | | Background color. | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{tr|bgcolor = rgb(255 255 255)}}</nowiki>}} | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{tr|bgcolor = rgb(255 255 255)}}</nowiki>}} | ||
|- | |||
| style="text-align:center" | {{Code|preset=1| {{param|align}} }} | |||
| Text alignment. | |||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{th|align = right}}</nowiki>}} | |||
|- | |- | ||
| style="text-align:center" | {{Code|preset=1| {{param|sticky}} }} | | style="text-align:center" | {{Code|preset=1| {{param|sticky}} }} | ||
Line 41: | Line 45: | ||
|} | |} | ||
== See | == See also == | ||
* {{tl|link=Table}} | * {{tl|link=Table}} | ||
* {{tl|link=th}} | * {{tl|link=th}} |
Latest revision as of 02:29, 12 January 2024

This is a documentation subpage for Template:Tr.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
A row of an HTML table with a prepared style.
Parameters and Examples
Parameter | Description | Example |
---|---|---|
{{{1}}} or {{{text}}} | Your text. | |
Attributes | ||
{{{id}}} | Element ID. Useful for linking to a specific part of the page. | |
{{{class}}} | Custom HTML class. | |
{{{style}}} | Custom CSS (prepared styles are also planned). | |
Style | ||
{{{bgcolor}}} | Background color. | |
{{{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