Template:Mac: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 24: Line 24:
| name5 = Mac OS 9<!-- name5 and 6 will be deprecated in favor of text=ver param -->
| name5 = Mac OS 9<!-- name5 and 6 will be deprecated in favor of text=ver param -->
| name6 = Mac OS 8
| name6 = Mac OS 8
| nameMac OS = Mac OS {{{text|{{{ver|}}}}}}<!-- See below. With spacing so there's no way they gonna get confused with modern macOS. -->
| nameMacOSC = Mac OS {{{text|{{{ver|}}}}}}<!-- Not to be confused with macOS, this is for classic Mac. named as "MacOSC" (short for Mac OS Classic) instead of "MacOS" to avoid confusion, while having ability to add versions. -->
| nameMacOSC = Mac OS {{{text|{{{ver|}}}}}}<!-- Not to be confused with macOS, this is for classic Mac. named as "MacOSC" (short for Mac OS Classic) instead of "MacOS" to avoid confusion, while having ability to add versions. -->
| namemacosc = Mac OS {{{text|{{{ver|}}}}}}<!-- Same as above first one. -->
| namemacosc = Mac OS {{{text|{{{ver|}}}}}}<!-- Same as above first one. -->

Revision as of 10:20, 16 August 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

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 or not, 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 addtext but affects everything, including links to Wikipedia icon 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 Wikipedia icon Classic Mac OS article on Wikipedia instead of Wikipedia icon 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

Note.pngNote:Some of the examples given may lead to non-existent pages. For more name types, click "Edit" button and look for |name<name type here>=<actual name>.
{{mac}} macOS
{{mac|1}} macOS
{{mac|2}} macOS macOS
{{mac|3}} macOS
{{mac|3.1}} macOS
{{mac|4}} macOS macOS
{{mac|4.1}} macOS macOS
{{mac|4|nt=0}} macOS Mac
{{mac|4|nt=1}} macOS OS X
{{mac|4|nt=osx}} macOS OS X
{{mac|4|nt=macosx}} macOS Mac OS X
{{mac|4|nt=classic1|linkto=classic}} macOS Classic Mac OS
{{mac|4|nt=classic2|linkto=classic}} macOS Classic Mac OS
{{mac|4|nt=OS X|ver=10.9|linkto=osx}} macOS 10.9 OS X 10.9
{{mac|4|ver=Catalina|linkto=macOS}} macOS Catalina macOS Catalina
{{mac|col}} → #FFFFFF
{{mac|in}} (in macOS)
{{mac|only}} (only in macOS)
{{mac|since}} (in all games since macOS)
{{mac|not}} (not in macOS)
{{mac|removed}} (removed since macOS)
{{mac|also|addtext={{csgo}} {{l4d2}}}} (also in macOSCounter-Strike: Global Offensive Left 4 Dead 2)