Template:MacOS
Valve Developer Community sitesinden
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 {{iOS}}, {{Mac}}, and some templates (such as {{Win7}})
- {{{ver}}} – Optional: Set version number, for the operating systems, probably might works similar to
addtextbut affects everything, including links to
Wikipedia article. - {{{linkto}}} – Optional: Changes the Wikipedia link, in this template, when you click on the link that have {{{linkto|Classic Mac OS}}} on it, you will read the
Classic Mac OS article on Wikipedia instead of
Mac operating systems. If used alongside {{{ver}}}, will add version number to the link aswell.
Translations
Some Translations are handled by the {{In text}} Template. Others (such as game title/software title, etc...) will use {{Autolang}}.
Examples
|name<name type here>=<actual name>.| {{macOS}} | → |
| {{macOS|1}} | → macOS |
| {{macOS|2}} | → |
| {{macOS|3}} | → macOS |
| {{macOS|3.1}} | → macOS |
| {{macOS|4}} | → |
| {{macOS|4.1}} | → |
| {{macOS|4|nt=0}} | → |
| {{macOS|4|nt=1}} | → |
| {{macOS|4|nt=osx}} | → |
| {{macOS|4|nt=macosx}} | → |
| {{macOS|4|nt=classic1|linkto=classic}} | → |
| {{macOS|4|nt=classic2|linkto=classic}} | → |
| {{macOS|4|nt=OS X|ver=10.9|linkto=osx}} | → |
| {{macOS|4|ver=Catalina|linkto=macOS}} | → |
| {{macOS|col}} | → #FFFFFF |
| {{macOS|in}} | → (in |
| {{macOS|only}} | → (only in |
| {{macOS|since}} | → (in all games since |
| {{macOS|not}} | → (not in |
| {{macOS|removed}} | → (removed since |
| {{macOS|also|addtext={{Csgo}} {{L4d2}}}} | → (also in |
The above documentation is transcluded from Template:MacOS/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:MacOS&oldid=482132" sayfasından alınmıştır
Gizli kategori: