Template:Legislature diagram/testcases
Appearance
(Redirected from Module:Legislature diagram/testcases)
| This is the template test cases page for the sandbox of Template:Legislature diagram. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
border colors
{{Legislature diagram
|background = #F8F9FA
|n1 = 10
|p1 = Independent
|b1 = black
|n2 = 10
|p2 = Reform UK
|b2 = red
|n3 = 10
|p3 = Green Party of England and Wales
}}
{{void}}
manual party color lookup
{{Legislature diagram
|background = #F8F9FA
|n1 = 10
|c1 = {{party color|The Progressives (Latvia)}}
|n2 = 11
|c2 = {{party color|For Stability!}}
|n3 = 15
|c3 = {{party color|United List (Latvia)}}
|n4 = 16
|c4 = {{party color|Union of Greens and Farmers}}
|n5 = 26
|c5 = {{party color|New Unity}}
|n6 = 9
|c6 = {{party color|Latvia First}}
|n7 = 13
|c7 = {{party color|National Alliance (Latvia)}}
}}
{{void}}
floating
{{Legislature diagram
|float=right
|title=Test title
|n1=60|p1=Historical Far Left
|n2=620|p2=Historical Left (Italy)
|n3=620|p3=Historical Right (Italy)
}}
Test title
Total 1300 seats
- Historical Far Left: 60
- Historical Left (Italy): 620
- Historical Right (Italy): 620
{{void}}
keyword style - complex
{{Legislature diagram
|n1 = 35 | p1 = Social Democratic Party of Germany
|n2 = 10 | p2 = German People's Party (1868)
|n3 = 67 | p3 = German Free-minded Party
|n4 = 4 | p4 = Independent Liberals |c4 = #EEDC82
|n5 = 0 | p5 =
|n6 = 1 | p6 = Danish Party |b6 = #FFA54F
|n7 = 16 | p7 = Polish Party |b7 = #FFA54F
|n8 = 14 | p8 = Alsace-Lorraine Party |b8 = #FFA54F
|n9 = 38 | p9 = National Liberal Party (Germany)
|n10 = 0 | p10 =
|n11 = 0 | p11 =
|n12 =107 | p12 = Centre Party (Germany)
|n13 = 11 | p13 = German-Hanoverian Party
|n14 = 19 | p14 = German Reich Party
|n15 = 0 | p15 =
|n16 = 71 | p16 = German Conservative Party
|n17 = 4 | p17 = Anti-semites |c17 = #964B00
}}
{{void}}
keyword style
keyword and name lookup
{{Legislature diagram
|n1=60|p1=Historical Far Left
|n2=620|p2=Historical Left (Italy)
|n3=620|p3=Historical Right (Italy)
}}
{{void}}
basic test
many parties
{{Legislature diagram
|Labour Party (UK)|20|:group1
|Conservative Party (UK)|20|:group2
|Liberal Democrats (UK)|20|:group2
|Reform UK|20|:group1
|Green Party of England and Wales|Greens|20|:group2
|Scottish National Party|SNP|20
|English Democrats|ED|20
|Sinn Féin|SF|20
|Restore Britain|20
|Official Monster Raving Loony Party|Loonies|20
|Independent|20
|Plaid Cymru|20
|Unknown Party|20
|UKIP|20
}}
{{void}}
extra members
{{Legislature diagram
|Republican Party (United States)|2+1
|Democratic Party (United States)|1+2
|Independent|50
}}
{{void}}
vacancies
{{Legislature diagram
|Republican Party (United States)|2+1
|Democratic Party (United States)|1+2
|Casual vacancy|10
}}
{{void}}
vacancies
{{Legislature diagram
|Green Party of England and Wales|27|:administration
|Labour Party (UK)|26
|Liberal Democrats (UK)|8
|Casual vacancy|2}}
{{void}}
vacancies
{{Legislature diagram
|Independent|20
|Conservative Party (UK)|4
|Blue Revolution Party|1
|Liberal Democrats (UK)|1
|Boston Independent|3
|Reform UK|1
}}
{{void}}
vacancies
{{Legislature diagram
| background = #f8f9fa
| n1 = 2 | p1 = Democratic Unification Party (South Korea)
| n2 = 52 | p2 = New Democratic Party (South Korea)
| n3 = 73 | p3 = Democratic Republican Party (South Korea)
| n4 = 19 | p4 = Independent
| n5 = 73 | p5 = Presidential appointees | c5 = #909090
}}
{{void}}
vacancies
{{Legislature diagram
|Labour Party (UK)|27|:administration
|Independent|24
|Flintshire People's Voice|6
|Reform UK|4
|Liberal Democrats (UK)|4
|Conservative Party (UK)|1
|Vacant|1
}}
{{void}}
vacancies
{{Legislature diagram
<!-- party standings -->
| Independent | 198
| Kurdistan Democratic Party of Syria | 4
| Kurdistan Democratic Unity Party | 1
| Kurdish Democratic Equality Party in Syria | 1
| Assyrian Democratic Organization | 1
| Movement for Justice and Development in Syria | 1
| Vacant | 4
| toolforge_style = true
}}
{{void}}
vacancies
{{Legislature diagram
| Prosperity Party | 438
| Ethiopian Citizens for Social Justice | 13
| Independent | 8
| National Movement of Amhara | 6
| Amhara Democratic Force Movement | 3
| Medrek | 3
| Freedom and Equality Party (Ethiopia) | 3
| Coalition for Unity and Democracy | 2
| Afar People's Party | 1
| Argoba Nationality Democratic Organization | 1
| Gumuz National Movement |1
| New Generation Party (Ethiopia) | 1
| Peace for Ethiopia Coalition | 1
| Gedeo People's Democratic Party | 1
| Wolaita People's Democratic Movement | 1
| Ogaden National Liberation Front | 1
| Unity for Democracy and Justice | 1
| Somali Federalist Party | 1
| Vacant | 61
| toolforge_style = true
}}
{{void}}
vacancies
{{Legislature diagram
| Democratic Party (United States) | 62
| Republican Party (United States) | 88
| black_border_only_for_vacancies = true
}}
{{void}}
vacancies
{{Legislature diagram
| Democratic Party (United States) | 62
| Republican Party (United States) | 88
}}
{{void}}
vacancies
{{Legislature diagram|Democratic Party (United States)|212|Vacant Party (US)|4|Independent Republican (United States)|1|Republican Party (United States)|218|black_border_only_for_vacancies=yes|width=250px}}
{{void}}
vacancies
{{Legislature diagram
|Democratic Party (United States)|212
|Vacant Party (US)|4
|Independent Republican (United States)|1
|Republican Party (United States)|218
|black_border_only_for_vacancies=no
|width=250px}}
{{void}}
vacancies
{{Legislature diagram
|Democratic Party (United States)|15
|Independent Democrat|1
|Republican Party (United States)|33
|black_border_only_for_vacancies=yes
|width=250px}}
{{void}}
vacancies
{{Legislature diagram
|Democratic Party (United States)|15
|Independent Democrat|1
|Republican Party (United States)|33
|width=250px}}
{{void}}