From Valve Developer Community
		
		
		
		
		Jump to navigation
		Jump to search
		
				
				
				
				
				
				|   |  | 
| Line 19: | Line 19: | 
|  | | name5 = Vista |  | | name5 = Vista | 
|  | | namevistashort = Vista |  | | namevistashort = Vista | 
|  |  | | name7 = 7 | 
|  |  | | name7full = Windows 7 | 
|  |  | | name7short = 7 | 
|  | | addtext = {{{addtext|}}} |  | | addtext = {{{addtext|}}} | 
|  | | nt = {{{nt|}}} |  | | nt = {{{nt|}}} | 
|  | }}</onlyinclude></includeonly> |  | }}</onlyinclude></includeonly> | 
		Revision as of 05:27, 21 August 2023

 Available doc translations 
…
 English
 EnglishUsage
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 7}}} on it, you will read the Windows 7 article on Wikipedia instead of the default Windows 7 article on Wikipedia instead of the default Microsoft Windows. Microsoft Windows.
Translations
Some Translations are handled by the {{In text}} Template. Others (such as game title/software title, etc...) will use {{Autolang}}.
Examples
 Note:Some of the examples given may lead to non-existent pages.
Note:Some of the examples given may lead to non-existent pages.
| {{win7}} | →   | Default appearance | 
| {{win7|1}} | → Windows | With link, type 1 | 
| {{win7|2}} | →  Windows | With link, type 2 | 
| {{win7|3}} | → Windows | With link, type 3 | 
| {{win7|3.1}} | → Windows | With link, type 3.1(no shadows) | 
| {{win7|3.2}} | → Windows | With link, type 3.2(different shadows) | 
| {{win7|4}} | →  Windows | With link, type 4 | 
| {{win7|4.1}} | →  Windows | With link, type 4.1(no shadows) | 
| {{win7|4.1}} | →  Windows | With link, type 4.2(different shadows) | 
| {{win7|4|nt=0}} | →  windows | Name type 0 | 
| {{win7|4|nt=1}} | →  Microsoft Windows | Name type 1 | 
| {{win7|4|nt=vista}} | →  Windows | Name type vista | 
| {{win7|4|nt=Win7}} | →  Windows | Name type Win7 | 
| {{win7|4|nt=vistafull|linkto=vista}} | →  Windows Vista | Name type vistafull, links to Windows Vista article on Wikipedia. | 
| {{win7|4|nt=7|linkto=7}} | →  7 | Name type 7, links to Windows 7 article on Wikipedia. | 
| {{win7|col}} | →  #afd1e2 | Color code (in HEX) | 
| {{win7|in}} | → (in  ) |  | 
| {{win7|only}} | → (only in  ) |  | 
| {{win7|since}} | → (in all games since  ) |  | 
| {{win7|not}} | → (not in  ) |  | 
| {{win7|removed}} | → (removed since  ) |  | 
| {{win7|also|addtext={{csgo}} {{l4d2}}}} | → (also in     ) |  |