Template:Infobox political party: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass = vcard
| bodyclass = vcard
| above      = <span class="fn org">{{{name<includeonly>|{{{name_english|{{{party name|{{{party_name|{{PAGENAME}}}}}}}}}}}</includeonly>}}}</span>{{#if:{{{name_native<includeonly>|</includeonly>}}}{{{native_name|}}}|<br />''<small class="nickname">{{{name_native|{{{native_name}}}}}}</small>''}}
| abovestyle = border-top: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}; border-bottom: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}


| image      = {{{party logo|{{{party_logo|{{{logo<includeonly>|</includeonly>}}}}}}}}}
| abovestyle = padding-top:0; padding-bottom:0;
| above = <div style="padding-top:0.3em; padding-bottom:0.3em; {{#if:{{{colorcode|}}}|border-top:2px solid {{{colorcode}}}; border-bottom:2px solid {{{colorcode}}};}} line-height: 1;">{{Br separated entries
| 1 = <div style="display:inline;" class="fn org">{{#if:{{{name|}}}|{{{name|{{PAGENAME}}}}}}}</div>
| 2 = {{#if:{{{native_name|}}} |<div style="display:inline;" class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}} style="font-size: 0.8em;">{{{native_name}}}</div>}}
}}</div>
 
| subheader = {{{_subheader|}}}
 
| imageclass = logo
| imageclass = logo
| caption   = {{{caption<includeonly>|</includeonly>}}}
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| image = {{#if:{{{logo|}}}|[[File:{{{logo|}}}|{{{logo_size|}}}|{{{logo_alt|}}}]]}}
| caption = {{{caption|}}}
 
| headerstyle = line-height: 0.8em; padding-top:0.5em; padding-bottom:0;
| labelstyle = line-height:1.3em;
| datastyle = line-height:1.3em;
 
| label1  = {{{lang1}}} name
| class1  = nickname
|  data1  = {{{name_lang1|}}}
 
| label2  = {{{lang2}}} name
| class2  = nickname
|  data2  = {{{name_lang2|}}}
 
| label3  = {{{lang3}}} name
| class3  = nickname
|  data3  = {{{name_lang3|}}}
 
| label4  = {{{lang4}}} name
| class4  = nickname
|  data4  = {{{name_lang4|}}}
 
| label5  = Abbreviation
| class5  = nickname
|  data5  = {{if empty|{{{abbreviation|}}}|{{{abbr|}}}}}
 
| label6  = Leader
| class6  = agent
|  data6  = {{{leader|}}}
 
| label7  = President
| class7  = agent
|  data7  = {{{president|}}}
 
| label8  = Chair{{#if:{{{chairperson|}}}|person|man}}
| class8  = agent
|  data8  = {{if empty|{{{chairperson|}}}|{{{chairman|}}}}}
 
| label9  = General Secretary
| class9  = agent
|  data9  = {{if empty|{{{general_secretary|}}}|{{{general_secretary|}}}}}
 
| label10 = First Secretary
| class10 = agent
|  data10 = {{if empty|{{{first_secretary|}}}|{{{first_secretary|}}}}}
 
| label11 = {{nowrap|Secretary-General}}
| class11 = agent
|  data11 = {{if empty|{{{secretary_general|}}}|{{{secretary_general|}}}}}
 
| label12 = Presidium
| class12 = agent
|  data12 = {{if empty|{{{presidium|}}}|{{{presidium|}}}}}
 
| label13 = Standing Committee
| class13 = agent
|  data13 = {{if empty|{{{standing_committee|}}}|{{{standing_committee|}}}}}
 
| label14 = Secretary
| class14 = agent
|  data14 = {{if empty|{{{secretary|}}}|{{{secretary|}}}}}
 
| label15 = Spokes{{#if:{{{spokesperson|}}}|person|man}}
| class15 = agent
|  data15 = {{if empty|{{{spokesperson|}}}|{{{spokesman|}}}}}
 
| label16 = {{{leader1_title|}}}
| class16 = agent
|  data16 = {{{leader1_name|}}}
 
| label17 = {{{leader2_title|}}}
| class17 = agent
|  data17 = {{{leader2_name|}}}
 
| label18 = {{{leader3_title|}}}
| class18 = agent
|  data18 = {{{leader3_name|}}}
 
| label19 = {{{leader4_title|}}}
| class19 = agent
|  data19 = {{{leader4_name|}}}
 
| label20 = {{{leader5_title|}}}
| class20 = agent
|  data20 = {{{leader5_name|}}}


| label2    = {{{lang1}}} name
| label21 = {{#if:{{{founders|}}} |Founders |Founder}}
| class2    = nickname
| class21 = agent
| data2      = {{{name_lang1<includeonly>|</includeonly>}}}
| data21 = {{if empty|{{{founders|}}}|{{{founder|}}}}}


| label3    = {{{lang2}}} name
| label22 = Founded
| class3    = nickname
|  data22 = {{if empty|{{{founded|}}}|{{{foundation|}}}}}
| data3      = {{{name_lang2<includeonly>|</includeonly>}}}


| label4    = {{{lang3}}} name
| label23 = Registered
| class4    = nickname
| data23 = {{{registered|}}}
| data4      = {{{name_lang3<includeonly>|</includeonly>}}}


| label5    = {{{lang4}}} name
| label24 = Legali{{#if:{{{legalised|}}}|s|z}}ed
| class5    = nickname
| data24 = {{if empty|{{{legalised|}}}|{{{legalized|}}}}}
| data5      = {{{name_lang4<includeonly>|</includeonly>}}}


| label6    = Abbreviation
| label25 = {{#if:{{{banned|}}} |Banned |Dissolved}}
| class6    = nickname
| data25 = {{if empty|{{{banned|}}}|{{{dissolved|}}}|{{{dissolution|}}}}}
| data6    = {{{abbreviation|{{{abbr|}}}}}}


| label7    = {{#ifeq:{{{disbanded|no}}}|no|Leader|Former&nbsp;leader}}
| label26 = Merger&nbsp;of
| class7    = agent
| data26 = {{{merger|}}}
| data7      = {{{leader<includeonly>|</includeonly>}}}


| label8    = {{#ifeq:{{{disbanded|no}}}|no|Chairman|Former&nbsp;chairman}}
| label27 = Split&nbsp;from
| class8    = agent
| data27 = {{{split|}}}
| data8      = {{{chairman<includeonly>|{{{chairman|}}}</includeonly>}}}


| label9    = {{#ifeq:{{{disbanded|no}}}|no|President|Former&nbsp;president}}
| label28 = Preceded&nbsp;by
| class9    = agent
| data28 = {{{predecessor|}}}
| data9      = {{{president<includeonly>|</includeonly>}}}


| label10    = {{#ifeq:{{{disbanded|no}}}|no|Secretary-General|Former&nbsp;secretary-general}}
| label29 = Merged&nbsp;into
| class10    = agent
| data29 = {{{merged|}}}
| data10    = {{{secretary_general<includeonly>|{{{secretary|}}}</includeonly>}}}


| label11    = {{#ifeq:{{{disbanded|no}}}|no|Spokesperson|Former&nbsp;spokesperson}}
| label30 = Succeeded&nbsp;by
| class11    = agent
| data30 = {{{successor|}}}
| data11    = {{{spokesperson<includeonly>|{{{spokesman|}}}</includeonly>}}}


| label12    = Founder
| label31 = Headquarters
| class12    = agent
| class31 = label
| data12    = {{{founder<includeonly>|</includeonly>}}}
| data31 = {{{headquarters|}}}


| label13    = {{{leader1_title<includeonly>|</includeonly>}}}
| label32 = Newspaper
| class13    = agent
| data32 = {{{newspaper|}}}
| data13    = {{{leader1_name<includeonly>|</includeonly>}}}


| label14    = {{{leader2_title<includeonly>|</includeonly>}}}
| label33 = [[wikipedia:Think tank|Think tank]]
| class14    = agent
|  data33 = {{if empty|{{{think tank|}}}|{{{think_tank|}}}}}
| data14    = {{{leader2_name<includeonly>|</includeonly>}}}


| label15    = {{{leader3_title<includeonly>|</includeonly>}}}
| label34 = Student wing
| class15    = agent
| data34 = {{{student_wing|}}}
| data15    = {{{leader3_name<includeonly>|</includeonly>}}}


| label16    = {{{leader4_title<includeonly>|</includeonly>}}}
| label35 = [[Youth wing]]
| class16    = agent
| data35 = {{{youth_wing|}}}
| data16    = {{{leader4_name<includeonly>|</includeonly>}}}


| label17    = Founded
| label36 = Women's wing
| data17    = {{{founded<includeonly>|{{{foundation|}}}</includeonly>}}}
| data36 = {{{womens_wing|}}}


| label18    = Dissolved
| label37 = {{{wing1_title}}}
| data18    = {{{dissolved<includeonly>|{{{dissolution|}}}</includeonly>}}}
| data37 = {{{wing1|}}}


| label19    = Merger of
| label38 = {{{wing2_title}}}
| data19    = {{{merger<includeonly>|</includeonly>}}}
| data38 = {{{wing2|}}}


| label20    = Split from
| label39 = {{{wing3_title}}}
| data20    = {{{split<includeonly>|</includeonly>}}}
| data39 = {{{wing3|}}}


| label21    = Preceded by
| label40 = {{{wing4_title}}}
| data21    = {{{predecessor<includeonly>|{{{preceded by|{{{preceded_by|}}}}}}</includeonly>}}}
| data40 = {{{wing4|}}}


| label22    = Merged into
| label41 = Membership{{#if:{{{membership_year|}}} |&nbsp;({{{membership_year}}})}}
| data22    = {{{merged<includeonly>|</includeonly>}}}
| data41 = {{{membership|}}}


| label23    = Succeeded by
| label42 = [[wikipedia:List of political ideologies|Ideology]]
| data23    = {{{successor<includeonly>|{{{succeeded by|{{{succeeded_by|}}}}}}</includeonly>}}}
| class42 = category
| data42 = {{{ideology|}}}


| label24    = Headquarters
| label43 = [[wikipedia:Political spectrum|Political&nbsp;position]]
| class24    = label
| class43 = category
| data24    = {{{headquarters<includeonly>|</includeonly>}}}
| data43 = {{{position|}}}


| label25    = Newspaper
| label44 = Religion
| data25    = {{{newspaper<includeonly>|</includeonly>}}}
| class44 = category
|  data44 = {{{religion|}}}


| label26    = Student wing
| label45 = National affiliation
| data26    = {{{student_wing<includeonly>|</includeonly>}}}
| class45 = category
|  data45 = {{{national|}}}


| label27    = Youth wing
| label46 = Regional affiliation
| data27    = {{{youth_wing<includeonly>|</includeonly>}}}
| class46 = category
|  data46 = {{if empty|{{{regional|}}}|{{{regional affiliation|}}}}}


| label28    = {{{wing1_title}}}
| label47 = [[wikipedia:European political party|European affiliation]]
| data28    = {{{wing1<includeonly>|</includeonly>}}}
| class47 = category
| data47 = {{{european|}}}


| label29    = {{{wing2_title}}}
| label48 = Continental affiliation
| data29    = {{{wing2<includeonly>|</includeonly>}}}
| class48 = category
|  data48 = {{if empty|{{{continental|}}}|{{{continental affiliation|}}}}}


| label30    = {{{wing3_title}}}
| label49 = International affiliation
| data30    = {{{wing3<includeonly>|</includeonly>}}}
| class49 = category
| data49 = {{{international|}}}


| label31    = Membership {{#if:{{{membership_year<includeonly>|</includeonly>}}}|&nbsp;({{{membership_year}}})}}
| label50 = [[wikipedia:Political groups of the European Parliament|European Parliament group]]
| data31    = {{{membership<includeonly>|</includeonly>}}}
| class50 = category
| data50 = {{{europarl|}}}


| class32    = category
| label51 = {{{affiliation1_title}}}
| label32    = [[wikipedia:List of political ideologies|Ideology]]
| class51 = category
| data32    = {{{ideology<includeonly>|</includeonly>}}}
| data51 = {{#if:{{{affiliation1_title|}}}|{{{affiliation1|}}}}}


| class33    = category
| label52 = {{{affiliation2_title}}}
| label33    = [[wikipedia:Political spectrum|Political position]]
| class52 = category
| data33    = {{{position<includeonly>|</includeonly>}}}
| data52 = {{#if:{{{affiliation2_title|}}}|{{{affiliation2|}}}}}


| class34    = category
| label53 = Colo{{#if:{{{colours|}}}|u|}}rs
| label34    = [[Religion]]
| data53 = {{{colo{{#if:{{{colours|}}}|u|}}rs|}}}
| data34    = {{{religion<includeonly>|</includeonly>}}}


| class35    = category
| label54 = Slogan
| label35    = National affiliation
| data54 = {{{slogan|}}}
| data35    = {{{national<includeonly>|</includeonly>}}}


| class36    = category
| label55 = Anthem
| label36    = International affiliation
| data55 = {{{anthem|}}}
| data36    = {{{international<includeonly>|{{{international affiliation|}}}</includeonly>}}}


| class37    = category
| label56 = {{{blank1_title|}}}
| label37    = European affiliation
| data56 = {{{blank1|}}}
| data37    = {{{european<includeonly>|{{{european affiliation|}}}</includeonly>}}}


| class38    = category
| label57 = {{{blank2_title|}}}
| label38    = European Parliament Group
| data57 = {{{blank2|}}}
| data38    = {{{europarl<includeonly>|{{{european parliament group|}}}</includeonly>}}}


| class39    = category
| label58 = {{{blank3_title|}}}
| label39    = {{{affiliation1_title}}}
| data58 = {{{blank3|}}}
| data39    = {{{affiliation1<includeonly>|</includeonly>}}}


| label40    = Official colo{{#if:{{{colours|}}}|u|}}rs
| label59 = {{{blank4_title|}}}
| data40    = {{{colo{{#if:{{{colours|}}}|u|}}rs<includeonly>|</includeonly>}}}
| data59 = {{{blank4|}}}


| label41    = {{{blank1_title<includeonly>|{{{blank_title|}}}</includeonly>}}}
| label60 = {{{seats1_title|}}}
| data41    = {{{blank1<includeonly>|{{{blank1_info|{{{blank_info|}}}}}}</includeonly>}}}
| data60 = {{{seats1|}}}


| label42    = {{{blank2_title<includeonly>|</includeonly>}}}
| label61 = {{{seats2_title|}}}
| data42    = {{{blank2<includeonly>|{{{blank2_info|}}}</includeonly>}}}
| data61 = {{{seats2|}}}


| label43    = {{{blank3_title<includeonly>|</includeonly>}}}
| label62 = {{{seats3_title|}}}
| data43    = {{{blank3<includeonly>|{{{blank3_info|}}}</includeonly>}}}
| data62 = {{{seats3|}}}


| label44    = {{{seats1_title<includeonly>|</includeonly>}}}
| label63 = {{{seats4_title|}}}
| data44    = {{{seats1<includeonly>|</includeonly>}}}
| data63 = {{{seats4|}}}


| label45    = {{{seats2_title<includeonly>|</includeonly>}}}
| label64 = {{{seats5_title|}}}
| data45    = {{{seats2<includeonly>|</includeonly>}}}
| data64 = {{{seats5|}}}


| label46    = {{{seats3_title<includeonly>|</includeonly>}}}
| label65 = {{{seats6_title|}}}
| data46    = {{{seats3<includeonly>|</includeonly>}}}
| data65 = {{{seats6|}}}


| label47    = {{{seats4_title<includeonly>|</includeonly>}}}
| label66 = {{{seats7_title|}}}
| data47    = {{{seats4<includeonly>|</includeonly>}}}
| data66 = {{{seats7|}}}


| label48    = {{{seats5_title<includeonly>|</includeonly>}}}
| label67 = {{{seats8_title|}}}
| data48    = {{{seats5<includeonly>|</includeonly>}}}
| data67 = {{{seats8|}}}


| label49    = {{{seats6_title<includeonly>|</includeonly>}}}
| label68 = {{{seats9_title|}}}
| data49    = {{{seats6<includeonly>|</includeonly>}}}
| data68 = {{{seats9|}}}


| label50    = {{{seats7_title<includeonly>|</includeonly>}}}
| label69 = {{{seats10_title|}}}
| data50    = {{{seats7<includeonly>|</includeonly>}}}
| data69 = {{{seats10|}}}


| header51  = {{#if:{{{symbol<includeonly>|</includeonly>}}}|Election symbol}}
| label70 = {{{seats11_title|}}}
|  data70 = {{{seats11|}}}


| data52    = {{{symbol<includeonly>|</includeonly>}}}
| header71 = {{#if:{{{symbol|}}} |Election symbol}}
| rowstyle72 = font-size: 150%
|  data72 = {{{symbol|}}}


| header53  = {{#if:{{{website<includeonly>|</includeonly>}}}|Website}}
| header73 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
|  data74 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.6|alt={{if empty|{{{flag_alt|}}}|{{{flag_title|}}}}}}}


| data54    = {{{website<includeonly>|</includeonly>}}}
| header75 = {{#if:{{{website|}}} |Website}}
| belowstyle = font-size: small; border-top: 1px solid {{{colorcode|transparent}}}
| data76 = {{{website|}}}
}}<noinclude>[[Category:Infobox templates]]
Based on [[Template:Infobox politician]], created by [[User:Ptrcancer|Ptrcancer]]. Then changed by [[User:New Euro Emperor|New Euro Emperor]].


CODE: 1<br>
| belowstyle = padding-top:0;
<pre>
| below = {{#if:{{{state|}}}{{{country|}}}
{{Infobox political party
    | {{Unbulleted list |style=line-height:1.3em; padding-top:0.3em; border-top:{{#if:{{{colorcode|}}}|2|1}}px solid {{{colorcode|#aaa}}};
|name              =  
          | {{#if:{{{country_dab1|}}}
|native_name        =  
            | {{#ifexist: {{{country_dab1|}}} | [[{{{country_dab1}}}|Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
|lang1              =
            | {{#ifexist: Politics of {{if empty|{{{state|}}}|{{{country}}}}} | [[Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
|lang1_name        =
             }}
|lang2              =
          | {{#if:{{{parties_dab1|}}}
|lang2_name        =  
            | {{#ifexist: {{{parties_dab1|}}} | [[{{{parties_dab1}}}|Political parties]] }}
|lang3              =
            | {{#ifexist: List of political parties in {{if empty|{{{state|}}}|{{{country}}}}} | [[List of political parties in {{if empty|{{{state|}}}|{{{country}}}}}|Political parties]] }}
|lang3_name        =
            }}
|lang4              =
          | {{#if:{{{elections_dab1|}}}
|lang4_name        =
            | {{#ifexist: {{{elections_dab1}}} | [[{{{elections_dab1}}}|Elections]] }}
|logo              =
            | {{#ifexist: Elections in {{if empty|{{{state|}}}|{{{country}}}}} | [[Elections in {{if empty|{{{state|}}}|{{{country}}}}}|Elections]]}}
|abbreviation      =
             }}
|leader            =
      }}<!--
|chairman          =
|president          =
|secretary_general  =
|spokesperson      =
|leader1_title      =
|leader1_name      =
|leader2_title      =
|leader2_name      =
|leader3_title      =
|leader3_name      =
|founded            = <!-- {{Start date|YYYY|MM|DD}} -->
|dissolved          = <!-- {{End date|YYYY|MM|DD}} -->
|merger            =
|split             =
|Preceded by        =
|merged            =
|Succeeded by      =
|headquarters      =
|newspaper          =
|student_wing      =
|youth_wing        =
|wing1_title        =
|wing1              =
|wing2_title        =
|wing2              =
|wing3_title        =
|wing3              =
|membership_year    =
|membership        =
|ideology          =
|national          =
|international      =
|europarl          =
|affiliation1_title =
|affiliation1      =
|colors            =
|seats1_title      =
|seats1            =
|seats2_title      =
|seats2            =
|symbol            =
|website            =
|country           = <!-- or state  -->
|country2          =
|state             = <!-- or country -->
}}
</pre>


CODE: 2<br>
        -->{{#if:{{{country2|}}}
<pre>
    | {{Unbulleted list |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa;
{{Infobox political party
          | {{#if:{{{country_dab2|}}}
|name          =  
            | {{#ifexist: {{{country_dab2|}}} | [[{{{country_dab2}}}|Politics of {{{country2}}}]] }}
|logo          =
            | {{#ifexist: Politics of {{{country2}}} | [[Politics of {{{country2}}}]] }}
|abbreviation  =
            }}
|colorcode    = #FFFFFF
          | {{#if:{{{parties_dab1|}}}
|leader        =
            | {{#ifexist: {{{parties_dab2|}}} | [[{{{parties_dab2}}}|Political parties]] }}
|chairman      =
            | {{#ifexist: List of political parties in {{{country2}}} | [[List of political parties in {{{country2}}}|Political parties]] }}
|president    =
            }}
|spokesperson  =
          | {{#if:{{{elections_dab1|}}}
|foundation    = <!-- {{Start date|YYYY|MM|DD}} -->
            | {{#ifexist: {{{elections_dab2}}} | [[{{{elections_dab2}}}|Elections]] }}
|ideology      =
            | {{#ifexist: Elections in {{{country2}}} | [[Elections in {{{country2}}}|Elections]]}}
|headquarters  =
            }}
|international =
      }}  }}  }}<!--
|website      =
      -->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}
|country      =
}}
</pre>


<includeonly>{{#ifeq: {{{name|}}} | no | | [[Category:Political parties]] }}</includeonly>
}}<noinclude>
[[Category:Infobox templates]]
{{Documentation}}
[[Category:Politics templates]]</noinclude>
</noinclude>
[[Category:Political Parties]]

Revision as of 17:03, 11 July 2020

[create] Template documentation