<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://horizonwiki.lol/index.php?action=history&amp;feed=atom&amp;title=Template%3AColorBracket</id>
	<title>Template:ColorBracket - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://horizonwiki.lol/index.php?action=history&amp;feed=atom&amp;title=Template%3AColorBracket"/>
	<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Template:ColorBracket&amp;action=history"/>
	<updated>2026-05-02T15:47:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://horizonwiki.lol/index.php?title=Template:ColorBracket&amp;diff=99623&amp;oldid=prev</id>
		<title>imported&gt;Garnet-HorizonXI (Fandom): Created page with &quot;&lt;noinclude&gt;{{PAGENAME}} ==Usage==  This template is meant to show what a color value will look like. It outputs a span with the background set to the provided color. Custom display text may also be provided.  * &#039;&#039;Parameter 1&#039;&#039;: The color to use. * &#039;&#039;Parameter 2&#039;&#039;: Use color value as the display text. ** If &#039;&#039;any value&#039;&#039; is provided, such as &#039;&#039;&#039;Y&#039;&#039;&#039;, then the value from &#039;&#039;Parameter 1&#039;&#039; will be shown in the brackets, and &#039;&#039;Parameter 3&#039;&#039; will be ignor...&quot;</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Template:ColorBracket&amp;diff=99623&amp;oldid=prev"/>
		<updated>2023-02-14T05:09:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;noinclude&amp;gt;&lt;a href=&quot;/wiki/Category:Templates&quot; title=&quot;Category:Templates&quot;&gt;{{PAGENAME}}&lt;/a&gt; ==Usage==  This template is meant to show what a color value will look like. It outputs a span with the background set to the provided color. Custom display text may also be provided.  * &amp;#039;&amp;#039;Parameter 1&amp;#039;&amp;#039;: The color to use. * &amp;#039;&amp;#039;Parameter 2&amp;#039;&amp;#039;: Use color value as the display text. ** If &amp;#039;&amp;#039;any value&amp;#039;&amp;#039; is provided, such as &amp;#039;&amp;#039;&amp;#039;Y&amp;#039;&amp;#039;&amp;#039;, then the value from &amp;#039;&amp;#039;Parameter 1&amp;#039;&amp;#039; will be shown in the brackets, and &amp;#039;&amp;#039;Parameter 3&amp;#039;&amp;#039; will be ignor...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;[[Category:Templates|{{PAGENAME}}]]&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
This template is meant to show what a color value will look like. It outputs a span with the background set to the provided color. Custom display text may also be provided.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;Parameter 1&amp;#039;&amp;#039;: The color to use.&lt;br /&gt;
* &amp;#039;&amp;#039;Parameter 2&amp;#039;&amp;#039;: Use color value as the display text.&lt;br /&gt;
** If &amp;#039;&amp;#039;any value&amp;#039;&amp;#039; is provided, such as &amp;#039;&amp;#039;&amp;#039;Y&amp;#039;&amp;#039;&amp;#039;, then the value from &amp;#039;&amp;#039;Parameter 1&amp;#039;&amp;#039; will be shown in the brackets, and &amp;#039;&amp;#039;Parameter 3&amp;#039;&amp;#039; will be ignored.&lt;br /&gt;
** If not provided, &amp;#039;&amp;#039;Parameter 3&amp;#039;&amp;#039; will be used.&lt;br /&gt;
* &amp;#039;&amp;#039;Parameter 3&amp;#039;&amp;#039;: Custom display text.&lt;br /&gt;
** If not provided, 8 non-breaking spaces will be used.&lt;br /&gt;
&lt;br /&gt;
A typical use for this template would be in the usage documentation of another template that accepts a color parameter, but a default will be used if not provided. Refer to the Examples below for details.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Syntax:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{ColorBracket|COLOR_VALUE|USE_COLOR|CUSTOM_TEXT}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
===Color Only===&lt;br /&gt;
&lt;br /&gt;
* Only provides the color value.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Usage:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MyColorParm&amp;#039;&amp;#039;&amp;#039;: Some color value.&amp;lt;br/&amp;gt;&amp;#039;&amp;#039;Default value is #FF0000&amp;#039;&amp;#039;: {{ColorBracket|#FF0000}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Output:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MyColorParm&amp;#039;&amp;#039;&amp;#039;: Some color value.&amp;lt;br/&amp;gt;&amp;#039;&amp;#039;Default value is #FF0000&amp;#039;&amp;#039;: &amp;amp;#091;&amp;lt;span style=&amp;quot;background-color:#FF0000;&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;amp;#093;&lt;br /&gt;
&lt;br /&gt;
===Color as Text===&lt;br /&gt;
&lt;br /&gt;
* Color value and flag to use it as the display text.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Usage:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MyColorParm&amp;#039;&amp;#039;&amp;#039;: Some color value.&amp;lt;br/&amp;gt;&amp;#039;&amp;#039;Default value is #FF0000&amp;#039;&amp;#039;: {{ColorBracket|#FF0000|Y}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Output:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MyColorParm&amp;#039;&amp;#039;&amp;#039;: Some color value.&amp;lt;br/&amp;gt;&amp;#039;&amp;#039;Default value is #FF0000&amp;#039;&amp;#039;: &amp;amp;#091;&amp;lt;span style=&amp;quot;background-color:#FF0000;&amp;quot;&amp;gt;&amp;amp;nbsp;#FF0000&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;amp;#093;&lt;br /&gt;
&lt;br /&gt;
===Custom Text===&lt;br /&gt;
&lt;br /&gt;
* Color value and custom text. Note that the 2nd parameter is empty.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Usage:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MyColorParm&amp;#039;&amp;#039;&amp;#039;: Some color value.&amp;lt;br/&amp;gt;&amp;#039;&amp;#039;Default value is #FF0000&amp;#039;&amp;#039;: {{ColorBracket|#FF0000||Sample Text}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Output:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MyColorParm&amp;#039;&amp;#039;&amp;#039;: Some color value.&amp;lt;br/&amp;gt;&amp;#039;&amp;#039;Default value is #FF0000&amp;#039;&amp;#039;: &amp;amp;#091;&amp;lt;span style=&amp;quot;background-color:#FF0000;&amp;quot;&amp;gt;&amp;amp;nbsp;Sample Text&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;amp;#093;&lt;br /&gt;
&lt;br /&gt;
==Default Output==&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;onlyinclude&amp;gt;&amp;amp;#091;&amp;lt;span style=&amp;quot;background-color:{{{1|#000}}};&amp;quot;&amp;gt;&amp;amp;nbsp;{{&lt;br /&gt;
    #if: {{{2|}}}|{{{1}}}|{{&lt;br /&gt;
        #if: {{{3|}}}|{{{3}}}|&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;}}}}&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;amp;#093;&amp;lt;/onlyinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Garnet-HorizonXI (Fandom)</name></author>
	</entry>
</feed>