<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AHighlight%2Fdoc</id>
	<title>Template:Highlight/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AHighlight%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Highlight/doc&amp;action=history"/>
	<updated>2026-04-03T19:54:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Highlight/doc&amp;diff=37249&amp;oldid=prev</id>
		<title>imported&gt;Cedar101: /* Examples */ {{tlx}}</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Highlight/doc&amp;diff=37249&amp;oldid=prev"/>
		<updated>2023-02-22T01:43:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples: &lt;/span&gt; {{tlx}}&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{Template shortcut|hl|hilite}}&lt;br /&gt;
For adding yellow highlight to specified text. The highlight color can be changed, and the highlight can also be set to expire at a certain date. Please keep template usage to talk pages only.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{highlight | text | color (optional) | expiration (optional) }}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;text&amp;#039;&amp;#039;&amp;#039; (parameter 1): Enter the text to be highlighted.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Optional parameters&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
These parameters are optional, but unused parameters must be separated by a pipe (see examples below):&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;color&amp;#039;&amp;#039;&amp;#039; (parameter 2): Colors may be specified by word (e.g., &amp;quot;red&amp;quot;, &amp;quot;blue&amp;quot;, &amp;quot;lightgreen&amp;quot;) or in [[Web colors|hexadecimal]] format (e.g., &amp;quot;#FF0066&amp;quot;, &amp;quot;#C0C0C0&amp;quot;). If no value is given for the color, the template defaults to yellow.&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;expiration&amp;#039;&amp;#039;&amp;#039; (parameter 3): Highlights may be set to expire on a certain date, which leaves the text as-is, but removes the highlight color. The expiration value can be specified in any format.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! code !! output !! notes&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|highlight| text }} || {{highlight | text }} || The default highlight color is yellow&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|highlight| text | lightblue }} || {{highlight | text | lightblue }} || The second parameter is the highlight color&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|highlight| text | lightblue | 2011-01-01 }} || {{highlight | text | lightblue | 2011-01-01 }} || This is not highlighted since 1 January 2011 is in the past&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;white-space:nowrap;&amp;quot; | {{tlx|highlight| text | lightblue | {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} }} || {{highlight | text || {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}} || There is no highlighting on the expiration date ({{Purge|purge this page&amp;#039;s server cache}} if today&amp;#039;s date is not shown)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;white-space:nowrap;&amp;quot; | {{tlx|highlight| text | #00FF00 | 1 January 2099 }} || {{highlight | text | #00FF00 | 1 January 2099 }} || This is highlighted since 1 January 2099 is in the future&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|highlight| text || January 1, 2099 }} || {{highlight | text || January 1, 2099 }} || Note the color parameter, left blank, is still represented&amp;lt;br&amp;gt; with a pipe (followed by the expiration parameter pipe)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* {{tl|Highlight round}} – highlights the included text using a rounded box {{Highlight round|with shadows}}&lt;br /&gt;
* {{tl|tq}} – for quoting text on talk pages&lt;br /&gt;
* {{tl|font color}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;text&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Text to be highlighted&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;Some text goes here&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;content&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;color&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Highlight color&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;CSS color to be used for highlight, like lightblue or #FF0066&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;lightblue&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;unknown&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;yellow&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;3&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;expiration&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Expiration date of highlight&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;After this date, the text will remain but the highlight color will not display.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;2029-09-01&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;date&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Highlights the given text.&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;1&amp;quot;,&lt;br /&gt;
		&amp;quot;2&amp;quot;,&lt;br /&gt;
		&amp;quot;3&amp;quot;&lt;br /&gt;
	],&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Typing-aid templates]]&lt;br /&gt;
[[Category:Text color templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Cedar101</name></author>
	</entry>
</feed>