Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22f02eb9bce79f3

Jump to content

Template:Legislature diagram/testcases

From Wikipedia, the free encyclopedia
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
}}

{{Legislature diagram}}

Graph of the party split among 30 seats.

{{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)}}

}}

{{Legislature diagram}}

Graph of the party split among 100 seats.

{{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)
}}

{{Legislature diagram}}

Test title
Graph of the party split among 1300 seats.
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
}}

{{Legislature diagram}}

Graph of the party split among 397 seats.

{{void}}


keyword style
{{Legislature diagram
|n1=522|c1=#E89600
|n2=152|c2=#59B1AA
|n3= 20|c3=#D64757
}}

{{Legislature diagram}}

Graph of the party split among 694 seats.

{{void}}


keyword and name lookup
{{Legislature diagram
|n1=60|p1=Historical Far Left
|n2=620|p2=Historical Left (Italy)
|n3=620|p3=Historical Right (Italy)
}}

{{Legislature diagram}}

Graph of the party split among 1300 seats.

{{void}}


basic test
{{Legislature diagram
|Labour Party (UK)|10
|Conservative Party (UK)|20
}}

{{Legislature diagram}}

Graph of the party split among 30 seats.

{{void}}


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
}}

{{Legislature diagram}}

Graph of the party split among 280 seats.

{{void}}


extra members
{{Legislature diagram
|Republican Party (United States)|2+1
|Democratic Party (United States)|1+2
|Independent|50
}}

{{Legislature diagram}}

Graph of the party split among 56 seats.

{{void}}


vacancies
{{Legislature diagram
|Republican Party (United States)|2+1
|Democratic Party (United States)|1+2
|Casual vacancy|10
}}

{{Legislature diagram}}

Graph of the party split among 16 seats.

{{void}}


vacancies
{{Legislature diagram
|Green Party of England and Wales|27|:administration
|Labour Party (UK)|26
|Liberal Democrats (UK)|8
|Casual vacancy|2}}

{{Legislature diagram}}

Graph of the party split among 63 seats.


{{void}}


vacancies
{{Legislature diagram
|Independent|20
|Conservative Party (UK)|4
|Blue Revolution Party|1
|Liberal Democrats (UK)|1
|Boston Independent|3
|Reform UK|1
}}

{{Legislature diagram}}

Graph of the party split among 30 seats.

{{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
}}

{{Legislature diagram}}

Graph of the party split among 219 seats.

{{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
}}

{{Legislature diagram}}

Graph of the party split among 67 seats.

{{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
}}

{{Legislature diagram}}

Graph of the party split among 210 seats.

{{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
}}

{{Legislature diagram}}

Graph of the party split among 547 seats.

{{void}}


vacancies
{{Legislature diagram
| Democratic Party (United States) | 62
| Republican Party (United States) | 88
| black_border_only_for_vacancies = true
}}

{{Legislature diagram}}

Graph of the party split among 150 seats.

{{void}}


vacancies
{{Legislature diagram
| Democratic Party (United States) | 62
| Republican Party (United States) | 88
}}

{{Legislature diagram}}

Graph of the party split among 150 seats.

{{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}}

{{Legislature diagram}}

Graph of the party split among 435 seats.

{{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}}

{{Legislature diagram}}

Graph of the party split among 435 seats.

{{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}}

{{Legislature diagram}}

Graph of the party split among 49 seats.

{{void}}


vacancies
{{Legislature diagram
|Democratic Party (United States)|15
|Independent Democrat|1
|Republican Party (United States)|33
|width=250px}}

{{Legislature diagram}}

Graph of the party split among 49 seats.

{{void}}