<Tr> <Th> Screenplay by </Th> <Td> Ted Elliott (1--4) Terry Rossio (1--4) Jeff Nathanson (5) </Td> </Tr> <Tr> <Th> Story by </Th> <Td> Ted Elliott (1, 4) Terry Rossio (1--5) Stuart Beattie (1) Jay Wolpert (1) Jeff Nathanson (5) </Td> </Tr> <Tr> <Th> Based on </Th> <Td> Pirates of the Caribbean by Walt Disney (1--5) On Stranger Tides by Tim Powers (4) </Td> </Tr> <Tr> <Th> Starring </Th> <Td> Johnny Depp Geoffrey Rush Kevin McNally Orlando Bloom (1--3, 5) Keira Knightley (1--3, 5) Jack Davenport (1--3) Jonathan Pryce (1--3) Bill Nighy (2--3) Stellan Skarsgård (2--3) Tom Hollander (2--3) Chow Yun - fat (3) Penélope Cruz (4) Ian McShane (4) Javier Bardem (5) Brenton Thwaites (5) Kaya Scodelario (5) (see below) </Td> </Tr>

When do the pirates of the caribbean movies take place