更改

添加5,169字节 、​ 2022年12月25日 (日) 17:27
创建页面,内容为“This infobox provides essential information on versions of Windows. ==Usage== {{Infobox Windows version |name = Windows 7 |logo = Windows 7.svg |codename = Wind…”
This infobox provides essential information on versions of [[Windows]].

==Usage==
{{Infobox Windows version
|name = Windows 7
|logo = Windows 7.svg
|codename = Windows 7
|image = Windows7-RTM-DesktopAero.png
|image-caption = Desktop
|family = nt
|version = 6.1
|arch = x86, x64
|latestbuild = [[Windows 7 build 7600.16385|6.1.7600.16385]]
|releasedate = 2009-10-22
|support = 2020-01-14
|server = [[Windows Server 2008 R2]]
|sku = Starter<br>Home Basic<br>Home Premium<br>Professional<br>Enterprise<br>Ultimate
|replaces = [[Windows Vista]]
|replaced-by = [[Windows 8]]
}}
The following code will result in the infobox to the right side:

<pre>
{{Infobox Windows version
|name = Windows 7
|logo = Windows 7.svg
|codename = Windows 7
|image = Windows7-RTM-DesktopAero.png
|image-caption = Desktop
|family = nt
|version = 6.1
|arch = x86, x64
|latestbuild = [[Windows 7 build 7600.16385|6.1.7600.16385]]
|releasedate = 2009-10-22
|support = 2020-01-14
|server = [[Windows Server 2008 R2]]
|sku = Starter<br>Home Basic<br>Home Premium<br>Professional<br>Enterprise<br>Ultimate
|replaces = [[Windows Vista]]
|replaced-by = [[Windows 8]]
}}
</pre>
=== <code>name</code> ===
The marketing name for the particular Windows release. If not provided, it gets automatically filled in according to <code>family</code> and <code>version</code> values, therefore <code>name</code> should be omitted for pre-1995 Windows versions.

=== <code>family</code> ===
This describes the product line the particular Windows release belongs to. This parameter has the following legal values, which expand to the respective descriptions:
* <code>16</code> ⇒ {{Windows family|16}}
* <code>9x</code> ⇒ {{Windows family|9x}}
* <code>nt</code> ⇒ {{Windows family|nt}} ''(up to, including, [[Windows 10]] original release)''
* <code>10</code> ⇒ {{Windows family|10}} ''([[Windows 10 version 1511|Windows 10 November Update]] and newer)''
* <code>11</code> ⇒ {{Windows family|11}}

=== <code>version</code> ===
This is the version number of the particular Windows release. For families <code>16</code>, <code>9x</code>, <code>nt</code> this should be a rational number with up to two decimal points. Don't prefix the version number with anything.

Between [[Windows 10 version 1511|Windows 10 November Update]] and [[Windows 10 version 2004|Windows 10 May 2020 Update]] (family <code>10</code>), this is a four-digit number that happens to be a date in the <code>YYMM</code>. Please note that the marketing name '''might not always reflect the version number''', e.g. [[Windows 10 version 1803|Windows 10 April 2018 Update]] is actually version '''1803''' and not 1804 as one would expect!

Since [[Windows 10 version 20H2|Windows 10 October 2020 Update]] (families <code>10</code> and <code>11</code>), this is a <code>YYHx</code> formatted string, where <code>YY</code> is the last two digits of the year and <code>Hx</code> marks the year's half, i.e. the release in the first half is <code>H1</code>, while a release in the second half is <code>H2</code>.

=== <code>codename</code>, <code>preliminary</code> ===
Codenames and preliminary names for the particular Windows release, if any. Please distinguish between a ''codename'', which is only an internal term used to refer to the product (i.e. Whistler Server) and a ''preliminary name'', which is an official name that has been abandoned before the final release (i.e. Windows .NET Server 2003).

=== <code>semester</code> ===
For [[Windows 10 May 2019 Update]] and later, this is the name of the semester that this release was released on, such as Cobalt or Vanadium.

=== <code>arch</code> ===
A listing of architectures supported by the particular Windows release. Tends to be one or more of the following:
* x86
* x64
* DEC Alpha
* MIPS
* PPC
* PC-98
* IA-64
* ARM32
* ARM64

=== <code>latestbuild</code> ===
Link to the latest build of the particular Windows release.

=== <code>releasedate</code> ===
The original release date of the particular Windows release, e.g. 1985-11-20 for [[Windows 1.0]].

=== <code>support</code> ===
The end of support date for the particular Windows release.

=== <code>sku</code> ===
List of the SKUs/editions that the particular Windows release was officially available in, separated by <code><nowiki><br></nowiki></code> tags.

=== <code>based-on</code>, <code>client</code>, <code>replaces</code>, <code>replaced-by</code>, <code>server</code> ===
Use these parameters to link to the versions of Windows that the particular release is related to. If this applies only to a specific SKU of that version, the link should mention the SKU in question, e.g. [[Windows 2000|Windows 2000 Professional]]. <code>replaces</code> and <code>replaced-by</code> shall link to the versions that this particular Windows release replaces or is replaced by, while <code>server</code> or <code>client</code> should link to the server/client counterpart.

<code>based-on</code> should be used in cases the particular Windows release builds upon another version to provide some specific functionality, e.g. [[Windows Thin PC]] is based on [[Windows Embedded POSReady 7]], which in turn is based on [[Windows 7]].
(用户名已移除)