Okay, as this thread is a thing, I'll try to pick a team that could cope with all formats. Just to make it more fun for myself, I'm going to restrict myself to one prominent player per decade.
1) Victor Trumper (1900s)
In an era of conservative batting and uncovered pitches, Trumper was an anomaly: his best form of attack was defence, and he was willing to use it at any time he wanted. He was liable to be on 100 by lunch rather often, and averaged nearly 40 in Tests despite his cavalier style.
2) AB de Villiers (2010s)
It's a tough choice to promote de Villiers to the very top of the order, but it's the only place there's room for him in the side. He has experience at the top of the order and has often been called the most complete batsman of his generation. It would be time to put that to the test.
3) Don Bradman (1930s)
Simply the greatest batsman ever, and there's no fighting sheer class.
4) Viv Richards (1970s)
There may never have been a batsman in history so adept at destroying any sub-standard bowling. Richards finished with a Test average of 50 to show his rare ability in Test cricket, but an ODI batting strike rate was so far ahead of its time as to be almost obscene. Vital in all formats.
5) Garry Sobers (1960s)
It is a mark of the greatness of his batting that Sobers was always more of a batting all-rounder. Had he not devoted so much time and energy to his batting, it is thought that he would have been of genuine international class bowling either pace or spin. As it was, his Test bowling average (34) pales compared to his batting figure (58).
6) Imran Khan (1980s)
Imran Khan is the greatest cricketer his country has ever produced, Imran averaged 52 with the bat and 21 with the ball over his last 42 Tests. Such boundless talent could make him an even more valuable player for this team than the man one above him in the batting order.
7) Aubrey Faulkner (1910s)
For a period in the 1910s, Faulkner was the definition of a great cricketer. He scored runs for fun with the bat and also bowled mighty skillful leg-spin. His batting was not classically aggressive, but he would always be able to dig in and fight off a collapse.
8) Wasim Akram (1990s)
Not only was Wasim Akram one of the greatest proponents of the yorker the game has ever seen, but he was also a fierce hitter: his Test-best 257 included a dozen of his 57 career sixes. Nonetheless, his batting is a second string that does not even compare to the quality of his bowling.
9) Shane Warne (2000s)
Shane Warne forged a successful Twenty20 career when he was well past his cricketing peak. At his very best he was the world's premier bowler, possibly ever, and his importance to any cricket team cannot be overstated. One of the first names on the team sheet.
10) George Lohmann (1880s)
His career and finally his life were both cut tragically short by tuberculosis, but not before he had become statistically Test cricket's greatest bowler. Operating at little more than medium pace, his success owed mostly to variations of flight and movement which would make him the perfect limited overs bowler. He was also a quick-scoring lower-order batsman.
11) Gregor MacGregor (1890s)
A wicket-keeper who was both unerringly reliable and a lightning stumper, MacGregor stood fearlessly up to the stumps against the bowling of bowlers as lethal as Charles Kortright, the only man who verifiably bowled a ball for six byes. His flair would be invaluable to a limited-overs side, while his reliability would be perfect for Test cricket.