This is an old revision of this page, as edited by -αβοοδ(talk | contribs) at 17:48, 21 October 2024(Added the kitchen sink.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 17:48, 21 October 2024 by -αβοοδ(talk | contribs)(Added the kitchen sink.)
Tip: The valid versions are HARD-CODED, the examples are the only working options.
If no version/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
The 2012 flag and 2022/2025 Alt flags are technically different colors, #3b7bd2 and #3b7bd0 respectively, and the border color matches the main (or blue) flag color for all options. I split the difference and made the border #3b7bd1 for all three of them.
Yes, I am fully aware that writing this out wastes more space than including separate cases in the switch statement.
Nobody's color vision is that good. But now that you know, it will bother you.
$cleanCode > $cleanDocs don't @ me
If you edit the template, please add your new example to the documentation.
There is only one, unnamed variable — {{{1}}}
The template uses simple switch statements to change the border, logo, and linked text
The groupings in the border and logo switch statements are commented so you don't have to figure things out.