Jump to content

Template:User Windows Server

From Wikipedia, the free encyclopedia
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.
This user contributes using
Windows Server



Userbox Code

{{ User Windows Server |Version/Year }}
Opening Tags Userbox Location Only Parameter Closing Tags

Sample usage

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.

Output Template Code
Default
This user contributes using
Windows Server
{{User Windows Server}}
Options
This user contributes using
Hyper-V Server
{{User Windows Server|Hyper-V}}
This user contributes using
Windows Server 2000
{{User Windows Server|2000}}
This user contributes using
Windows Server 2003
{{User Windows Server|2003}}
This user contributes using
Windows Server 2008



This user contributes using
Windows Server 2008 R2
{{User Windows Server|2008}}
{{User Windows Server|2008R2}}
This user contributes using
Windows Server 2012



This user contributes using
Windows Server 2012 R2
{{User Windows Server|2012}}
{{User Windows Server|2012R2}}
This user contributes using
Windows Server 2016
{{User Windows Server|2016}}
This user contributes using
Windows Server 2019
{{User Windows Server|2019}}
This user contributes using
Windows Server 2022

Alternate
This user contributes using
Windows Server 2022
{{User Windows Server|2022}}
{{User Windows Server|2022A}}
This user contributes using
Windows Server 2025

Alternate
This user contributes using
Windows Server 2025
{{User Windows Server|2025}}
{{User Windows Server|2025A}}
Extra
Change color/flag without using a particular version
This user contributes using
Windows Server
{{User Windows Server|3x}}
This user contributes using
Windows Server
{{User Windows Server|9x}}
This user contributes using
Windows Server
{{User Windows Server|XP}}
This user contributes using
Windows Server
{{User Windows Server|8}}
This user contributes using
Windows Server
{{User Windows Server|11}}
This user contributes using
Windows Server
{{User Windows Server|Black}}