<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://prdmc.ca/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AParty_color%2Fdoc</id>
	<title>Template:Party color/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://prdmc.ca/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AParty_color%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:Party_color/doc&amp;action=history"/>
	<updated>2026-10-27T11:54:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://prdmc.ca/w/index.php?title=Template:Party_color/doc&amp;diff=3375&amp;oldid=prev</id>
		<title>RandomUser34: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:Party_color/doc&amp;diff=3375&amp;oldid=prev"/>
		<updated>2026-09-27T02:07:46Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:07, 27 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>RandomUser34</name></author>
	</entry>
	<entry>
		<id>https://prdmc.ca/w/index.php?title=Template:Party_color/doc&amp;diff=3374&amp;oldid=prev</id>
		<title>WP&gt;Northern Moonlight at 19:46, 19 September 2026</title>
		<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:Party_color/doc&amp;diff=3374&amp;oldid=prev"/>
		<updated>2026-09-19T19:46:11Z</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;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
{{High use}}&lt;br /&gt;
{{Lua|Module:Political party}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Template:Party color&amp;#039;&amp;#039;&amp;#039; produces the [[Web colors#Hex_triplet|hexadecimal color]] of the provided political party. To use it as the background color of a table cell, see [[:Template:Party color cell]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* {{Tlx|Party color|&amp;amp;lt;party name&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&amp;lt;section begin=&amp;quot;Parameters&amp;quot;/&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Parameter&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | 1&lt;br /&gt;
| The political party&amp;#039;s name. If a party is not found, place a request at the [[Module talk:Political party|talk page]].&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | error&lt;br /&gt;
| Optional, this parameter will return the provided {{para|error}} value if the module does not contain the requested party or color.&lt;br /&gt;
|}&amp;lt;section end=&amp;quot;Parameters&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
Here are some examples using the [[Labour Party (UK)]] (note that there are multiple potential input names):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
	[&amp;quot;Labour and Co-operative&amp;quot;] = &amp;quot;Labour Party (UK)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Labour Co-operative&amp;quot;] = &amp;quot;Labour Party (UK)&amp;quot;,&lt;br /&gt;
    ...&lt;br /&gt;
	[&amp;quot;Labour Party (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Labour Party (UK)&amp;quot;] = {abbrev = &amp;quot;Lab&amp;quot;, color = &amp;quot;#E4003B&amp;quot;, shortname = &amp;quot;Labour&amp;quot;,},&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* {{tlx|Party color|Labour Party (UK)}} → {{Party color|Labour Party (UK)}}&lt;br /&gt;
* {{tlx|Party color|Labour and Co-operative}} → {{Party color|Labour and Co-operative}}&lt;br /&gt;
* {{tlx|Party color|Labour Co-operative}} → {{Party color|Labour Co-operative}}&lt;br /&gt;
&lt;br /&gt;
===Error messages===&lt;br /&gt;
If the party is not supplied, or the color is not stored for the party, an error will be returned. Note that if the party is not in the module at all (third example below) the default color #F8F9FA will be returned.&lt;br /&gt;
* {{tlx|Party color}} → {{Party color}}&lt;br /&gt;
* {{tlx|Party color|A test no values}} → {{Party color|A test no values}}&lt;br /&gt;
* {{tlx|Party color|Not-a-party}} → {{Party color|Not-a-party}}&lt;br /&gt;
&lt;br /&gt;
To avoid generating a script error, use {{para|error|value}}. Note that this error value will also be passed if the party is not stored in the module.&lt;br /&gt;
* {{tlx|Party color|A test no values|error{{=}}ERROR}} → {{Party color|A test no values|error=ERROR}}&lt;br /&gt;
* {{tlx|Party color|Not-a-party|error{{=}}ERROR}} → {{Party color|Not-a-party|error=ERROR}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Template:Party abbr]]&lt;br /&gt;
* [[Template:Party shortname]]&lt;br /&gt;
* [[Module:Political party]] (Data pages)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Political party color templates]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>WP&gt;Northern Moonlight</name></author>
	</entry>
</feed>