<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ar">
	<id>https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%88%D8%AD%D8%AF%D8%A9%3APolitical_party%2F%D8%B4%D8%B1%D8%AD</id>
	<title>وحدة:Political party/شرح - تاريخ المراجعة</title>
	<link rel="self" type="application/atom+xml" href="https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%88%D8%AD%D8%AF%D8%A9%3APolitical_party%2F%D8%B4%D8%B1%D8%AD"/>
	<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%88%D8%AD%D8%AF%D8%A9:Political_party/%D8%B4%D8%B1%D8%AD&amp;action=history"/>
	<updated>2026-06-08T18:42:16Z</updated>
	<subtitle>تاريخ التعديل لهذه الصفحة في الويكي</subtitle>
	<generator>MediaWiki 1.43.7</generator>
	<entry>
		<id>https://3rabica.org/index.php?title=%D9%88%D8%AD%D8%AF%D8%A9:Political_party/%D8%B4%D8%B1%D8%AD&amp;diff=2273&amp;oldid=prev</id>
		<title>عبد العزيز: بوت: إصلاح أخطاء فحص أرابيكا من 1 إلى 104</title>
		<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%88%D8%AD%D8%AF%D8%A9:Political_party/%D8%B4%D8%B1%D8%AD&amp;diff=2273&amp;oldid=prev"/>
		<updated>2023-07-09T07:08:19Z</updated>

		<summary type="html">&lt;p&gt;بوت: إصلاح أخطاء فحص أرابيكا من 1 إلى 104&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحة جديدة&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{تقييم وحدة|general}}&lt;br /&gt;
{{استخدام واسع}}&lt;br /&gt;
{{Lua|وحدة:Arguments|وحدة:Delink}}&lt;br /&gt;
&lt;br /&gt;
== الاستخدام ==&lt;br /&gt;
{{Mlx|{{BASEPAGENAME}}|fetch|&amp;lt;party&amp;gt;|&amp;lt;value&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{{تضمين قسم|source=قالب:حزب سياسي/شرح}}&lt;br /&gt;
{{Trim|{{#section:قالب:حزب سياسي/شرح|Parameters}}}}&lt;br /&gt;
&lt;br /&gt;
== Updating the module ==&lt;br /&gt;
The political parties contained in this module are split into alphabetised lists based on the first character of the name (for example, &amp;quot;Labour Party (UK)&amp;quot; would be under [[وحدة:Political party/L|/L]]). The [[وحدة:Political party/1|/1]] subpage is for any party that does not start with the western letters A-Z (including numbers and accented characters).&lt;br /&gt;
&lt;br /&gt;
Within each data submodule are two local groups: &amp;lt;code lang=lua&amp;gt;local alternate&amp;lt;/code&amp;gt; and &amp;lt;code lang=lua&amp;gt;local full&amp;lt;/code&amp;gt;. The alternate group is for alternate names of a party. The following is an example of alternate names for the [[Labour Party (UK)]]:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=lua&amp;gt;&lt;br /&gt;
local alternate = {&lt;br /&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;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The first entry in square brackets is the alternate name, and the second entry only in quotes is the name found in the &amp;lt;code&amp;gt;full&amp;lt;/code&amp;gt; group, seen below. Note that the alternate name of a party should be stored in its corresponding letter-based subpage; &amp;quot;Alabama Democratic Party&amp;quot; is listed in [[وحدة:Political party/A|/A]] even though it is an alternate name for &amp;quot;Democratic Party (US)&amp;quot; (which is stored in [[وحدة:Political party/D|/D]]).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=lua&amp;gt;&lt;br /&gt;
local full = {&lt;br /&gt;
    ....&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;
    ...&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Table values ===&lt;br /&gt;
There are three values stored for each party:&lt;br /&gt;
* The abbreviation (&amp;lt;code&amp;gt;abbrev&amp;lt;/code&amp;gt;).&lt;br /&gt;
* The color of the party (&amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt;), which can either be a [[hex triplet]] or a [[Web colors#Basic colors|basic color name]].&lt;br /&gt;
* A shorter name for the party (&amp;lt;code&amp;gt;shortname&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
If a name value is not stored for a party, the module will attempt to return the other &amp;quot;short&amp;quot; name variant before returning the input. Thus, if &amp;lt;code&amp;gt;abbrev&amp;lt;/code&amp;gt; is stored but &amp;lt;code&amp;gt;shortname&amp;lt;/code&amp;gt; is not, regardless of which value is asked for it will return the &amp;lt;code&amp;gt;abbrev&amp;lt;/code&amp;gt; value.&lt;br /&gt;
&lt;br /&gt;
== Requesting an addition or a change ==&lt;br /&gt;
Requests should be made at the [[نقاش الوحدة:Political party|talk page]] in a new section. Copy the following line and fill in {{em|only}} the fields relevant to the party. A party name is required as is at least one other piece of information. See above for information regarding each value.&lt;br /&gt;
* &amp;lt;code&amp;gt;[&amp;quot;party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Error messages ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Module error messages and resolutions&lt;br /&gt;
!Error message&lt;br /&gt;
!Resolution&lt;br /&gt;
|-&lt;br /&gt;
|Lua error: bad argument #1 to &amp;#039;sub&amp;#039; (string expected, got table).&lt;br /&gt;
|An entry intended for the &amp;quot;local full&amp;quot; section has been placed into the &amp;quot;local alternate&amp;quot; section. Move it to the &amp;quot;local full&amp;quot; section&lt;br /&gt;
|-&lt;br /&gt;
| Lua error in package.lua at line 80: module &amp;#039;Module:Political party/&amp;#039; not found.&lt;br /&gt;
| Party added to alternate list with empty value.&lt;br /&gt;
|-&lt;br /&gt;
|Value not in template. Please request that it be added. ([https://en.wikipedia.org/w/index.php?search=%22Value+not+in+template.+Please+request+that+it+be+added.%22&amp;amp;title=Special:Search&amp;amp;profile=advanced&amp;amp;fulltext=1&amp;amp;ns0=1 article search])&lt;br /&gt;
|The party in question has an entry with no color in the &amp;quot;local full&amp;quot; section. (This can be caused by duplicate entries in &amp;quot;local full&amp;quot; that, if present, should be merged.)&lt;br /&gt;
|-&lt;br /&gt;
|(no error message, but party color is white/blank)&lt;br /&gt;
|Add a color for the party to its entry in the &amp;quot;local full&amp;quot; section in the relevant Module:Political party/ lettered data page (see links below).&lt;br /&gt;
|-&lt;br /&gt;
|parameter 1 should be a party name ([https://en.wikipedia.org/w/index.php?search=%22parameter+1+should+be+a+party+name%22&amp;amp;title=Special:Search&amp;amp;profile=advanced&amp;amp;fulltext=1&amp;amp;ns0=1&amp;amp;searchToken=6facepv07u1udc6gtrdi3x0fy article search])&lt;br /&gt;
| A template is trying to feed a missing parameter to the module. Work around this by [https://en.wikipedia.org/w/index.php?title=Template:Election_box_inline_candidate_with_party_link_no_change&amp;amp;action=history testing for the parameter] in the template.&lt;br /&gt;
|-&lt;br /&gt;
|parameter 2 should be the output type ([https://en.wikipedia.org/w/index.php?search=%22parameter+2+should+be+the+output+type%22&amp;amp;title=Special:Search&amp;amp;profile=advanced&amp;amp;fulltext=1&amp;amp;ns0=1 article search])&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Data pages ==&lt;br /&gt;
{{div col}}&lt;br /&gt;
* [[وحدة:Political party/1|Political party/1]]&lt;br /&gt;
* [[وحدة:Political party/A|Political party/A]]&lt;br /&gt;
* [[وحدة:Political party/B|Political party/B]]&lt;br /&gt;
* [[وحدة:Political party/C|Political party/C]]&lt;br /&gt;
* [[وحدة:Political party/D|Political party/D]]&lt;br /&gt;
* [[وحدة:Political party/E|Political party/E]]&lt;br /&gt;
* [[وحدة:Political party/F|Political party/F]]&lt;br /&gt;
* [[وحدة:Political party/G|Political party/G]]&lt;br /&gt;
* [[وحدة:Political party/H|Political party/H]]&lt;br /&gt;
* [[وحدة:Political party/I|Political party/I]]&lt;br /&gt;
* [[وحدة:Political party/J|Political party/J]]&lt;br /&gt;
* [[وحدة:Political party/K|Political party/K]]&lt;br /&gt;
* [[وحدة:Political party/L|Political party/L]]&lt;br /&gt;
* [[وحدة:Political party/M|Political party/M]]&lt;br /&gt;
* [[وحدة:Political party/N|Political party/N]]&lt;br /&gt;
* [[وحدة:Political party/O|Political party/O]]&lt;br /&gt;
* [[وحدة:Political party/P|Political party/P]]&lt;br /&gt;
* [[وحدة:Political party/Q|Political party/Q]]&lt;br /&gt;
* [[وحدة:Political party/R|Political party/R]]&lt;br /&gt;
* [[وحدة:Political party/S|Political party/S]]&lt;br /&gt;
* [[وحدة:Political party/T|Political party/T]]&lt;br /&gt;
* [[وحدة:Political party/U|Political party/U]]&lt;br /&gt;
* [[وحدة:Political party/V|Political party/V]]&lt;br /&gt;
* [[وحدة:Political party/W|Political party/W]]&lt;br /&gt;
* [[وحدة:Political party/X|Political party/X]]&lt;br /&gt;
* [[وحدة:Political party/Y|Political party/Y]]&lt;br /&gt;
* [[وحدة:Political party/Z|Political party/Z]]&lt;br /&gt;
{{div col end}}&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;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>عبد العزيز</name></author>
	</entry>
</feed>