Template:Win7
Valve Developer Community sitesinden
(Template:Windows 7 sayfasından yönlendirildi)
Gezinti kısmına atla
Arama kısmına atla
İçindekiler
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 7}}} on it, you will read the
Windows 7 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
{{win7}}
|
→ |
Default appearance |
{{win7|1}}
|
→ Windows | With link, type 1
|
{{win7|2}}
|
→ |
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}}
|
→ |
With link, type 4
|
{{win7|4.1}}
|
→ |
With link, type 4.1 (no shadows)
|
{{win7|4.1}}
|
→ |
With link, type 4.2 (different shadows)
|
{{win7|4|nt=0}}
|
→ |
Name type 0
|
{{win7|4|nt=1}}
|
→ |
Name type 1
|
{{win7|4|nt=vista}}
|
→ |
Name type vista
|
{{win7|4|nt=Win7}}
|
→ |
Name type Win7
|
{{win7|4|nt=vistafull|linkto=vista}}
|
→ |
Name type vistafull, links to |
{{win7|4|nt=7|linkto=7}}
|
→ |
Name type 7, links to |
{{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 |
The above documentation is transcluded from Template:Win7/doc. (Düzenle | Sayfa geçmişi)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
"https://developer.valvesoftware.com/w/index.php?title=Template:Win7&oldid=340747" sayfasından alınmıştır
Gizli kategori: