Waaaay after OoT, in the downfall timeline (most likely at the end given that all they have left are myths and legends), 10,000 years have passed since Ganon was sealed by the previous Link and Zelda. BoTW's Kingdom of Hyrule, seeing that Ganon was stirring again, relied on a 10,000 year old tapestry to tell them how to defeat him. What they didn't know was that Ganon was cunning. He took the machines that had imprisoned him, the ones they were about to use again, and corrupted them. Taking full control. What happens next? Well, that's a story for another day.