<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://www.mansun.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AColor%2Fdoc</id>
		<title>Template:Color/doc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.mansun.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AColor%2Fdoc"/>
		<link rel="alternate" type="text/html" href="http://www.mansun.wiki/index.php?title=Template:Color/doc&amp;action=history"/>
		<updated>2026-04-29T19:40:01Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://www.mansun.wiki/index.php?title=Template:Color/doc&amp;diff=2170&amp;oldid=prev</id>
		<title>DarkMavis: Created page with &quot;{{Documentation subpage}} __NOTOC__ &lt;includeonly&gt;{{High-risk|122,000+}}&lt;/includeonly&gt; &lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&gt;  This template...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.mansun.wiki/index.php?title=Template:Color/doc&amp;diff=2170&amp;oldid=prev"/>
				<updated>2015-07-15T21:57:26Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} __NOTOC__ &amp;lt;includeonly&amp;gt;{{High-risk|122,000+}}&amp;lt;/includeonly&amp;gt; &amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;  This template...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}} __NOTOC__&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{High-risk|122,000+}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template can be used to specify the foreground color of a span of text. Acceptable values are [[RGB color model|RGB]] hex codes, e.g. #C9E72A, or any of the [[web colors]]: red, blue, green, moccasin, darkorchid, etc. To set the background color of a span of text, use {{tl|background color}}.&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
* {{tlx|color|name of color or hex code of color|Text}}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
{{tbullet|color|red|Hello, world!}}&lt;br /&gt;
{{tbullet|color|#00F000|Hello, world!}}&lt;br /&gt;
&lt;br /&gt;
If the second parameter is omitted, the color value is displayed as text:&lt;br /&gt;
&lt;br /&gt;
{{tbullet|color|#00F000}}&lt;br /&gt;
{{tbullet|color|red}}&lt;br /&gt;
&lt;br /&gt;
===Performance considerations===&lt;br /&gt;
The template generates an HTML span tag:&lt;br /&gt;
:{{code|&amp;lt;nowiki&amp;gt;&amp;lt;span style=&amp;quot;color:{{{1}}}&amp;quot;&amp;gt;{{{2}}}&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
It runs at speeds in excess of 700 per second, and so is functionally identical to using the HTML markup directly.&lt;br /&gt;
&lt;br /&gt;
===Template data===&lt;br /&gt;
{{TemplateDataHeader}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
        &amp;quot;description&amp;quot;: &amp;quot;The color template can be used to add a span of text with any given text color&amp;quot;,&lt;br /&gt;
        &amp;quot;params&amp;quot;: {&lt;br /&gt;
                &amp;quot;1&amp;quot;: {&lt;br /&gt;
                        &amp;quot;label&amp;quot;: &amp;quot;Color&amp;quot;,&lt;br /&gt;
                        &amp;quot;description&amp;quot;: &amp;quot;CSS name of color or hex code of color, e.g. 'red' or '#00F000'.&amp;quot;,&lt;br /&gt;
                        &amp;quot;type&amp;quot;: &amp;quot;string&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;label&amp;quot;: &amp;quot;Text&amp;quot;,&lt;br /&gt;
                        &amp;quot;description&amp;quot;: &amp;quot;The string of text to be formatted in the desired color&amp;quot;,&lt;br /&gt;
                        &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
                        &amp;quot;required&amp;quot;: true&lt;br /&gt;
                }&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* {{tl|resize}}&lt;br /&gt;
* {{tl|linkcolor}}&lt;br /&gt;
* {{tl|font color}} – sets both text and background color&lt;br /&gt;
* {{tl|background color}} – sets background color only&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox |&lt;br /&gt;
| &amp;lt;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;br /&gt;
[[Category:Text color templates| ]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>DarkMavis</name></author>	</entry>

	</feed>