From Fedora Project Wiki

Is there some way to do get the current version minus N? Or to return the most recent EOL version?

{{FedoraVersion|short|current-2}}
{{FedoraVersion|short|eol}}