Template:Tint/doc

Từ Valve Developer Community
Bước tới điều hướng Bước tới tìm kiếm
Edit-copy.png
Đây là trang tài liệu con chuỗi cho  Template:Tint.
Nếu bạn đã tạo hoặc chỉnh sửa các nội dung của trang này, đừng quên làm mới nó.

A template for coloring text with colors that match the wiki.

Parameters and Examples

Parameter Description Example Preview
{{{color}}} Defined text color. The default color is white. The other colors can be found below.
Icon-Important.pngQuan trọng:Custom HSL, HEX, RGB and others are not supported. This is necessary to standardize syntax highlighting.
{{Tint|color=yellow|Hello, World!}}
Hello, World!
{{{italic}}} Italic text.
{{Tint|italic=1|Hello, World!}}
Hello, World!
{{{bold}}} Bold text.
{{Tint|bold=1|Hello, World!}}
Hello, World!
{{{underline}}} Sets the underlining of the text.
{{Tint|underline=1|Hello, World!}}
Hello, World!
{{{strikethrough}}} Applies strikethrough to text.
{{Tint|strikethrough=1|Hello, World!}}
Hello, World!

Avaliable Colors

The following describes the color names you can use in {{{color}}}.

Color name Color code
orange #E67E22
green #C3E88D
darkgreen #9FCE3B
purple #C792FF
pink #EF9B9B
red #E74C3C
yellow #FFCB6B
gold #EBB917
blue #3A9BF0
olive #CEC93B
gray #CFCFCF
comment #5F6469
default #FFFFFF