Difference between revisions of "Template:Infobox political party/testcases"

From blackwiki
Jump to navigation Jump to search
imported>MerlIwBot
m (robot Removing: no:Mal:Infoboks politisk parti)
imported>MSGJ
(→‎Test 2: +registered)
 
(27 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<noinclude>{{esoteric}}</noinclude>
+
{{Testcases notice}}{{clear}}
{| class="infobox" style="float: right; margin: 0 0 .5em .5em; width: 25em; font-size: 90%;" cellspacing="5"
+
 
|-
+
== Test 1 ==
| colspan="2" bgcolor="{{{colorcode|{{Template:{{{party_articletitle}}}/meta/color}}}}}" |
+
 
|-
+
{{Testcase table |_caption=
! colspan="2" style="text-align: center; font-size: larger;" | '''{{{party_name|{{{name_english}}}}}}'''
+
| name_english = Convention People's Party
{{#if:{{{name_native|<noinclude>-</noinclude>}}} | <br><div style="text-align: center; font-size: 80%;">'''''{{{name_native}}}'''''</div>
+
| name_native =
 +
| logo = CPP ‒ Convention People's Party logo.jpg
 +
| leader = [[Michael Abu Sakara Foster]]
 +
| chairman = [[Samia Nkrumah]]
 +
| president = |secretary = |spokesperson =
 +
| leader1_title = General Secretary
 +
| leader1_name = Ivor Kobbina Greenstreet
 +
| leader2_title = |leader2_name = |leader3_title = |leader3_name =
 +
| founder = [[Kwame Nkrumah]]
 +
| foundation = {{start date|1949|06|12}}
 +
| registered = 4 April 2018
 +
| dissolution = <!--{{end date|YYYY|MM|DD}}-->
 +
| merger = |split = |merged =
 +
| headquarters = {{nowrap|House No. 64, Mango Tree Avenue,}}<br/>Asylum Down, [[Accra]], [[Ghana]]
 +
| slogan = {{unbulleted list |{{nowrap|"Forward ever, backward never"}} |{{longitem|"Get ready for the revival, the CPP<br/>{{spaces|2}}is emerging!"}}}}
 +
| newspaper =
 +
| youth_wing = {{longitem|Convention People's Party Youth League}}
 +
| wing1_title = |wing1 = |wing2_title = |wing2 = |wing3_title = |wing3 =
 +
| membership_year = |membership =
 +
| ideology = {{hlist|[[Kwame Nkrumah|Nkrumaism]]| [[Socialism]] |[[Pan-Africanism]]}}
 +
| position = [[Left-wing]]
 +
| national = [[Ghana]]
 +
| international = |europarl =
 +
| affiliation1_title = |affiliation1 =
 +
| colors = [[Red]], [[white]] and [[green]]
 +
| seats1_title = {{nowrap|[[MPs elected in the Ghanaian parliamentary election, 2012|6th Parliament<br/>of 4th Republic]]}}
 +
| seats1 = {{Composition bar|1|230|hex=#ff0000}}
 +
| seats2_title = |seats2 =
 +
| symbol = Red cockerel on a white background
 +
| website = http://conventionpeoplesparty.org/
 +
| state = Ghana
 +
| flag = [[File:CPP Flag Ghana.svg.png|200px|border|Flag of the Convention People's Party (Ghana)]]
 +
| footnotes =
 
}}
 
}}
|-
+
 
| colspan="2" bgcolor="{{{colorcode|{{Template:{{{party_articletitle}}}/meta/color}}}}}" |
+
== Test 2 ==
|-
+
 
{{#if: {{{logo|<noinclude>-</noinclude>}}}{{{party_logo|<noinclude>-</noinclude>}}} |
+
{{Testcase table |_caption=
! colspan="2" style="padding: 1em 0; text-align: center;" {{!}} {{{party_logo|{{{logo}}}}}}
+
| country = Germany
{{!}}-
+
| party_name = Christian Democratic Union of Germany
{{!}} colspan="2" bgcolor="{{{colorcode|{{Template:{{{party_articletitle}}}/meta/color}}}}}" {{!}}
+
| native_name = Christlich Demokratische Union Deutschlands
{{!}}-
+
| logo = Cdu-logo.svg
 +
| colorcode = #000000
 +
| chairperson = [[Angela Merkel]] ([[Chancellor of Germany (Federal Republic)|Chancellor]])
 +
| foundation = 26 June 1945
 +
| registered = 28 October 1957
 +
| ideology = [[Christian democracy]]<br>[[Pro-Europeanism]]<br>[[Liberal conservatism]]
 +
| position = [[Centre-right]]
 +
| newspaper = Union
 +
| youth_wing = [[Young Union]]
 +
| membership_year = 2013
 +
| membership = {{Decrease}} 469,575
 +
| national = [[CDU/CSU]]
 +
| international = [[Centrist Democrat International]],<br>[[International Democrat Union]]
 +
| european = [[European People's Party]]
 +
| europarl = [[European People's Party Group|European People's Party]]
 +
| colors = [[Black]] (customary) <br> [[Orange (colour)|Orange]] (official)
 +
| headquarters = Klingelhöferstraße 8<br />10785 [[Berlin]]
 +
| website = [http://www.cdu.de/ http://www.cdu.de]
 +
| seats1_title = [[Bundestag]]
 +
| seats1 = {{Composition bar|255|631|hex=#F59D07}}
 +
| seats2_title = [[Composition of the German State Parliaments|State Parliaments]]
 +
| seats2 = {{Composition bar|562|1875|hex=#F59D07}}
 +
| seats3_title = [[European Parliament election, 2014 (Germany)|European Parliament]]
 +
| seats3 = {{Composition bar|29|96|hex=#F59D07}}
 +
| seats4_title = [[Minister-president#Germany|Prime ministers of states]]
 +
| seats4 = {{Composition bar|5|16|hex=#F59D07}}
 
}}
 
}}
{{#if: {{{leader|<noinclude>-</noinclude>}}} |
+
 
{{!}} '''Leader'''
+
== Test 3 ==
{{!}} {{{leader}}}
+
 
{{!}}-
+
{{Testcase table |_caption=
 +
| country = Germany
 +
| party_name = Marxist-Leninist Party of Germany
 +
| native_name = Marxistisch-Leninistische Partei Deutschlands
 +
| party_logo = MLPD Logo 2011 (2).svg
 +
| logo_size = 300px
 +
| colorcode = red
 +
| leader = [[Stefan Engel]]
 +
| foundation = 1982
 +
| ideology =  [[Communism]],<br>[[Anti-Revisionism]],<br>[[Marxism–Leninism]],<br>[[Maoism]]
 +
| position = [[Far-left politics|Far-left]]
 +
| european = ICOR Europe
 +
| europarl = ''None''
 +
| international = [[International Conference of Marxist-Leninist Parties and Organizations (International Newsletter)|International Conference of Marxist-Leninist Parties and Organizations]] (ICMLPO), [[International Coordination of Revolutionary Parties and Organizations]] (ICOR)
 +
| colours = [[Red]]
 +
| headquarters =
 +
| website = [http://www.mlpd.de http://www.mlpd.de]
 
}}
 
}}
{{#if: {{{president|<noinclude>-</noinclude>}}} |
+
 
{{!}} '''President'''
+
== Test 4 ==
{{!}} {{{president}}}
+
{{Testcase table |_caption=
{{!}}-
+
| colorcode          = {{Green Party (United States)/meta/color}}
 +
| party_name        = Green Party
 +
| party_logo        = [[File:Green Party of the United States New Logo.png|234px]]
 +
| lang1              = Spanish
 +
| name_lang1        = Partido Verde
 +
| slogan            =
 +
| chairperson        = [[Green National Committee#Current co-chairs|7 Co-Chairs]]
 +
| foundation        = {{Start date and age|2001}}
 +
| predecessor        = [[Association of State Green Parties]]
 +
| split              = [[Greens/Green Party USA]]
 +
| headquarters      = 6411 Orchard Avenue, Suite 101<br>[[Takoma Park, Maryland]] 20912
 +
| newspaper          = Green Pages
 +
| think_tank        =
 +
| student_wing      =
 +
| youth_wing        = Young Greens Caucus
 +
| wing1_title        = Women's wing
 +
| wing1              = National Women's Caucus
 +
| wing2_title        = LGBT wing
 +
| wing2              = [[Lavender Greens]] Caucus
 +
| wing3_title        = Black wing
 +
| wing3              = Black Caucus
 +
| wing4_title        = Latino wing
 +
| wing4              = Latino Caucus
 +
| membership_year    = 2014
 +
| membership        = {{Increase}} 248,189 <ref>http://www.oppositionnews.org/articles/2014/q/only-libertarians-and-independents-grew-2008/</ref>
 +
| ideology          = [[Green politics]]
 +
| position          = [[Left-wing politics|Left-wing]]<ref>http://www.pbs.org/newshour/extra/daily_videos/presidential-hopefuls-meet-in-third-party-debate/</ref><ref>http://america.aljazeera.com/articles/2015/6/23/green-party-candidate-jill-stein-announces-2016-presidential-run.html</ref>
 +
| international      = [[Global Greens]]
 +
| affiliation1_title = Continental affiliation
 +
| affiliation1      = [[Federation of the Green Parties of the Americas]]
 +
| colors            = {{color box|{{Green Party (United States)/meta/color}}}} [[Green]]
 +
| seats1_title      = [[United States Senate|Seats in the Senate]]
 +
| seats1            = {{composition bar|0|100|hex=#00A95C}}
 +
| seats2_title      = [[United States House of Representatives|Seats in the House]]
 +
| seats2            = {{composition bar|0|435|hex=#00A95C}}
 +
| seats3_title      = [[Governor (United States)|Governorships]]
 +
| seats3            = {{composition bar|0|50|hex=#00A95C}}
 +
| seats4_title      = [[State legislature (United States)|State Upper House Seats]]
 +
| seats4            = {{composition bar|0|1972|hex=#00A95C}}
 +
| seats5_title      = [[State legislature (United States)|State Lower House Seats]]
 +
| seats5            = {{composition bar|0|5411|hex=#00A95C}}
 +
| seats6_title      = Other elected offices
 +
| seats6            = '''131 (2015)''' <ref name='gp officeholders'>{{cite web|url=http://www.gp.org/election-news/officeholders |title=Officeholders |publisher=Gp.org |date= |accessdate=2015-03-16}}</ref>
 +
| website            = {{URL|http://www.gp.org/}}
 +
| country            = the United States
 
}}
 
}}
{{#if: {{{chairperson|<noinclude>-</noinclude>}}}{{{chairman|<noinclude>-</noinclude>}}} |
 
{{!}} '''Chairperson'''
 
{{!}} {{{chairman|{{{chairperson}}}}}}
 
{{!}}-
 
}}
 
{{#if: {{{spokesperson|<noinclude>-</noinclude>}}} |
 
{{!}} '''Spokesperson'''
 
{{!}} {{{spokesperson}}}
 
{{!}}-
 
}}
 
{{#if: {{{leader1_title|<noinclude>-</noinclude>}}} |
 
{{!}} '''{{{leader1_title}}}'''
 
{{!}} {{{leader1_name}}}
 
{{!}}-
 
}}
 
{{#if: {{{leader2_title|<noinclude>-</noinclude>}}} |
 
{{!}} '''{{{leader2_title}}}'''
 
{{!}} {{{leader2_name}}}
 
{{!}}-
 
}}
 
{{#if: {{{leader3_title|<noinclude>-</noinclude>}}} |
 
{{!}} '''{{{leader3_title}}}'''
 
{{!}} {{{leader3_name}}}
 
{{!}}-
 
}}
 
| colspan="2" bgcolor="{{{colorcode|{{Template:{{{party_articletitle}}}/meta/color}}}}}" |
 
{{!}}-
 
{{#if: {{{foundation|<noinclude>-</noinclude>}}} |
 
{{!}} '''Founded'''
 
{{!}} {{{foundation}}}
 
{{!}}-
 
}}
 
{{#if: {{{dissolution|<noinclude>-</noinclude>}}} |
 
{{!}} '''Dissolved'''
 
{{!}} {{{dissolution}}}
 
{{!}}-
 
}}
 
{{#if: {{{headquarters|<noinclude>-</noinclude>}}} |
 
{{!}} '''Headquarters'''
 
{{!}} {{{headquarters}}}{{#if: {{{latd|}}}|<br/><small>{{coor dm |{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:landmark}}</small>}}
 
{{!}}-
 
}}
 
{{#if: {{{newspaper|<noinclude>-</noinclude>}}} |
 
{{!}} '''Official newspaper'''
 
{{!}} {{{newspaper}}}
 
{{!}}-
 
}}
 
{{#if: {{{membership|<noinclude>-</noinclude>}}} |
 
{{!}} '''Membership'''&nbsp;{{#if:{{{membership_year|<noinclude>-</noinclude>}}}|({{{membership_year}}})}}
 
{{!}} {{{membership}}}
 
{{!}}-
 
}}
 
| colspan="2" bgcolor="{{{colorcode|{{Template:{{{party_articletitle}}}/meta/color}}}}}" |
 
{{!}}-
 
{{#if: {{{ideology|<noinclude>-</noinclude>}}} |
 
{{!}} '''Official&nbsp;ideology'''
 
{{!}} {{{ideology}}}
 
{{!}}-
 
}}
 
{{#if: {{{position|<noinclude>-</noinclude>}}} |
 
{{!}} '''Political&nbsp;position'''
 
{{!}} {{{position}}}
 
{{!}}-
 
}}
 
{{#if: {{{national|<noinclude>-</noinclude>}}} |
 
{{!}} '''National&nbsp;affiliation'''
 
{{!}} {{{national}}}
 
{{!}}-
 
}}
 
{{#if: {{{international|<noinclude>-</noinclude>}}}{{{international affiliation|<noinclude>-</noinclude>}}} |
 
{{!}} '''International&nbsp;affiliation'''
 
{{!}} {{{international affiliation|{{{international}}}}}}
 
{{!}}-
 
}}
 
{{#if: {{{europarl|<noinclude>-</noinclude>}}}{{{european parliament group|<noinclude>-</noinclude>}}} |
 
{{!}} '''[[European Parliament political group|European Parliament group]]'''
 
{{!}} {{{european parliament group|{{{europarl}}}}}}
 
{{!}}-
 
}}
 
{{#if: {{{colors|<noinclude>-</noinclude>}}}{{{colours|<noinclude>-</noinclude>}}} |
 
{{!}} '''Official color(s)'''
 
{{!}} {{{colours|{{{colors}}}}}}
 
{{!}}-
 
}}
 
{{#if: {{{website|<noinclude>-</noinclude>}}} |
 
{{!}} colspan="2" bgcolor="{{{colorcode|{{Template:{{{party_articletitle}}}/meta/color}}}}}" {{!}}
 
{{!}}-
 
{{!}} '''Website'''
 
{{!}} {{{website}}}
 
}}
 
{{#if: {{{footnotes|<noinclude>-</noinclude>}}} |
 
{{!}}-
 
{{!}} colspan="2" bgcolor="{{{colorcode|{{Template:{{{party_articletitle}}}/meta/color}}}}}" {{!}}
 
{{!}}-
 
{{!}} colspan="2" style="vertical-align: top; text-align: left; font-size: 80%;" {{!}} {{{footnotes}}}
 
}}
 
|}<noinclude>
 
[[Category:Politics and government infobox templates|Political party]]
 
[[ko:틀:정당 정보]]
 
[[sv:Mall:Partifakta]]
 
</noinclude>
 

Latest revision as of 14:36, 7 May 2019

Test 1

Template:Testcase table

Test 2

Template:Testcase table

Test 3

Template:Testcase table

Test 4

Template:Testcase table