Template:Infobox political party: Difference between revisions

Template page
(Template test)
 
No edit summary
Line 1: Line 1:
<templatedata>
{{Infobox political party
{
| name =  
"description": "An infobox for political party.",
| native_name =
"format": "{{_\n| ________________ = _\n}}\n",
| native_name_lang =
"params": {
| lang1 =
"name": {
| name_lang1 =
"label": "Name",
| lang2 =
"description": "The name of the party",
| name_lang2 =
"type": "string"
| lang3 =
},
| name_lang3 =
"logo": {
| lang4 =
"label": "Logo",
| name_lang4 =
"description": "The logo of the party",
| logo =
"type": "string"
| logo_size =
},
| logo_upright =
"logo_size": {
| logo_alt =
"label": "Logo size",
| caption =
"description": "Size of logo image",
| colorcode =        <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
"type": "string"
| abbreviation =      <!-- official abbreviation or | abbr = -->
},
| leader =
"colorcode": {
| president =
"label": "Color code",
| chairperson =      <!-- or | chairman = -->
"description": "The color to be used for infobox accents. HTML color code (e.g. red, #FF0000 or Party metadata color template) or transparent for no coloring.",
| secretary =
"type": "string"
| general_secretary =
},
| first_secretary =
"leader": {
| secretary_general =
"label": "Leader",
| presidium =
"description": "The leader of the party",
| governing_body =
"type": "string"
| standing_committee =
},
| spokesperson =      <!-- or | spokesman = -->
"president": {
| leader1_title =
"label": "President",
| leader1_name =
"description": "The president of the party",
| leader2_title =
"type": "string"
| leader2_name =
},
| leader3_title =
"chairperson": {
| leader3_name =
"label": "Chairperson",
| leader4_title =
"description": "The chairperson of the party",
| leader4_name =
"type": "string",
| leader5_title =
"aliases": [
| leader5_name =
"chairman"
| founder =          <!-- or | founders = -->
]
| founded =          <!-- or | foundation = use {{start date|YYYY|MM|DD}} -->
},
| registered =
"secretary": {
| legalised =        <!-- or | legalized = -->
"label": "Secretary",
| dissolved =        <!-- or | banned = or | dissolution = use {{end date|YYYY|MM|DD}} -->
"description": "The secretary of the party",
| merger =
"type": "string"
| split =
},
| predecessor =
"general_secretary": {
| merged =
"label": "General secretary",
| successor =
"description": "The general secretary of the party",
| headquarters =
"type": "string"
| newspaper =
},
| think_tank =
"first_secretary": {
| student_wing =
"label": "First secretary",
| youth_wing =
"description": "The first secretary of the party",
| womens_wing =
"type": "string"
| wing1_title =
},
| wing1 =
"secretary_general": {
| wing2_title =
"label": "Secretary-general",
| wing2 =
"description": "The secretary-general of the party",
| wing3_title =
"type": "string"
| wing3 =
},
| wing4_title =
"presidium": {
| wing4 =
"label": "Presidium",
| membership_year =
"description": "The presidium of the party",
| membership =
"type": "string"
| ideology =
},
| position =
"spokesperson": {
| religion =
"label": "Spokesperson",
| national =
"description": "The spokesperson of the party",
| regional =          <!-- or | regional affiliation = -->
"type": "string",
| european =
"aliases": [
| continental =      <!-- or | continental affiliation = -->
"spokesman"
| international =
]
| europarl =
},
| affiliation1_title =
"foundation": {
| affiliation1 =
"label": "Foundation",
| affiliation2_title =
"description": "The foundation date of the party. Insert as {{Start date|YYYY|MM|DD}}.",
| affiliation2 =
"type": "string",
| colors =            <!-- or | colours = ; use based on [[WP:ENGVAR]]-->
"aliases": [
| slogan =
"founded"
| anthem =
]
| blank1_title =
},
| blank1 =
"ideology": {
| blank2_title =
"label": "Ideology",
| blank2 =
"description": "The ideology of the party",
| blank3_title =
"type": "string"
| blank3 =
},
| blank4_title =
"headquarters": {
| blank4 =
"label": "Headquarters",
| seats1_title =
"description": "The headquarters of the party",
| seats1 =            <!-- {{Infobox political party/seats|50|100|hex=#ff0000}} -->
"type": "string"
| seats2_title =
},
| seats2 =
"international": {
| seats3_title =
"label": "International",
| seats3 =
"description": "The international of the party",
| seats4_title =      <!-- up to | seats11_title = -->
"type": "string"
| seats4 =            <!-- up to | seats11 = -->
},
| symbol =
"website": {
| flag =
"label": "Website",
| flag_title =
"description": "The website of the party",
| flag_alt =
"type": "string"
| website =
},
| state =            <!-- or | country = -->
"registered": {
| country =          <!-- or | state = -->
"label": "Registered",
| country_dab1 =
"description": "The registration number of party; if unregistered, then write NO.",
| parties_dab1 =
"type": "string"
| elections_dab1 =
},
| country2 =
"country": {
| country_dab2 =
"label": "Country",
| parties_dab2 =
"description": "The country of the party",
| elections_dab2 =
"type": "string",
| footnotes =
"aliases": [
}}
"state"
]
},
"abbreviation": {
"aliases": [
"abbr"
]
},
"founder": {
"aliases": [
"founders"
]
},
"legalised": {
"aliases": [
"legalized"
]
},
"dissolved": {
"aliases": [
"banned",
"dissolution"
]
},
"colors": {
"description": "The official colors of the party, independent of infobox usage",
"aliases": [
"colours"
]
},
"native_name": {
"label": "Native name",
"description": "The native name of the party",
"type": "string"
},
"native_name_lang": {
"label": "Native name language code",
"description": "The ISO-639 language code of the native name of the party",
"example": "en",
"type": "string"
},
        "governing_body": {},
"standing_committee": {},
"merger": {},
"split": {
"label": "Split from",
"description": "Party or organisation the party was split from",
"type": "string"
},
"predecessor": {},
"merged": {},
"successor": {},
"newspaper": {},
"think_tank": {
"aliases": [
"think tank"
]
},
"student_wing": {},
"youth_wing": {},
"womens_wing": {},
"membership": {},
"membership_year": {},
"position": {},
"religion": {},
"national": {},
"regional": {
"aliases": [
"regional affiliation"
]
},
"european": {},
"continental": {
"aliases": [
"continental affiliation"
]
},
"europarl": {},
"slogan": {},
"anthem": {},
"symbol": {},
"flag": {
"aliases": [
"flag_title"
]
},
"flag_alt": {},
"country2": {},
"footnotes": {},
"logo_upright": {},
"logo_alt": {}
},
"paramOrder": [
"name",
"native_name",
"logo",
"logo_size",
"colorcode",
"leader",
"president",
"chairperson",
"secretary",
"general_secretary",
"first_secretary",
"secretary_general",
"presidium",
"spokesperson",
"foundation",
"ideology",
"headquarters",
"international",
"website",
"registered",
"country",
"abbreviation",
"founder",
"legalised",
"dissolved",
"colors",
"native_name_lang",
        "governing_body",
"standing_committee",
"merger",
"split",
"predecessor",
"merged",
"successor",
"newspaper",
"think_tank",
"student_wing",
"youth_wing",
"womens_wing",
"membership",
"membership_year",
"position",
"religion",
"national",
"regional",
"european",
"continental",
"europarl",
"slogan",
"anthem",
"symbol",
"flag",
"flag_alt",
"country2",
"footnotes",
"logo_upright",
"logo_alt"
]
}
</templatedata>

Revision as of 01:36, 28 October 2022

Template loop detected: Template:Infobox political party