Template:Tint/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 38: | Line 38: | ||
{{Code|style=3|{{tint|color=green|green}}}} | {{Code|style=3|{{tint|color=green|green}}}} | ||
{{Code|style=3|{{tint|color=purple|purple}}}} | |||
{{Code|style=3|{{tint|color=pink|pink}}}} | |||
{{Code|style=3|{{tint|color=red|red}}}} | {{Code|style=3|{{tint|color=red|red}}}} | ||
Line 46: | Line 50: | ||
{{Code|style=3|{{tint|color=comment|comment}}}} | {{Code|style=3|{{tint|color=comment|comment}}}} | ||
}} | |||
== Test == | |||
{{Capsule|{{Tint|color=purple|{{}}Code|{{Tint|color=yellow|color}}={{Tint|color=green|#FFFFFF}}|{{Tint|color=comment|Hello, World!}}{{Tint|color=purple|}}}} | |||
{{Tint|color=pink|{{{color|}}}}} | |||
}} | }} | ||
Revision as of 11:37, 14 February 2023

This is a documentation subpage for Template:Tint.
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.
This template is currently experimental. It is used on some pages, but it is recommended to avoid using this template for now, as it may be reworked later.
Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
{{{color}}} | Defined text color. The default color is white.
Custom HSL, HEX, RGB and others are not supported. This is necessary to standardize syntax highlighting. |
Hello, World!
| |
{{{italic}}} | Italic text. | Hello, World!
| |
{{{bold}}} | Bold text. | Hello, World!
| |
{{{underline}}} | Sets the underlining of the text. | Hello, World!
|
Avaliable Colors
orange
green
purple
pink
red
olive
yellow
comment
Test
{{Code|color=#FFFFFF|Hello, World!}}
{{{color|}}}