Template:Infobox political party: Difference between revisions

Template page
m (1 revision imported)
No edit summary
Line 12: Line 12:
| imageclass = logo
| imageclass = logo
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| image = {{#if:{{{logo|}}}|{{{logo}}}{{#if:{{{logo_alt|}}}|{{!}}alt={{{logo_alt}}}|}}}}|size={{#if:{{{logo_size|}}}|{{{logo_size}}}|upright={{{logo_upright|0.8}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|upright={{{logo_upright|0.8}}}|alt={{{logo_alt|}}}|size={{{logo_size|}}}}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}


Line 172: Line 172:
|  data43 = {{{position|}}}
|  data43 = {{{position|}}}


| label44 = [[Religion]]
| label44 = Religion
| class44 = category
| class44 = category
|  data44 = {{{religion|}}}
|  data44 = {{{religion|}}}
Line 267: Line 267:


| header73 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
| header73 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
|  data74 = {{#if:{{{flag|}}}|[[{{{flag}}}|alt={{{flag_alt|{{{flag_title|Party flag}}}}}}|size={{#if:{{{flag_size|}}}|{{{flag_size}}}|upright={{{flag_upright|0.6}}}}}]]}}
|  data74 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.6|alt={{if empty|{{{flag_alt|}}}|{{{flag_title|}}}}}}}


| header75 = {{#if:{{{website|}}} |Website}}
| header75 = {{#if:{{{website|}}} |Website}}
Line 274: Line 274:
| belowstyle = padding-top:0;
| belowstyle = padding-top:0;
| below = {{#if:{{{state|}}}{{{country|}}}
| below = {{#if:{{{state|}}}{{{country|}}}
     | {{ubl |style=line-height:1.3em; padding-top:0.3em; border-top:{{#if:{{{colorcode|}}}|2|1}}px solid {{{colorcode|#aaa}}};
     | {{Unbulleted list |style=line-height:1.3em; padding-top:0.3em; border-top:{{#if:{{{colorcode|}}}|2|1}}px solid {{{colorcode|#aaa}}};
           | {{#if:{{{country_dab1|}}}
           | {{#if:{{{country_dab1|}}}
             | {{#ifexist: {{{country_dab1|}}} | [[{{{country_dab1}}}|Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
             | {{#ifexist: {{{country_dab1|}}} | [[{{{country_dab1}}}|Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
Line 290: Line 290:


         -->{{#if:{{{country2|}}}
         -->{{#if:{{{country2|}}}
     | {{ubl |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa;
     | {{Unbulleted list |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa;
           | {{#if:{{{country_dab2|}}}
           | {{#if:{{{country_dab2|}}}
             | {{#ifexist: {{{country_dab2|}}} | [[{{{country_dab2}}}|Politics of {{{country2}}}]] }}
             | {{#ifexist: {{{country_dab2|}}} | [[{{{country_dab2}}}|Politics of {{{country2}}}]] }}
Line 306: 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 | 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>
Line 311: Line 312:
  <nowiki>
  <nowiki>
{{Infobox political party
{{Infobox political party
| abbreviation = Abbreviation of the party
| name =
| leader1_title = Title of the party leader
| native_name =
| leader1_name = Name of first party leader {{small|(first)}}<br />Name of last party leader (if different) {{small|(last)}}
| native_name_lang =
| colorcode = Colour code, if different from default
| lang1 =
| slogan = Slogan of the party
| name_lang1 =
| anthem = Anthem of the party
| lang2 =
| native_name = NAme of the party in the language of its country
| name_lang2 =
| name = Full English name
| lang3 =
| logo = Logo of the party
| name_lang3 =
| founded = {{start date and age|Year when the party was founded|1|df=yes}}
| lang4 =
| dissolved = {{end date and age|Year when the party was dissolved (if any)|df=yes}}
| name_lang4 =
| founder = Who founded the party
| logo =
| newspaper = Newspaper of the party
| logo_size =
| ideology = Specific ideology that the party follows
| logo_upright =
| position = Political position (e. g. far-left, left, centre, right, far-right)
| logo_alt =
| international = International organizations that the party belongs to (if any)
| caption =
| predecessor = Predecessor party (if any)
| colorcode =        <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| successor = Successor party (if any)
| abbreviation =      <!-- official abbreviation or | abbr = -->
| youth_wing = Youth wing / youth organization of the party
| leader =
| colours = {{Color box|Put colour code here|border=darkgray}} Colour name
| president =
| country = Country that the party is in
| chairperson =      <!-- or | chairman = -->
| membership = Amount of members {{small|(Year)}}
| general_secretary =
| website = Website (if any)
| first_secretary =
| secretary_general =
| presidium =
| standing_committee =
| secretary =
| spokesperson =      <!-- or | spokesman = -->
| leader1_title =
| leader1_name =
| leader2_title =
| leader2_name =
| leader3_title =
| leader3_name =  
| leader4_title =  
| leader4_name =  
| leader5_title =  
| leader5_name =  
| founder =          <!-- or | founders = -->
| founded =           <!-- or | foundation = use {{start date|YYYY|MM|DD}} -->
| registered =
| legalised =        <!-- or | legalized = -->
| dissolved =         <!-- or | banned = or | dissolution = use {{end date|YYYY|MM|DD}} -->
| 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 =          <!-- or | regional affiliation = -->
| european =
| continental =      <!-- or | continental affiliation = -->
| international =  
| europarl =
| affiliation1_title =
| affiliation1 =  
| affiliation2_title =
| affiliation2 =
| 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 =      <!-- up to | seats11_title = -->
| seats4 =            <!-- up to | seats11 = -->
| symbol =
| flag =
| flag_title =
| flag_alt =
| website =
| state =            <!-- or | country = -->
| country =           <!-- or | state = -->
| country_dab1 =
| parties_dab1 =
| elections_dab1 =
| country2 =
| country_dab2 =
| parties_dab2 =  
| elections_dab2 =
| footnotes =  
}}
}}</nowiki>
}}</nowiki>
</noinclude>
</noinclude>

Revision as of 05:29, 20 November 2020

Infobox political party

How to use this template:

{{Infobox political party
| name = 
| native_name = 
| native_name_lang =
| lang1 = 
| name_lang1 = 
| lang2 = 
| name_lang2 = 
| lang3 = 
| name_lang3 = 
| lang4 = 
| name_lang4 = 
| logo =
| logo_size =
| logo_upright =
| logo_alt =
| caption =
| colorcode =         <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| abbreviation =      <!-- official abbreviation or | abbr = -->
| leader = 
| president = 
| chairperson =       <!-- or | chairman = -->
| general_secretary =
| first_secretary =
| secretary_general = 
| presidium =
| standing_committee =
| secretary =
| spokesperson =      <!-- or | spokesman = -->
| leader1_title = 
| leader1_name = 
| leader2_title = 
| leader2_name = 
| leader3_title = 
| leader3_name = 
| leader4_title = 
| leader4_name = 
| leader5_title = 
| leader5_name = 
| founder =           <!-- or | founders = -->
| founded =           <!-- or | foundation = use {{start date|YYYY|MM|DD}} -->
| registered = 
| legalised =         <!-- or | legalized = -->
| dissolved =         <!-- or | banned = or | dissolution = use {{end date|YYYY|MM|DD}} -->
| 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 =          <!-- or | regional affiliation = -->
| european = 
| continental =       <!-- or | continental affiliation = -->
| international = 
| europarl = 
| affiliation1_title = 
| affiliation1 = 
| affiliation2_title =
| affiliation2 =
| 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 =      <!-- up to | seats11_title = -->
| seats4 =            <!-- up to | seats11 = -->
| symbol = 
| flag = 
| flag_title =
| flag_alt =
| website = 
| state =             <!-- or | country = -->
| country =           <!-- or | state = -->
| country_dab1 = 
| parties_dab1 = 
| elections_dab1 = 
| country2 = 
| country_dab2 = 
| parties_dab2 = 
| elections_dab2 = 
| footnotes = 
}}
}}