After the Battle of Sarikamis against the Russians, the Turks participation in WW1 was over.
Except for Gallipoli actually, but after that they were mostly done. And then after that you've got the independence war when somehow Turkish troops, outnumbered and outgunned, wrecked the Greeks and Armenians occupying their country.