You would need to transfer from Gen IV to Gen V and then to Gen VI.
Can I use Pokémon Bank and Poké Transporter to bring Pokémon from Pokémon games released prior to Pokémon Black and Pokémon White into Pokémon X and Pokémon Y?
You cannot use Poké Transporter to directly transfer Pokémon to your Pokémon X and Pokémon Y games from any previous titles aside from Pokémon Black, Pokémon White, Pokémon Black 2, or Pokémon White 2.
However, here are some steps you can follow to reach your goal.
Use the GBA Game Card slot on a Nintendo DS Lite or Nintendo DS to transfer Pokémon from Pokémon Ruby, Pokémon Sapphire, Pokémon Emerald, Pokémon FireRed, and Pokémon LeafGreen to an area called the Pal Park in Pokémon Diamond, Pokémon Pearl, Pokémon Platinum, Pokémon HeartGold, or Pokémon SoulSilver.
Then, using two systems from the Nintendo DS family, transfer your Pokémon from Pokémon Diamond, Pokémon Pearl, Pokémon Platinum, Pokémon HeartGold, or Pokémon SoulSilver to Pokémon Black, Pokémon White, Pokémon Black 2, or Pokémon White 2 using the Poké Transfer facility that exists within those games
Hope I helped :)