<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.v-ris.ing/index.php?action=history&amp;feed=atom&amp;title=Template%3AColors</id>
	<title>Template:Colors - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.v-ris.ing/index.php?action=history&amp;feed=atom&amp;title=Template%3AColors"/>
	<link rel="alternate" type="text/html" href="https://wiki.v-ris.ing/index.php?title=Template:Colors&amp;action=history"/>
	<updated>2026-06-11T15:28:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.v-ris.ing/index.php?title=Template:Colors&amp;diff=5439&amp;oldid=prev</id>
		<title>imported&gt;Darthnemesis at 06:00, 31 May 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.v-ris.ing/index.php?title=Template:Colors&amp;diff=5439&amp;oldid=prev"/>
		<updated>2024-05-31T06:00:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
{{#vardefine: Colors | {{{Colors|{{{1|}}}}}} }}&lt;br /&gt;
{{#vardefine: Customs | {{{Customs|{{{2|}}}}}} }}&lt;br /&gt;
&amp;lt;div&amp;gt; &lt;br /&gt;
{{#invoke:ColorsListHandler|coloredSpans|{{#var:Colors}}|{{#var:Customs}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
==Colors==&lt;br /&gt;
&lt;br /&gt;
A simple template that returns a div with span(s) of color(s) separated by &amp;quot; / &amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Possible arguments for the template are:&lt;br /&gt;
*Colors or 1 (does the same thing)&lt;br /&gt;
*Customs or 2 (does the same thing)&lt;br /&gt;
&lt;br /&gt;
Colors can have &amp;quot;all&amp;quot; as argument:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Colors|All}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Colors|All}}&lt;br /&gt;
Colors can also have a specifict color:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Colors|Red}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Colors|Red}}&lt;br /&gt;
Colors can also have Colors separated by commas:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Colors|Red, Blue, Purple}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Colors|Red, Blue, Purple}}&lt;br /&gt;
Customs need a specifict structure, (name_displayed, color, index).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Colors|Customs=(red, red, 1),(blue, green, 2)}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Colors|Customs=(red, red, 1),(blue, green, 2)}}&lt;br /&gt;
Using Customs, you can insert custom colors in between normal ones using the third parameter (the index).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Colors|pink, purple|Customs=(red, red, 1),(blue, green, 5),(yellow, orange, 3)}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Colors|pink, purple|Customs=(red, red, 1),(blue, green, 5),(yellow, orange, 3)}}&lt;br /&gt;
Custom colors don&amp;#039;t need an index, the third parameter is optional so it could look like this: (name_displayed, color).&amp;lt;br&amp;gt;&lt;br /&gt;
Please note that Custom colors that don&amp;#039;t have index will be added at the end in the order they were entered.&amp;lt;br&amp;gt;&lt;br /&gt;
The color can be the color name or its HEX code [https://www.google.com/search?q=google+color+picker Google color picker].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Colors|pink, purple|Customs=(red, #c5d918, 1),(test2, orange)}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Colors|pink, purple|Customs=(red, #c5d918, 1),(test2, orange)}}&lt;br /&gt;
Lastly, you can use a combination of the all keyword and custom, but do note that all adds 12 colors in the same way as if you had entered them all in the Colors argument.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Colors|All|Customs=(red, #c5d918, 2),(test2, orange)}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Colors|All|Customs=(red, #c5d918, 2),(test2, orange)}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Darthnemesis</name></author>
	</entry>
</feed>