Template:Highlight: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Changed text color to black for readability)
mNo edit summary
 
Line 1: Line 1:
<span style="color: #000000; background-color: #FFFF00">{{{1}}}</span><noinclude>[[Category:Text color templates]]</noinclude>
{{Doc}}
<includeonly><onlyinclude><span style="color: {{{text color|#000000}}}; background-color: {{{color|#FFFF00}}}">{{{1}}}</span></onlyinclude></includeonly><noinclude>[[Category:Text color templates]]</noinclude>

Latest revision as of 11:35, 16 January 2024

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)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

Usage

This template is used to add simple Word-like highlighting to a sentence. The default highlight color is yellow and text color is black, but these can be changed with the {{{color}}} and {{{text color}}} parameters respectively.
{{highlight|Look at me!}} -> Look at me!

{{highlight|color=blue|text color=rgb(255,255,255)|Look at me!}} -> Look at me!