انتقل إلى المحتوى

وحدة:بطاقة/قالب/حزب سياسي/ملعب2

من ويكيبيديا، الموسوعة الحرة
-- Credits:
--  وهراني @arwiki (ar:وحدة:بطاقة/قالب/حزب سياسي)
-- Version: 20240325

local generic = require("وحدة:بطاقة/أدوات")
local org = require("وحدة:بطاقة/أدوات/منظمة")

return {
    maincolor = "#A7D4E7",
    wikimod = "Wikidata.Ca",
    parts = {
        generic.title(),
        {
            type = "subtitle",
            value = {"اسم مختصر", "short_name", "abbreviation", "abbr"},
            wikidata = {
                property = "P1813",
                list = "notlang",
                listmax = 2,
                conjunction = "<br />",
                formatting = "$text {{Language icon|NoCat=y|$language}}"
            },
	        metadata = {
	            description = "التسمية المختصرة",
	            option = "", 
	            type = "string", 
	        }
        },
        generic.logo(),      generic.flag(),
        generic.mainimage(),
        {
            type = "table",
            title = "التأسيس",
            rows = {
                {
                    type = "row",
                    label = "الاسم الرسمي",
                    value = {"اسم رسمي", "title_orig", "party name", "party_name"},
                    wikidata = {
                        property = "P1448 or P1705",
                        list = "notlang",
                        listmax = 2,
                        conjunction = "<br />",
                        formatting = "$text {{Language icon|NoCat=y|$language}}"
                    },
			        metadata = {
			            description = "الاسم الرسمي للحزب",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = "النوع",
                    value = {"نوع",'type'},
                    wikidata = {property = "P31"},
			        metadata = {
			            description = "نوع الحزب",
			            option = "", 
			            type = "", 
			        }
                },
                generic.country(),
                org.headquarters(),
                org.dates(),
                {
                    type = "row",
                    label = "انشق عن",
                    value = {"انشق", "split"},
                    wikidata = {property = "P807", showDate = "true"},
			        metadata = {
			            description = "اسم التنظيم/الحزب المنشق عنه",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = "اندمج في",
                    value = {"اندمج", "اندماج", "merged_into", "merged"},
                    wikidata = {property = "P7888", showDate = "true"},
			        metadata = {
			            description = "اسم التنظيم/الحزب المندمج فيه",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "succession",
                    previousparameter = {"سبقه"},
                    nextparameter = {"تبعه"},
                    previousproperty = "P155",
                    nextproperty = "P156"
                }
            }
        },
        {
            type = "table",
            title = "الشخصيات",
            rows = {
                org.key_people(),
                {
                    type = "row",
                    label = "الأمير",
                    value = {"الأمير"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = "القادة",
                    value = {"القائد", "قادة الحزب"},
			        metadata = {
			            description = "قادة الحزب",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = "عدد الأعضاء",
                    value = {"عدد_الأعضاء",'member count'},
                    wikidata = {
                        property = "P2124",
                        showDate = "true",
                        listrank = "bestrank",
                        conjunction = "<br />"
                    },
			        metadata = {
			            description = "عدد الأعضاء والكيانات المشكلة للحزب",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = "شخصيات بارزة",
                    value = {"شخصية", "شخصيات","significant_person"},
                    wikidata = {property = "P3342", conjunction = "<br />"},
			        metadata = {
			            description = "شخصيات بارزة في تاريخ وحاضر الحزب",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = "[[ناطق رسمي|الناطق الرسمي]]",
                    value = {"ناطق_رسمي", "spokesperson", "spokesman"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                }
            }
        },
        {
            type = "table",
            title = "الأفكار",
            rows = {
                {
                    type = "row",
                    label = {"جناح1_عنوان", "wing1_title"},
                    defaultlabel = "الجناح الأول",
                    value = {"جناح1", "wing1"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"جناح2_عنوان", "wing2_title"},
                    defaultlabel = "الجناح الثاني",
                    value = {"جناح2", "wing2"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    defaultlabel = "جناح الشباب",
                    value = {"جناح الشباب", "youth wing"},
                    wikidata = {property = "P4379"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                org.politics(),
                {type = "row", label = "الخلفية", value = {"الميول", "الخلفية"}},
                {
                    type = "row",
                    label = "الألوان",
                    value = {"الهوية", "colors", "الألوان", "اللون", "colours"},
                    wikidata = {
                    	wikimod = "Wikidata.Ca",
                    	formatting = "table", rowformat ="$1$0$R0",
                    	property = "P462", qualifier="/P465",
                    	rowsubformat1 = "{{Color sample|#$1}}&nbsp;"
                    },
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = "الدين",
                    value = {"الدين"},
                    wikidata = {property = "P140"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {type = "row", label = "الانتساب الوطني", value = {"الانتساب الوطني", "national"}},
                {
                    type = "row",
                    label = "الانتساب الإقليمي",
                    value = {"الانتساب المحلي", "regional", "regional affiliation"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = "الانتساب الدولي",
                    value = {"الانتساب الدولي", "international", "international affiliation"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = "عضو في",
                    value = {"عضو في", "member of", "membership"},
                    wikidata = {property = "P463", conjunction = "<br />"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                	type = "row", 
                	label = "يتكون من", 
                	value = {"يتكون من"}, 
                	wikidata = {property = "P527"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                }
            }
        },
        {
            type = "table",
            title = "المشاركة في الحكم",
            rows = {
                {type = "row", 
                	label = "عدد النواب", 
                	value = {"عدد النواب"},
                	wikidata = {
                		formatting= "table", listrank="bestrank", 
                		property =  "P1410" , 
                		qualifier="P194", 
                		qualifier2="P585 or P580",
                		qualifier3="P194/P1342", 
                		qualifier4= "P2937",
                		rowsubformat2="<small>($2)</small>", colformat2="Y", 
                		rowsubformat4="<small><br />($4)</small>", 
                		rowsubformat1="$1: $2", 
                		--rowformat="* $1 {{Composition bar|$0|$3|#98FB98}} $4"
                		rowformat="* $1 $0 مقعد $4"
                	},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"عدد المقاعد1_عنوان", "seats1_title"},
                    value = {"عدد المقاعد1", "seats1"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"عدد المقاعد2_عنوان", "seats2_title"},
                    value = {"عدد المقاعد2", "seats2"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"عدد المقاعد3_عنوان"},
                    value = {"عدد المقاعد3"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"عدد المقاعد4_عنوان"},
                    value = {"عدد المقاعد4"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"عدد المقاعد5_عنوان"},
                    value = {"عدد المقاعد5"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"عدد المقاعد6_عنوان"},
                    value = {"عدد المقاعد6"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"عدد المقاعد7_عنوان"},
                    value = {"عدد المقاعد7"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"عدد المقاعد8_عنوان"},
                    value = {"عدد المقاعد8"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = "المشاركة في الحكومة",
                    value = {"المشاركة في الحكومة ؟"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"رئيس المجلس1_عنوان"},
                    value = {"رئيس المجلس1"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"رئيس المجلس2_عنوان"},
                    value = {"رئيس المجلس2"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"رئيس المجلس3_عنوان"},
                    value = {"رئيس المجلس3"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"رئيس الكتلة1_عنوان"},
                    value = {"رئيس الكتلة1"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"رئيس الكتلة2_عنوان"},
                    value = {"رئيس الكتلة2"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                    type = "row",
                    label = {"رئيس الكتلة3_عنوان"},
                    value = {"رئيس الكتلة3"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                }
            }
        },
        {
            type = "table",
            title = "معلومات أخرى",
            rows = {
                {
                	type = "row", label = "الصحيفة الرسمية", 
                	value = {"صحيفة_رسمية", "الصحيفة_الرسمية","newspaper"},
			        metadata = {
			            description = "المطبوعة الإعلامية الرسمية ",
			            option = "", 
			            type = "", 
			        }
                },
                {
                	type = "row", label = "الإصدارات", 
                	value = {"الإصدارات"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                {
                	type = "row", label = "النشيد", 
                	value = {"النشيد", "anthem"}, 
                	wikidata = {property = "P85"},
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                   {
                    type = "row",
                    label = "مصنفة كمنظمة إرهابية حسب",
                    value = {"مصنفة كمنظمة إرهابية حسب", "designated as a terrorist by", "terrorist"},
                    wikidata = {
                    wikimod = "Wikidata.Ca",
                    property = "P3461", listrank="bestrank",
                   formatting = "table",
                   conjunction = "<br />",
                   rowformat = "{{flag|$0}}$R0",
                   colformat0 = "label"
                   },
			        metadata = {
			            description = "",
			            option = "", 
			            type = "", 
			        }
                },
                generic.website()
            }
        }
    } -- for parts
} -- for return