Template:Windows/doc
This is a documentation subpage for Template:Windows.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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
,removed
ornot
, 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
Note:Some of the examples given may lead to non-existent pages.
{{windows}}
|
→ | Default appearance |
{{windows|1}}
|
→ Windows | With link, type 1
|
{{windows|2}}
|
→ Windows | 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}}
|
→ Windows | With link, type 4
|
{{windows|4.1}}
|
→ Windows | With link, type 4.1 (no shadows)
|
{{windows|4.1}}
|
→ Windows | With link, type 4.2 (different shadows)
|
{{windows|4|nt=0}}
|
→ Windows | Name type 0
|
{{windows|4|nt=1}}
|
→ Microsoft Windows | Name type 1
|
{{windows|4|nt=Win11}}
|
→ Windows | Name type Win11
|
{{windows|4|nt=Windows 11|linkto=Windows 11}}
|
→ Windows 11 | Name type Windows 11 , links to Windows 11 article on Wikipedia.
|
{{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 ) |