Difference between revisions of "Template:Infobox political party"

From MicroWiki, the micronational encyclopædia
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 106: Line 106:
 
|  data22 = {{if empty|{{{founded|}}}|{{{foundation|}}}}}
 
|  data22 = {{if empty|{{{founded|}}}|{{{foundation|}}}}}
  
| label23 = Legali{{#if:{{{legalised|}}}|s|z}}ed
+
| label23 = Registered
|  data23 = {{if empty|{{{legalised|}}}|{{{legalized|}}}}}
+
|  data23 = {{{registered|}}}
  
| label24 = {{#if:{{{banned|}}} |Banned |Dissolved}}
+
| label24 = Legali{{#if:{{{legalised|}}}|s|z}}ed
|  data24 = {{if empty|{{{banned|}}}|{{{dissolved|}}}|{{{dissolution|}}}}}
+
|  data24 = {{if empty|{{{legalised|}}}|{{{legalized|}}}}}
  
| label25 = Merger of
+
| label25 = {{#if:{{{banned|}}} |Banned |Dissolved}}
|  data25 = {{{merger|}}}
+
|  data25 = {{if empty|{{{banned|}}}|{{{dissolved|}}}|{{{dissolution|}}}}}
  
| label26 = Split from
+
| label26 = Merger of
|  data26 = {{{split|}}}
+
|  data26 = {{{merger|}}}
  
| label27 = Preceded by
+
| label27 = Split from
|  data27 = {{{predecessor|}}}
+
|  data27 = {{{split|}}}
  
| label28 = Merged into
+
| label28 = Preceded by
|  data28 = {{{merged|}}}
+
|  data28 = {{{predecessor|}}}
  
| label29 = Succeeded by
+
| label29 = Merged into
|  data29 = {{{successor|}}}
+
|  data29 = {{{merged|}}}
  
| label30 = Headquarters
+
| label30 = Succeeded by
| class30 = label
+
|  data30 = {{{successor|}}}
|  data30 = {{{headquarters|}}}
 
  
| label31 = Newspaper
+
| label31 = Headquarters
|  data31 = {{{newspaper|}}}
+
| class31 = label
 +
|  data31 = {{{headquarters|}}}
  
| label32 = [[Think tank]]
+
| label32 = Newspaper
|  data32 = {{if empty|{{{think tank|}}}|{{{think_tank|}}}}}
+
|  data32 = {{{newspaper|}}}
  
| label33 = Student wing
+
| label33 = [[Think tank]]
|  data33 = {{{student_wing|}}}
+
|  data33 = {{if empty|{{{think tank|}}}|{{{think_tank|}}}}}
  
| label34 = [[Youth wing]]
+
| label34 = Student wing
|  data34 = {{{youth_wing|}}}
+
|  data34 = {{{student_wing|}}}
  
| label35 = Women's wing
+
| label35 = [[Youth wing]]
|  data35 = {{{womens_wing|}}}
+
|  data35 = {{{youth_wing|}}}
  
| label36 = {{{wing1_title}}}
+
| label36 = Women's wing
|  data36 = {{{wing1|}}}
+
|  data36 = {{{womens_wing|}}}
  
| label37 = {{{wing2_title}}}
+
| label37 = {{{wing1_title}}}
|  data37 = {{{wing2|}}}
+
|  data37 = {{{wing1|}}}
  
| label38 = {{{wing3_title}}}
+
| label38 = {{{wing2_title}}}
|  data38 = {{{wing3|}}}
+
|  data38 = {{{wing2|}}}
  
| label39 = {{{wing4_title}}}
+
| label39 = {{{wing3_title}}}
|  data39 = {{{wing4|}}}
+
|  data39 = {{{wing3|}}}
  
| label40 = Membership{{#if:{{{membership_year|}}} | ({{{membership_year}}})}}
+
| label40 = {{{wing4_title}}}
|  data40 = {{{membership|}}}
+
|  data40 = {{{wing4|}}}
  
| label41 = [[List of political ideologies|Ideology]]
+
| label41 = Membership{{#if:{{{membership_year|}}} | ({{{membership_year}}})}}
| class41 = category
+
|  data41 = {{{membership|}}}
|  data41 = {{{ideology|}}}
 
  
| label42 = [[Political spectrum|Political position]]
+
| label42 = [[w:List of political ideologies|Ideology]]
 
| class42 = category
 
| class42 = category
|  data42 = {{{position|}}}
+
|  data42 = {{{ideology|}}}
  
| label43 = [[Religion]]
+
| label43 = [[w:Political spectrum|Political position]]
 
| class43 = category
 
| class43 = category
|  data43 = {{{religion|}}}
+
|  data43 = {{{position|}}}
  
| label44 = National affiliation
+
| label44 = [[Religion]]
 
| class44 = category
 
| class44 = category
|  data44 = {{{national|}}}
+
|  data44 = {{{religion|}}}
  
| label45 = Regional affiliation
+
| label45 = National affiliation
 
| class45 = category
 
| class45 = category
|  data45 = {{if empty|{{{regional|}}}|{{{regional affiliation|}}}}}
+
|  data45 = {{{national|}}}
  
| label46 = [[European political party|European affiliation]]
+
| label46 = Regional affiliation
 
| class46 = category
 
| class46 = category
|  data46 = {{{european|}}}
+
|  data46 = {{if empty|{{{regional|}}}|{{{regional affiliation|}}}}}
  
| label47 = Continental affiliation
+
| label47 = [[European political party|European affiliation]]
 
| class47 = category
 
| class47 = category
|  data47 = {{if empty|{{{continental|}}}|{{{continental affiliation|}}}}}
+
|  data47 = {{{european|}}}
  
| label48 = International affiliation
+
| label48 = Continental affiliation
 
| class48 = category
 
| class48 = category
|  data48 = {{{international|}}}
+
|  data48 = {{if empty|{{{continental|}}}|{{{continental affiliation|}}}}}
  
| label49 = [[Political groups of the European Parliament|European Parliament group]]
+
| label49 = International affiliation
 
| class49 = category
 
| class49 = category
|  data49 = {{{europarl|}}}
+
|  data49 = {{{international|}}}
  
| label50 = {{{affiliation1_title}}}
+
| label50 = [[Political groups of the European Parliament|European Parliament group]]
 
| class50 = category
 
| class50 = category
|  data50 = {{#if:{{{affiliation1_title|}}}|{{{affiliation1|}}}}}
+
|  data50 = {{{europarl|}}}
  
| label51 = {{{affiliation2_title}}}
+
| label51 = {{{affiliation1_title}}}
 
| class51 = category
 
| class51 = category
|  data51 = {{#if:{{{affiliation2_title|}}}|{{{affiliation2|}}}}}
+
|  data51 = {{#if:{{{affiliation1_title|}}}|{{{affiliation1|}}}}}
  
| label52 = Colo{{#if:{{{colours|}}}|u|}}rs
+
| label52 = {{{affiliation2_title}}}
|  data52 = {{{colo{{#if:{{{colours|}}}|u|}}rs|}}}
+
| class52 = category
 +
|  data52 = {{#if:{{{affiliation2_title|}}}|{{{affiliation2|}}}}}
  
| label53 = Slogan
+
| label53 = Colo{{#if:{{{colours|}}}|u|}}rs
|  data53 = {{{slogan|}}}
+
|  data53 = {{{colo{{#if:{{{colours|}}}|u|}}rs|}}}
  
| label54 = Anthem
+
| label54 = Slogan
|  data54 = {{{anthem|}}}
+
|  data54 = {{{slogan|}}}
  
| label55 = {{{blank1_title|}}}
+
| label55 = Anthem
|  data55 = {{{blank1|}}}
+
|  data55 = {{{anthem|}}}
  
| label56 = {{{blank2_title|}}}
+
| label56 = {{{blank1_title|}}}
|  data56 = {{{blank2|}}}
+
|  data56 = {{{blank1|}}}
  
| label57 = {{{blank3_title|}}}
+
| label57 = {{{blank2_title|}}}
|  data57 = {{{blank3|}}}
+
|  data57 = {{{blank2|}}}
  
| label58 = {{{blank4_title|}}}
+
| label58 = {{{blank3_title|}}}
|  data58 = {{{blank4|}}}
+
|  data58 = {{{blank3|}}}
  
| label59 = {{{seats1_title|}}}
+
| label59 = {{{blank4_title|}}}
|  data59 = {{{seats1|}}}
+
|  data59 = {{{blank4|}}}
  
| label60 = {{{seats2_title|}}}
+
| label60 = {{{seats1_title|}}}
|  data60 = {{{seats2|}}}
+
|  data60 = {{{seats1|}}}
  
| label61 = {{{seats3_title|}}}
+
| label61 = {{{seats2_title|}}}
|  data61 = {{{seats3|}}}
+
|  data61 = {{{seats2|}}}
  
| label62 = {{{seats4_title|}}}
+
| label62 = {{{seats3_title|}}}
|  data62 = {{{seats4|}}}
+
|  data62 = {{{seats3|}}}
  
| label63 = {{{seats5_title|}}}
+
| label63 = {{{seats4_title|}}}
|  data63 = {{{seats5|}}}
+
|  data63 = {{{seats4|}}}
  
| label64 = {{{seats6_title|}}}
+
| label64 = {{{seats5_title|}}}
|  data64 = {{{seats6|}}}
+
|  data64 = {{{seats5|}}}
  
| label65 = {{{seats7_title|}}}
+
| label65 = {{{seats6_title|}}}
|  data65 = {{{seats7|}}}
+
|  data65 = {{{seats6|}}}
  
| label66 = {{{seats8_title|}}}
+
| label66 = {{{seats7_title|}}}
|  data66 = {{{seats8|}}}
+
|  data66 = {{{seats7|}}}
  
| label67 = {{{seats9_title|}}}
+
| label67 = {{{seats8_title|}}}
|  data67 = {{{seats9|}}}
+
|  data67 = {{{seats8|}}}
  
| label68 = {{{seats10_title|}}}
+
| label68 = {{{seats9_title|}}}
|  data68 = {{{seats10|}}}
+
|  data68 = {{{seats9|}}}
  
| label69 = {{{seats11_title|}}}
+
| label69 = {{{seats10_title|}}}
|  data69 = {{{seats11|}}}
+
|  data69 = {{{seats10|}}}
  
| header70 = {{#if:{{{symbol|}}} |Election symbol}}
+
| label70 = {{{seats11_title|}}}
| rowstyle71 = font-size: 150%
+
data70 = {{{seats11|}}}
data71 = {{{symbol|}}}
 
  
| header72 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
+
| header71 = {{#if:{{{symbol|}}} |Election symbol}}
| data73 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.6|alt={{if empty|{{{flag_alt|}}}|{{{flag_title|}}}}}}}
+
| rowstyle72 = font-size: 150%
 +
| data72 = {{{symbol|}}}
  
| header74 = {{#if:{{{website|}}} |Website}}
+
| header73 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
data75 = {{{website|}}}
+
|  data74 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.6|alt={{if empty|{{{flag_alt|}}}|{{{flag_title|}}}}}}}
 +
 
 +
| header75 = {{#if:{{{website|}}} |Website}}
 +
data76 = {{{website|}}}
  
 
| belowstyle = padding-top:0;
 
| belowstyle = padding-top:0;
Line 303: Line 306:
 
       -->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}
 
       -->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}
  
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox political party with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox political party]] with unknown parameter "_VALUE_"|ignoreblank=y| _subheader | abbr | abbreviation | affiliation1 | affiliation1_title | affiliation2 | affiliation2_title | anthem | banned | blank1 | blank1_title | blank2 | blank2_title | blank3 | blank3_title | blank4 | blank4_title | caption | chairman | chairperson | colorcode | colors | colours | continental | continental affiliation | country | country_dab1 | country_dab2 | country2 | dissolution | dissolved | elections_dab1 | elections_dab2 | europarl | european | first_secretary | flag | flag_alt | flag_title | footnotes | foundation | founded | founder | founders | general_secretary | headquarters | ideology | international | lang1 | lang2 | lang3 | lang4 | leader | leader1_name | leader1_title | leader2_name | leader2_title | leader3_name | leader3_title | leader4_name | leader4_title | leader5_name | leader5_title | legalised | legalized | logo | logo_alt | logo_size | logo_upright | membership | membership_year | merged | merger | name | name_lang1 | name_lang2 | name_lang3 | name_lang4 | national | native_name | native_name_lang | newspaper | parties_dab1 | parties_dab2 | position | predecessor | president | presidium | regional | regional affiliation | religion | seats1 | seats1_title | seats10 | seats10_title | seats11 | seats11_title | seats2 | seats2_title | seats3 | seats3_title | seats4 | seats4_title | seats5 | seats5_title | seats6 | seats6_title | seats7 | seats7_title | seats8 | seats8_title | seats9 | seats9_title | secretary | secretary_general | slogan | split | spokesman | spokesperson | standing_committee | state | student_wing | successor | symbol | think tank | think_tank | website | wing1 | wing1_title | wing2 | wing2_title | wing3 | wing3_title | wing4 | wing4_title | womens_wing | youth_wing
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox political party with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox political party]] with unknown parameter "_VALUE_"|ignoreblank=y| _subheader | abbr | abbreviation | affiliation1 | affiliation1_title | affiliation2 | affiliation2_title | anthem | banned | blank1 | blank1_title | blank2 | blank2_title | blank3 | blank3_title | blank4 | blank4_title | caption | chairman | chairperson | colorcode | colors | colours | continental | continental affiliation | country | country_dab1 | country_dab2 | country2 | dissolution | dissolved | elections_dab1 | elections_dab2 | europarl | european | first_secretary | flag | flag_alt | flag_title | footnotes | foundation | founded | founder | founders | general_secretary | headquarters | ideology | international | lang1 | lang2 | lang3 | lang4 | leader | leader1_name | leader1_title | leader2_name | leader2_title | leader3_name | leader3_title | leader4_name | leader4_title | leader5_name | leader5_title | legalised | legalized | logo | logo_alt | logo_size | logo_upright | membership | membership_year | merged | merger | name | name_lang1 | name_lang2 | name_lang3 | name_lang4 | national | native_name | native_name_lang | newspaper | parties_dab1 | parties_dab2 | position | predecessor | president | presidium | regional | regional affiliation | registered | religion | seats1 | seats1_title | seats10 | seats10_title | seats11 | seats11_title | seats2 | seats2_title | seats3 | seats3_title | seats4 | seats4_title | seats5 | seats5_title | seats6 | seats6_title | seats7 | seats7_title | seats8 | seats8_title | seats9 | seats9_title | secretary | secretary_general | slogan | split | spokesman | spokesperson | standing_committee | state | student_wing | successor | symbol | think tank | think_tank | website | wing1 | wing1_title | wing2 | wing2_title | wing3 | wing3_title | wing4 | wing4_title | womens_wing | youth_wing
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 04:48, 25 August 2019

Infobox political party
Template documentation[view] [edit] [history] [purge]

Usage

Basic

Infobox political party
{{Infobox political party
| name = 
| logo = 
| colorcode =     <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| leader =
| deputy_leader = 
| president = 
| chairperson = 
| vice_chairperson = 
| general_secretary = 
| first_secretary = 
| secretary_general = 
| presidium = 
| secretary = 
| spokesperson = 
| foundation =    <!-- {{start date|YYYY|MM|DD}} -->
| ideology = 
| headquarters = 
| international = 
| website = 
| country = 
}}

Full

Infobox political party
{{Infobox political party
| name = 
| native_name = 
| native_name_lang =
| lang1 = 
| name_lang1 = 
| lang2 = 
| name_lang2 = 
| lang3 = 
| name_lang3 = 
| lang4 = 
| name_lang4 = 
| logo =
| logo_size =
| caption =
| colorcode =       <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| abbreviation =    <!-- official abbreviation -->
| leader = 
| president = 
| chairperson =     <!-- or: | chair = --> <!-- or: | chairman = -->
| vice_chairperson =     <!-- or: | vice_chair = --> <!-- or: | vice_chairman = -->
| general_secretary =
| first_secretary =
| secretary_general = 
| presidium =
| secretary =
| spokesperson = 
| founder = 
| leader1_title = 
| leader1_name = 
| leader2_title = 
| leader2_name = 
| leader3_title = 
| leader3_name = 
| leader4_title = 
| leader4_name = 
| leader5_title = 
| leader5_name = 
| founded =         <!-- {{start date|YYYY|MM|DD}} -->
| registered = 
| legalised =       <!-- or |legalized= -->
| dissolved =       <!-- {{end date|YYYY|MM|DD}} -->
| banned = 
| merger = 
| split = 
| predecessor = 
| merged = 
| successor = 
| headquarters = 
| newspaper = 
| think_tank = 
| student_wing = 
| youth_wing = 
| womens_wing = 
| wing1_title = 
| wing1 = 
| wing2_title = 
| wing2 = 
| wing3_title = 
| wing3 = 
| wing4_title = 
| wing4 = 
| membership_year = 
| membership = 
| ideology = 
| position =
| religion = 
| national = 
| regional = 
| european = 
| continental = 
| international = 
| europarl = 
| affiliation1_title = 
| affiliation1 = 
| colors =          <!-- or: | colours = -->
| slogan = 
| anthem = 
| blank1_title = 
| blank1 = 
| blank2_title = 
| blank2 = 
| blank3_title = 
| blank3 = 
| blank4_title = 
| blank4 = 
| seats1_title = 
| seats1 =          <!-- {{Infobox political party/seats|50|100|hex=#ff0000}} -->
| seats2_title = 
| seats2 = 
| seats3_title = 
| seats3 = 
| seats4_title = 
| seats4 =          <!-- up to |seats15= -->
| symbol = 
| flag = 
| website = 
| state =           <!-- or country -->
| country =         <!-- or state -->
| country_dab1 = 
| parties_dab1 = 
| elections_dab1 = 
| country2 = 
| country_dab2 = 
| parties_dab2 = 
| elections_dab2 = 
| footnotes = 
}}

Microformat

Template:UF-hcard-org

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; Template:Template error report

TemplateData for Infobox political party

<templatedata> { "description": "An infobox for political party.", "params": { "name": { "label": "Name", "description": "The name of the party.", "type": "string", "required": false }, "logo": { "label": "Logo", "description": "The logo of the party.", "type": "string", "required": false }, "logo_size": { "label": "Logo Size", "description": "Size of logo image", "type": "string", "required": false }, "colorcode": { "label": "Color code", "description": "The color code of the party. HTML color code (e.g. red, #FF0000 or Party metadata color template) or transparent for no coloring.", "type": "string", "required": false }, "leader": { "label": "Leader", "description": "The leader of the party.", "type": "string", "required": false

                },
                "deputy_leader": {

"label": "Deputy Leader", "description": "The deputy leader of the party.", "type": "string", "required": false }, "president": { "label": "President", "description": "The president of the party.", "type": "string", "required": false }, "chairperson": { "label": "Chairperson", "description": "The chairperson of the party.", "type": "string", "required": false },

               "vice_chairperson": {

"label": "Vice Chairperson", "description": "The vice chairperson of the party.", "type": "string", "required": false }, "general_secretary": { "label": "General secretary", "description": "The general secretary of the party.", "type": "string", "required": false }, "first_secretary": { "label": "First secretary", "description": "The first secretary of the party.", "type": "string", "required": false }, "secretary_general": { "label": "Secretary-general", "description": "The secretary-general of the party.", "type": "string", "required": false }, "presidium": { "label": "Presidium", "description": "The presidium of the party.", "type": "string", "required": false }, "secretary": { "label": "Secretary", "description": "The secretary of the party.", "type": "string", "required": false }, "spokesperson": { "label": "Spokesperson", "description": "The spokesperson of the party.", "type": "string", "required": false }, "foundation": { "label": "Foundation", "description": "The foundation date of the party. Insert as Expression error: Unrecognized word "dd"., YYYY (YYYY-MM-DD).", "type": "string", "required": false }, "ideology": { "label": "Ideology", "description": "The ideology of the party.", "type": "string", "required": false }, "headquarters": { "label": "Headquarters", "description": "The headquarters of the party.", "type": "string", "required": false }, "international": { "label": "International", "description": "The international of the party.", "type": "string", "required": false }, "website": { "label": "Website", "description": "The website of the party.", "type": "string", "required": false }, "registered": { "label": "Registered", "description": "The Registration Number of party,If havent registered then write NO.", "type": "string", "required": false }, "country": { "label": "Country", "description": "The country of the party.", "type": "string", "required": false } }, "format": "block" } </templatedata>

See also

  • {{Composition bar}}, used to display a statistic such as the number of seats held by a political party.

Tracking categories

Template:Organization infoboxes