Module:Tennis events nav: Difference between revisions
Appearance
Content deleted Content added
Per edit request |
Sentence case for event names per RM outcome. See Talk:1912 World Hard Court Championships – Mixed doubles. Thanks to Sod250k for doing the work. |
||
Line 19: | Line 19: | ||
["menswomenssingles"] = {[=[|- |
["menswomenssingles"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles|women]]]=]}, |
||
["menswomensdoubles"] = {[=[|- |
["menswomensdoubles"] = {[=[|- |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's doubles|women]]]=]}, |
||
["menssinglesdoubles"] = {[=[|- |
["menssinglesdoubles"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]]]=]}, |
||
["boysgirlssingles"] = {[=[|- |
["boysgirlssingles"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles|women]] |
||
| [[{prefix} {year} {tournament} – Boys' |
| [[{prefix} {year} {tournament} – Boys' singles|boys]] |
||
| [[{prefix} {year} {tournament} – Girls' |
| [[{prefix} {year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's doubles|women]]]=]}, |
||
["miamimasters"] = "boysgirlssingles", |
["miamimasters"] = "boysgirlssingles", |
||
["mixeddoubles"] = {[=[|- |
["mixeddoubles"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles|women]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's doubles|women]] |
||
| [[{prefix} {year} {tournament} – Mixed |
| [[{prefix} {year} {tournament} – Mixed doubles|mixed]]]=]}, |
||
["mixednowomensdoubles"] = {[=[|- |
["mixednowomensdoubles"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles|women]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]] |
||
| |
| |
||
| [[{prefix} {year} {tournament} – Mixed |
| [[{prefix} {year} {tournament} – Mixed doubles|mixed]]]=]}, |
||
["mixed"] = "mixeddoubles", |
["mixed"] = "mixeddoubles", |
||
["grandslam"] = {[=[|- |
["grandslam"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's singles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's singles|women]] |
||
| |
| |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' singles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's doubles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's doubles|women]] |
||
| [[{year} {tournament} – Mixed |
| [[{year} {tournament} – Mixed doubles|mixed]] |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' doubles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' doubles|girls]]]=]}, |
||
["grandslamnomixed"] = {[=[|- |
["grandslamnomixed"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's singles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's singles|women]] |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' singles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's doubles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's doubles|women]] |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' doubles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' doubles|girls]]]=]}, |
||
["grandslamnojuniordoubles"] = {[=[|- |
["grandslamnojuniordoubles"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's singles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's singles|women]] |
||
| |
| |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' singles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's doubles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's doubles|women]] |
||
| [[{year} {tournament} – Mixed |
| [[{year} {tournament} – Mixed doubles|mixed]] |
||
| |
| |
||
| |
| |
||
Line 103: | Line 103: | ||
["grandslamwc"] = {[=[|- |
["grandslamwc"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's singles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's singles|women]] |
||
| |
| |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' singles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's doubles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's doubles|women]] |
||
| [[{year} {tournament} – Mixed |
| [[{year} {tournament} – Mixed doubles|mixed]] |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' doubles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' doubles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles |
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair men's singles|men]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair women's singles|women]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair quad singles|quad]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair men's doubles|men]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair women's doubles|women]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair quad doubles|quad]]]=]}, |
||
["juniors"] = {[=[|- |
["juniors"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Boys' |
| [[{prefix} {year} {tournament} – Boys' singles|boys]] |
||
| [[{prefix} {year} {tournament} – Girls' |
| [[{prefix} {year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Boys' |
| [[{prefix} {year} {tournament} – Boys' doubles|boys]] |
||
| [[{prefix} {year} {tournament} – Girls' |
| [[{prefix} {year} {tournament} – Girls' doubles|girls]]]=]}, |
||
["juniorsmixed"] = {[=[|- |
["juniorsmixed"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Boys' |
| [[{prefix} {year} {tournament} – Boys' singles|boys]] |
||
| [[{prefix} {year} {tournament} – Girls' |
| [[{prefix} {year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Boys' |
| [[{prefix} {year} {tournament} – Boys' doubles|boys]] |
||
| [[{prefix} {year} {tournament} – Girls' |
| [[{prefix} {year} {tournament} – Girls' doubles|girls]] |
||
| [[{prefix} {year} {tournament} – Mixed |
| [[{prefix} {year} {tournament} – Mixed doubles|mixed]]]=]}, |
||
["team"] = {[=[|- |
["team"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles|women]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's doubles|women]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Team |
! scope="row" style="font-weight: normal; text-align: right;" | Team |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's team|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's team|women]]]=]}, |
||
["mixedandteam"] = {[=[|- |
["mixedandteam"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles|women]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's doubles|women]] |
||
| [[{prefix} {year} {tournament} – Mixed |
| [[{prefix} {year} {tournament} – Mixed doubles|mixed]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Team |
! scope="row" style="font-weight: normal; text-align: right;" | Team |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's team|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's team|women]]]=]}, |
||
["australianopen"] = {[=[|- |
["australianopen"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's singles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's singles|women]] |
||
| |
| |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' singles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's doubles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's doubles|women]] |
||
| [[{year} {tournament} – Mixed |
| [[{year} {tournament} – Mixed doubles|mixed]] |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' doubles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' doubles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles |
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair men's singles|men]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair women's singles|women]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair quad singles|quad]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair men's doubles|men]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair women's doubles|women]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair quad doubles|quad]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Legends |
! scope="row" style="font-weight: normal; text-align: right;" | Legends |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's legends' doubles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's legends' doubles|women]] |
||
| [[{year} {tournament} – Legends |
| [[{year} {tournament} – Legends mixed|mixed]] |
||
]=]}, |
]=]}, |
||
["frenchopen"] = {[=[|- |
["frenchopen"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's singles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's singles|women]] |
||
| |
| |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' singles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's doubles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's doubles|women]] |
||
| [[{year} {tournament} – Mixed |
| [[{year} {tournament} – Mixed doubles|mixed]] |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' doubles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' doubles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles |
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair men's singles|men]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair women's singles|women]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair quad singles|quad]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair men's doubles|men]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair women's doubles|women]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair quad doubles|quad]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Legends |
! scope="row" style="font-weight: normal; text-align: right;" | Legends |
||
| [[{year} {tournament} – Legends |
| [[{year} {tournament} – Legends under 45 doubles|−45]] |
||
| [[{year} {tournament} – Legends |
| [[{year} {tournament} – Legends over 45 doubles|45+]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's legends doubles|women]] |
||
]=]}, |
]=]}, |
||
["wimbledonchampionships"] = {[=[|- |
["wimbledonchampionships"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's singles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's singles|women]] |
||
| |
| |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' singles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's doubles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's doubles|women]] |
||
| [[{year} {tournament} – Mixed |
| [[{year} {tournament} – Mixed doubles|mixed]] |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' doubles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' doubles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles |
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair men's singles|men]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair women's singles|women]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair quad singles|quad]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair men's doubles|men]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair women's doubles|women]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair quad doubles|quad]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Legends |
! scope="row" style="font-weight: normal; text-align: right;" | Legends |
||
| [[{year} {tournament} – Gentlemen's |
| [[{year} {tournament} – Gentlemen's invitation doubles|men]] |
||
| [[{year} {tournament} – Ladies' |
| [[{year} {tournament} – Ladies' invitation doubles|women]] |
||
| [[{year} {tournament} – Senior |
| [[{year} {tournament} – Senior gentlemen's invitation doubles|seniors]] |
||
]=]}, |
]=]}, |
||
["usopen"] = {[=[|- |
["usopen"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's singles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's singles|women]] |
||
| |
| |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' singles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' singles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's doubles|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's doubles|women]] |
||
| [[{year} {tournament} – Mixed |
| [[{year} {tournament} – Mixed doubles|mixed]] |
||
| [[{year} {tournament} – Boys' |
| [[{year} {tournament} – Boys' doubles|boys]] |
||
| [[{year} {tournament} – Girls' |
| [[{year} {tournament} – Girls' doubles|girls]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles |
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair men's singles|men]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair women's singles|women]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair quad singles|quad]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair men's doubles|men]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair women's doubles|women]] |
||
| [[{year} {tournament} – Wheelchair |
| [[{year} {tournament} – Wheelchair quad doubles|quad]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Legends |
! scope="row" style="font-weight: normal; text-align: right;" | Legends |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's champions invitational|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's champions invitational|women]] |
||
| [[{year} {tournament} – Mixed |
| [[{year} {tournament} – Mixed champions invitational|mixed]] |
||
]=]}, |
]=]}, |
||
["abnamroworldtennistournament"] = {[=[|- |
["abnamroworldtennistournament"] = {[=[|- |
||
Line 291: | Line 291: | ||
| [[{prefix} {year} {tournamentd} – Doubles|doubles]] |
| [[{prefix} {year} {tournamentd} – Doubles|doubles]] |
||
|- |
|- |
||
| [[{prefix} {year} {tournament} – Wheelchair |
| [[{prefix} {year} {tournament} – Wheelchair singles|wheelchair singles]] |
||
| [[{prefix} {year} {tournamentd} – Wheelchair |
| [[{prefix} {year} {tournamentd} – Wheelchair doubles|wheelchair doubles]]]=]}, |
||
["doublestwotourneys"] = {[=[|- |
["doublestwotourneys"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
Line 303: | Line 303: | ||
[""] = {[=[|- |
[""] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles|women]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's doubles|women]]]=]}, |
||
["nowomensdoubles"] = {[=[|- |
["nowomensdoubles"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles|women]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]]]=]}, |
||
["quad"] = {[=[|- |
["quad"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles|women]] |
||
| [[{prefix} {year} {tournament} – Quad |
| [[{prefix} {year} {tournament} – Quad singles|quad]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's doubles|women]] |
||
| [[{prefix} {year} {tournament} – Quad |
| [[{prefix} {year} {tournament} – Quad doubles|quad]]]=]}, |
||
["singlesquad"] = {[=[|- |
["singlesquad"] = {[=[|- |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles|women]] |
||
| [[{prefix} {year} {tournament} – Quad |
| [[{prefix} {year} {tournament} – Quad singles|quad]]]=]}, |
||
["doublesquad"] = {[=[|- |
["doublesquad"] = {[=[|- |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's doubles|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's doubles|women]] |
||
| [[{prefix} {year} {tournament} – Quad |
| [[{prefix} {year} {tournament} – Quad doubles|quad]]]=]}, |
||
["qual"] = {[=[|- |
["qual"] = {[=[|- |
||
| [[{prefix} {year} {tournament} – Qualification|Qualification]]]=]}, |
| [[{prefix} {year} {tournament} – Qualification|Qualification]]]=]}, |
||
["qualsingles"] = {[=[|- |
["qualsingles"] = {[=[|- |
||
| [[{prefix} {year} {tournament} – Singles |
| [[{prefix} {year} {tournament} – Singles qualifying|Singles]]]=]}, |
||
["qualsinglesdoubles"] = {[=[|- |
["qualsinglesdoubles"] = {[=[|- |
||
| [[{prefix} {year} {tournament} – Singles |
| [[{prefix} {year} {tournament} – Singles qualifying|Singles]] |
||
| [[{prefix} {year} {tournamentd} – Doubles |
| [[{prefix} {year} {tournamentd} – Doubles qualifying|Doubles]]]=]}, |
||
["qualmenswomenssingles"] = {[=[|- |
["qualmenswomenssingles"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{prefix} {year} {tournament} – Men's |
| [[{prefix} {year} {tournament} – Men's singles qualifying|men]] |
||
| [[{prefix} {year} {tournament} – Women's |
| [[{prefix} {year} {tournament} – Women's singles qualifying|women]]]=]}, |
||
["qualgrandslam"] = {[=[|- |
["qualgrandslam"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's singles qualifying|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's singles qualifying|women]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's doubles qualifying|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's doubles qualifying|women]]]=]}, |
||
["qualmixed"] = {[=[|- |
["qualmixed"] = {[=[|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
! scope="row" style="font-weight: normal; text-align: right;" | Singles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's singles qualifying|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's singles qualifying|women]] |
||
|- |
|- |
||
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
! scope="row" style="font-weight: normal; text-align: right;" | Doubles |
||
| [[{year} {tournament} – Men's |
| [[{year} {tournament} – Men's doubles qualifying|men]] |
||
| [[{year} {tournament} – Women's |
| [[{year} {tournament} – Women's doubles qualifying|women]] |
||
| [[{year} {tournament} – Mixed |
| [[{year} {tournament} – Mixed doubles qualifying|mixed]]]=]}, |
||
["olympics1908"] = {[=[|- |
["olympics1908"] = {[=[|- |
||
! scope="row" style="font-weight: bold; text-align: center;" colspan="3"| Outdoor |
! scope="row" style="font-weight: bold; text-align: center;" colspan="3"| Outdoor |
||
Line 452: | Line 452: | ||
{prefix = args.prefix or "", year = args[1], tournament = args[2], |
{prefix = args.prefix or "", year = args[1], tournament = args[2], |
||
tournamentd = args[3]})) |
tournamentd = args[3]})) |
||
if args.lowercase then |
|||
draws = string.gsub(string.gsub(string.gsub(draws, "Singles|", "singles|"), "Doubles|", "doubles|"), "Team|", "team|") |
|||
end |
|||
print (draws) |
print (draws) |
||
print("|}") |
print("|}") |
Revision as of 05:32, 30 January 2022
![]() | This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
![]() | This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
![]() | This Lua module is used on approximately 21,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
This module provides navigation between tennis tournament events; it is a component of {{Infobox tennis tournament event}}.
-- [SublimeLinter luacheck-globals:mw]
local p = {}
local getBuffer, print = require("Module:OutputBuffer")()
local STYLES = {
["singlesdoubles"] = {[=[|-
| [[{prefix} {year} {tournament} – Singles|Singles]]
| [[{prefix} {year} {tournamentd} – Doubles|Doubles]]]=]},
["1"] = "singlesdoubles",
["men"] = "singlesdoubles",
["mens"] = "singlesdoubles",
["women"] = "singlesdoubles",
["womens"] = "singlesdoubles",
["singles"] = {[=[|-
| [[{prefix} {year} {tournament} – Singles|Singles]]]=]},
["doubles"] = {[=[|-
| [[{prefix} {year} {tournamentd} – Doubles|Doubles]]]=]},
["menswomenssingles"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles|men]]
| [[{prefix} {year} {tournament} – Women's singles|women]]]=]},
["menswomensdoubles"] = {[=[|-
| [[{prefix} {year} {tournament} – Men's doubles|men]]
| [[{prefix} {year} {tournament} – Women's doubles|women]]]=]},
["menssinglesdoubles"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles|men]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's doubles|men]]]=]},
["boysgirlssingles"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles|men]]
| [[{prefix} {year} {tournament} – Women's singles|women]]
| [[{prefix} {year} {tournament} – Boys' singles|boys]]
| [[{prefix} {year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's doubles|men]]
| [[{prefix} {year} {tournament} – Women's doubles|women]]]=]},
["miamimasters"] = "boysgirlssingles",
["mixeddoubles"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles|men]]
| [[{prefix} {year} {tournament} – Women's singles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's doubles|men]]
| [[{prefix} {year} {tournament} – Women's doubles|women]]
| [[{prefix} {year} {tournament} – Mixed doubles|mixed]]]=]},
["mixednowomensdoubles"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles|men]]
| [[{prefix} {year} {tournament} – Women's singles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's doubles|men]]
|
| [[{prefix} {year} {tournament} – Mixed doubles|mixed]]]=]},
["mixed"] = "mixeddoubles",
["grandslam"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{year} {tournament} – Men's singles|men]]
| [[{year} {tournament} – Women's singles|women]]
|
| [[{year} {tournament} – Boys' singles|boys]]
| [[{year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{year} {tournament} – Men's doubles|men]]
| [[{year} {tournament} – Women's doubles|women]]
| [[{year} {tournament} – Mixed doubles|mixed]]
| [[{year} {tournament} – Boys' doubles|boys]]
| [[{year} {tournament} – Girls' doubles|girls]]]=]},
["grandslamnomixed"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{year} {tournament} – Men's singles|men]]
| [[{year} {tournament} – Women's singles|women]]
| [[{year} {tournament} – Boys' singles|boys]]
| [[{year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{year} {tournament} – Men's doubles|men]]
| [[{year} {tournament} – Women's doubles|women]]
| [[{year} {tournament} – Boys' doubles|boys]]
| [[{year} {tournament} – Girls' doubles|girls]]]=]},
["grandslamnojuniordoubles"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{year} {tournament} – Men's singles|men]]
| [[{year} {tournament} – Women's singles|women]]
|
| [[{year} {tournament} – Boys' singles|boys]]
| [[{year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{year} {tournament} – Men's doubles|men]]
| [[{year} {tournament} – Women's doubles|women]]
| [[{year} {tournament} – Mixed doubles|mixed]]
|
|
]=]},
["grandslamwc"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{year} {tournament} – Men's singles|men]]
| [[{year} {tournament} – Women's singles|women]]
|
| [[{year} {tournament} – Boys' singles|boys]]
| [[{year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{year} {tournament} – Men's doubles|men]]
| [[{year} {tournament} – Women's doubles|women]]
| [[{year} {tournament} – Mixed doubles|mixed]]
| [[{year} {tournament} – Boys' doubles|boys]]
| [[{year} {tournament} – Girls' doubles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles
| [[{year} {tournament} – Wheelchair men's singles|men]]
| [[{year} {tournament} – Wheelchair women's singles|women]]
| [[{year} {tournament} – Wheelchair quad singles|quad]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles
| [[{year} {tournament} – Wheelchair men's doubles|men]]
| [[{year} {tournament} – Wheelchair women's doubles|women]]
| [[{year} {tournament} – Wheelchair quad doubles|quad]]]=]},
["juniors"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Boys' singles|boys]]
| [[{prefix} {year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Boys' doubles|boys]]
| [[{prefix} {year} {tournament} – Girls' doubles|girls]]]=]},
["juniorsmixed"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Boys' singles|boys]]
| [[{prefix} {year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Boys' doubles|boys]]
| [[{prefix} {year} {tournament} – Girls' doubles|girls]]
| [[{prefix} {year} {tournament} – Mixed doubles|mixed]]]=]},
["team"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles|men]]
| [[{prefix} {year} {tournament} – Women's singles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's doubles|men]]
| [[{prefix} {year} {tournament} – Women's doubles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Team
| [[{prefix} {year} {tournament} – Men's team|men]]
| [[{prefix} {year} {tournament} – Women's team|women]]]=]},
["mixedandteam"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles|men]]
| [[{prefix} {year} {tournament} – Women's singles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's doubles|men]]
| [[{prefix} {year} {tournament} – Women's doubles|women]]
| [[{prefix} {year} {tournament} – Mixed doubles|mixed]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Team
| [[{prefix} {year} {tournament} – Men's team|men]]
| [[{prefix} {year} {tournament} – Women's team|women]]]=]},
["australianopen"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{year} {tournament} – Men's singles|men]]
| [[{year} {tournament} – Women's singles|women]]
|
| [[{year} {tournament} – Boys' singles|boys]]
| [[{year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{year} {tournament} – Men's doubles|men]]
| [[{year} {tournament} – Women's doubles|women]]
| [[{year} {tournament} – Mixed doubles|mixed]]
| [[{year} {tournament} – Boys' doubles|boys]]
| [[{year} {tournament} – Girls' doubles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles
| [[{year} {tournament} – Wheelchair men's singles|men]]
| [[{year} {tournament} – Wheelchair women's singles|women]]
| [[{year} {tournament} – Wheelchair quad singles|quad]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles
| [[{year} {tournament} – Wheelchair men's doubles|men]]
| [[{year} {tournament} – Wheelchair women's doubles|women]]
| [[{year} {tournament} – Wheelchair quad doubles|quad]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Legends
| [[{year} {tournament} – Men's legends' doubles|men]]
| [[{year} {tournament} – Women's legends' doubles|women]]
| [[{year} {tournament} – Legends mixed|mixed]]
]=]},
["frenchopen"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{year} {tournament} – Men's singles|men]]
| [[{year} {tournament} – Women's singles|women]]
|
| [[{year} {tournament} – Boys' singles|boys]]
| [[{year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{year} {tournament} – Men's doubles|men]]
| [[{year} {tournament} – Women's doubles|women]]
| [[{year} {tournament} – Mixed doubles|mixed]]
| [[{year} {tournament} – Boys' doubles|boys]]
| [[{year} {tournament} – Girls' doubles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles
| [[{year} {tournament} – Wheelchair men's singles|men]]
| [[{year} {tournament} – Wheelchair women's singles|women]]
| [[{year} {tournament} – Wheelchair quad singles|quad]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles
| [[{year} {tournament} – Wheelchair men's doubles|men]]
| [[{year} {tournament} – Wheelchair women's doubles|women]]
| [[{year} {tournament} – Wheelchair quad doubles|quad]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Legends
| [[{year} {tournament} – Legends under 45 doubles|−45]]
| [[{year} {tournament} – Legends over 45 doubles|45+]]
| [[{year} {tournament} – Women's legends doubles|women]]
]=]},
["wimbledonchampionships"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{year} {tournament} – Men's singles|men]]
| [[{year} {tournament} – Women's singles|women]]
|
| [[{year} {tournament} – Boys' singles|boys]]
| [[{year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{year} {tournament} – Men's doubles|men]]
| [[{year} {tournament} – Women's doubles|women]]
| [[{year} {tournament} – Mixed doubles|mixed]]
| [[{year} {tournament} – Boys' doubles|boys]]
| [[{year} {tournament} – Girls' doubles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles
| [[{year} {tournament} – Wheelchair men's singles|men]]
| [[{year} {tournament} – Wheelchair women's singles|women]]
| [[{year} {tournament} – Wheelchair quad singles|quad]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles
| [[{year} {tournament} – Wheelchair men's doubles|men]]
| [[{year} {tournament} – Wheelchair women's doubles|women]]
| [[{year} {tournament} – Wheelchair quad doubles|quad]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Legends
| [[{year} {tournament} – Gentlemen's invitation doubles|men]]
| [[{year} {tournament} – Ladies' invitation doubles|women]]
| [[{year} {tournament} – Senior gentlemen's invitation doubles|seniors]]
]=]},
["usopen"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{year} {tournament} – Men's singles|men]]
| [[{year} {tournament} – Women's singles|women]]
|
| [[{year} {tournament} – Boys' singles|boys]]
| [[{year} {tournament} – Girls' singles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{year} {tournament} – Men's doubles|men]]
| [[{year} {tournament} – Women's doubles|women]]
| [[{year} {tournament} – Mixed doubles|mixed]]
| [[{year} {tournament} – Boys' doubles|boys]]
| [[{year} {tournament} – Girls' doubles|girls]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | WC Singles
| [[{year} {tournament} – Wheelchair men's singles|men]]
| [[{year} {tournament} – Wheelchair women's singles|women]]
| [[{year} {tournament} – Wheelchair quad singles|quad]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | WC Doubles
| [[{year} {tournament} – Wheelchair men's doubles|men]]
| [[{year} {tournament} – Wheelchair women's doubles|women]]
| [[{year} {tournament} – Wheelchair quad doubles|quad]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Legends
| [[{year} {tournament} – Men's champions invitational|men]]
| [[{year} {tournament} – Women's champions invitational|women]]
| [[{year} {tournament} – Mixed champions invitational|mixed]]
]=]},
["abnamroworldtennistournament"] = {[=[|-
| [[{prefix} {year} {tournament} – Singles|singles]]
| [[{prefix} {year} {tournamentd} – Doubles|doubles]]
|-
| [[{prefix} {year} {tournament} – Wheelchair singles|wheelchair singles]]
| [[{prefix} {year} {tournamentd} – Wheelchair doubles|wheelchair doubles]]]=]},
["doublestwotourneys"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Singles|men]]
| [[{prefix} {year} {tournamentd} – Singles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Doubles|men]]
| [[{prefix} {year} {tournamentd} – Doubles|women]]]=]},
[""] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles|men]]
| [[{prefix} {year} {tournament} – Women's singles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's doubles|men]]
| [[{prefix} {year} {tournament} – Women's doubles|women]]]=]},
["nowomensdoubles"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles|men]]
| [[{prefix} {year} {tournament} – Women's singles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's doubles|men]]]=]},
["quad"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles|men]]
| [[{prefix} {year} {tournament} – Women's singles|women]]
| [[{prefix} {year} {tournament} – Quad singles|quad]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's doubles|men]]
| [[{prefix} {year} {tournament} – Women's doubles|women]]
| [[{prefix} {year} {tournament} – Quad doubles|quad]]]=]},
["singlesquad"] = {[=[|-
| [[{prefix} {year} {tournament} – Men's singles|men]]
| [[{prefix} {year} {tournament} – Women's singles|women]]
| [[{prefix} {year} {tournament} – Quad singles|quad]]]=]},
["doublesquad"] = {[=[|-
| [[{prefix} {year} {tournament} – Men's doubles|men]]
| [[{prefix} {year} {tournament} – Women's doubles|women]]
| [[{prefix} {year} {tournament} – Quad doubles|quad]]]=]},
["qual"] = {[=[|-
| [[{prefix} {year} {tournament} – Qualification|Qualification]]]=]},
["qualsingles"] = {[=[|-
| [[{prefix} {year} {tournament} – Singles qualifying|Singles]]]=]},
["qualsinglesdoubles"] = {[=[|-
| [[{prefix} {year} {tournament} – Singles qualifying|Singles]]
| [[{prefix} {year} {tournamentd} – Doubles qualifying|Doubles]]]=]},
["qualmenswomenssingles"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's singles qualifying|men]]
| [[{prefix} {year} {tournament} – Women's singles qualifying|women]]]=]},
["qualgrandslam"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{year} {tournament} – Men's singles qualifying|men]]
| [[{year} {tournament} – Women's singles qualifying|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{year} {tournament} – Men's doubles qualifying|men]]
| [[{year} {tournament} – Women's doubles qualifying|women]]]=]},
["qualmixed"] = {[=[|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{year} {tournament} – Men's singles qualifying|men]]
| [[{year} {tournament} – Women's singles qualifying|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{year} {tournament} – Men's doubles qualifying|men]]
| [[{year} {tournament} – Women's doubles qualifying|women]]
| [[{year} {tournament} – Mixed doubles qualifying|mixed]]]=]},
["olympics1908"] = {[=[|-
! scope="row" style="font-weight: bold; text-align: center;" colspan="3"| Outdoor
|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's outdoor singles|men]]
| [[{prefix} {year} {tournament} – Women's outdoor singles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's outdoor doubles|men]]
|
|-
! scope="row" style="font-weight: bold; text-align: center;" colspan="3"| Indoor
|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's indoor singles|men]]
| [[{prefix} {year} {tournament} – Women's indoor singles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's indoor doubles|men]]]=]},
["olympics1912"] = {[=[|-
! scope="row" style="font-weight: bold; text-align: center;" colspan="4"| Outdoor
|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's outdoor singles|men]]
| [[{prefix} {year} {tournament} – Women's outdoor singles|women]]
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's outdoor doubles|men]]
|
| [[{prefix} {year} {tournament} – Mixed outdoor doubles|mixed]]
|-
! scope="row" style="font-weight: bold; text-align: center;" colspan="4"| Indoor
|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Men's indoor singles|men]]
| [[{prefix} {year} {tournament} – Women's indoor singles|women]]
|
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Men's indoor doubles|men]]
|
| [[{prefix} {year} {tournament} – Mixed indoor doubles|mixed]]]=]},
["olympics1968"] = {[=[|-
! scope="row" style="font-weight: bold; text-align: center;" colspan="4"| Demonstration
|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Demonstration men's singles|men]]
| [[{prefix} {year} {tournament} – Demonstration women's singles|women]]
|
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Demonstration men's doubles|men]]
| [[{prefix} {year} {tournament} – Demonstration women's doubles|women]]
| [[{prefix} {year} {tournament} – Demonstration mixed doubles|mixed]]
|-
! scope="row" style="font-weight: bold; text-align: center;" colspan="4"| Exhibition
|-
! scope="row" style="font-weight: normal; text-align: right;" | Singles
| [[{prefix} {year} {tournament} – Exhibition men's singles|men]]
| [[{prefix} {year} {tournament} – Exhibition women's singles|women]]
|
|-
! scope="row" style="font-weight: normal; text-align: right;" | Doubles
| [[{prefix} {year} {tournament} – Exhibition men's doubles|men]]
| [[{prefix} {year} {tournament} – Exhibition women's doubles|women]]
| [[{prefix} {year} {tournament} – Exhibition mixed doubles|mixed]]]=]}}
local function pullItem(value, default)
value = value and string.lower(string.gsub(value, "%W", ""))
if type(STYLES[value]) == "string" then
value = STYLES[value]
end
if STYLES[value] then
return STYLES[value][1]
else
return STYLES[default][1]
end
end
function p._main(args)
local default = ""
if args[2] ~= args[3] then
default = "doublestwotourneys"
end
print('{| style="border-spacing: 0.6em 0; margin: auto; ' ..
'text-align: center;"')
local draws = (string.gsub(pullItem(args.type, default), "{(%w+)}",
{prefix = args.prefix or "", year = args[1], tournament = args[2],
tournamentd = args[3]}))
print (draws)
print("|}")
return getBuffer("\n")
end
function p.main(frame)
local args = require("Module:Arguments").getArgs(frame)
return p._main(args)
end
return p