This is an old revision of this page, as edited by -αβοοδ(talk | contribs) at 17:04, 21 October 2024(Cleaner switch statement. Alt colors for 2022/2025 - I don't feel like uploading the squared logo in #001c86 and it looks like Microsoft stopped showing the logos in winver from 2022 onwards anyways). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 17:04, 21 October 2024 by -αβοοδ(talk | contribs)(Cleaner switch statement. Alt colors for 2022/2025 - I don't feel like uploading the squared logo in #001c86 and it looks like Microsoft stopped showing the logos in winver from 2022 onwards anyways)
Tip: The valid versions are HARD-CODED, the examples are the only working options.
If no year is passed to the template, it defaults to the top example.
2012 and 2012R2 produce different colored output
2012 uses the lighter blue logo
2012R2 uses the same colors as 2016-2022
If you edit the template, please add your new example to the documentation. It's a fairly simple single switch statement that changes the border, image, and displayed link/text.