Template:Windows
From Valve Developer Community
		
		
		
		
		Jump to navigation
		Jump to search
		Contents
Usage
Delivers the icon and/or a link of the game that has this abbreviation. Can also obtain the game color.
This template is based on {{Software}}.
Parameters
- {{{1}}} – Optional: The representation, see the examples below. Can be set to: 
1,2,3,3.1,4,4.1,col,in,also,only,since,removed,not; - {{{nt}}} – Optional: This option allows you to select a custom game and software name if it is specified in the template. 0 is most often a game abbreviation. You can click on "Edit" to view the available game/software names.
 - {{{addtext}}} – Optional: If {{{1}}} is set to 
in,also,only,since,removedornot, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons. 
Parameters exclusive to some templates (such as {{Win7}}, {{Win10}}, etc...)
- {{{linkto}}} – Optional: Changes the Wikipedia link.
For example in this template, when you click on the link that have {{{linkto|Windows 8.1}}} on it, you will read the
 Windows 8.1 article on Wikipedia instead of the default 
 Microsoft Windows. 
Translations
Some Translations are handled by the {{In text}} Template. Others (such as game title/software title, etc...) will use {{Autolang}}.
Examples
{{windows}}
 | 
→  | 
Default appearance | 
{{windows|1}}
 | 
→ Windows | With link, type 1
 | 
{{windows|2}}
 | 
→  | 
With link, type 2
 | 
{{windows|3}}
 | 
→ Windows | With link, type 3
 | 
{{windows|3.1}}
 | 
→ Windows | With link, type 3.1 (no shadows)
 | 
{{windows|3.2}}
 | 
→ Windows | With link, type 3.2 (different shadows)
 | 
{{windows|4}}
 | 
→  | 
With link, type 4
 | 
{{windows|4.1}}
 | 
→  | 
With link, type 4.1 (no shadows)
 | 
{{windows|4.1}}
 | 
→  | 
With link, type 4.2 (different shadows)
 | 
{{windows|4|nt=0}}
 | 
→  | 
Name type 0
 | 
{{windows|4|nt=1}}
 | 
→  | 
Name type 1
 | 
{{windows|4|nt=Win11}}
 | 
→  | 
Name type Win11
 | 
{{windows|4|nt=Windows 11|linkto=Windows 11}}
 | 
→  | 
Name type Windows 11, links to  | 
{{windows|col}}
 | 
→ #1aaee6 | Color code (in HEX) | 
{{windows|in}}
 | 
→ (in  | 
|
{{windows|only}}
 | 
→ (only in  | 
|
{{windows|since}}
 | 
→ (in all games since  | 
|
{{windows|not}}
 | 
→ (not in  | 
|
{{windows|removed}}
 | 
→ (removed since  | 
|
{{windows|also|addtext={{csgo}} {{l4d2}}}}
 | 
→ (also in  | 
The above documentation is transcluded from Template:Windows/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Hidden category: