Title: West Yorkshire
Content:   Major football clubs in West Yorkshire include Leeds United, Huddersfield Town, and Bradford City. Rugby league is also big in West Yorkshire. The teams who are, or have been, in the Super League are Bradford Bulls, Castleford Tigers, Halifax, Huddersfield Giants, Leeds Rhinos, and Wakefield Trinity. Other rugby league clubs in West Yorkshire include Batley Bulldogs, Dewsbury Rams, Featherstone Rovers, Hunslet Hawks and Keighley Cougars. Any combination of these teams playing against each other would be called a West Yorkshire derby even if the rivalry is not as great as other rivalries between teams in the area. The main rugby union club in the county is Yorkshire Carnegie. Elland Road is the largest stadium in the area, hosting Leeds United. The Headingley Stadium, a stadium complex also in Leeds, consists of a cricket and a rugby ground. 
Title: North Yorkshire
Content:  The leading rugby union teams in the county include Wharfedale RUFC, Harrogate RUFC, but teams also include Middlesbrough RUFC and Acklam RUFC who play their league games in Durham/Northumberland 1. York City Knights, previously known as York F.C., are a rugby league team who play in the Rugby League Championships.
Title: Rugby league in Yorkshire
Content:  West Yorkshire has the most clubs in the whole of Yorkshire with 11 teams based in the region. Traditionally, Leeds Rhinos and Huddersfield Giants have been the two most successful, Bradford Bulls also became a dominant force in rugby league during the Super League era along with Leeds.
Title: Yorkshire 3
Content: Airebronians ; Baildon ; Bradford Salem ; Bridlington ; Heath ; Knottingley ; Leeds CSSA ; Marist ; Northallerton ; Rodillians ; Yarnbury When league rugby began in 1987 this division contained the following teams: 
Title: Yorkshire 1
Content: Bramley ; Castleford ; Cleckheaton ; Driffield ; Goole ; Hemsworth ; Moortown ; Roundhegians ; Scarborough ; West Park Bramhope ; York Railway Institute When league rugby began in 1987 this division contained the following teams: 
Title: Rugby league in Yorkshire
Content:  Two teams are based in the East Riding of Yorkshire and both play in Kingston upon Hull. Traditionally Hull F.C. are said to represent the West side of the city and Hull Kingston Rovers represent the East side of the city with the boundary being the River Hull.
Title: York
Content:  has been played in York since the 1860s, with multiple teams currently playing within the city. York Rugby Union Football Club (RUFC) was formed in 1928, and amalgamated with the York Cricket Club in 1966. The teams' home ground is at York sports ground at Clifton Park. The men's 1st team play in North 1 East, with the women's team in RFUW Women's NC1 North East championship. York Railway Institute (RI) RUFC home ground is at the York RI sports club on newlane, York. The men's team currently compete in Yorkshire Division 4 South East (Yorkshire 4), and the ladies 
Title: Rugby league in Yorkshire
Content:  The only side in North Yorkshire is currently York City Knights (previously York) but sides have existed in Ripon and Scarborough.
Title: Yorkshire
Content:  Yorkshire has along history of rugby union in the county with Leeds Tykes (formerly Yorkshire Carnegie) featuring in the Aviva Premiership for eight seasons between 2001 and 2011 when they were relegated to the Championship. From 2020 the teams has reverted to its amateur status and plays in National League 1. Rotherham Titans also played in the top tier of English rugby in 2000–01 and 2003–04. Many England international players have emerged from Yorkshire including World Cup winners Jason Robinson and Mike Tindall. Other successful players from the region include Rob Andrew, Tim Rodber, Brian Moore, Danny Care, Rory Underwood and Sir Ian McGeechan.
Title: Ilkley Rugby Club
Content:  Ilkley Rugby Club is an English rugby union club based in Ilkley, West Yorkshire. The first XV team play in North 1 East League, The Club has been strengthened this summer with a large influx of new players mainly from West Park. Coupled with the proposed league restructuring in the 2021-22 season and a good performance in North One East League this year, we have a good chance to return to the new Level 5 where there will be 3 level 5 leagues instead of 2, all whilst not paying a single player. Ilkley also had a very successful sevens team who reached great heights in the 2017 season winning the national sevens competition! Most of this squad have gone on to secure semi professional contracts.

Question: a town in west yorkshire on the river aire home to a rugby league team?
Answer: Castleford.