Template:Mac
(Redirected from Template:MacOS)
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 {{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 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
Note: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}}
|
→ |
{{mac|1}}
|
→ macOS |
{{mac|2}}
|
→ macOS |
{{mac|3}}
|
→ macOS |
{{mac|3.1}}
|
→ macOS |
{{mac|4}}
|
→ macOS |
{{mac|4.1}}
|
→ macOS |
{{mac|4|nt=0}}
|
→ Mac |
{{mac|4|nt=1}}
|
→ OS X |
{{mac|4|nt=osx}}
|
→ OS X |
{{mac|4|nt=macosx}}
|
→ Mac OS X |
{{mac|4|nt=classic1|linkto=classic}}
|
→ Classic Mac OS |
{{mac|4|nt=classic2|linkto=classic}}
|
→ Classic Mac OS |
{{mac|4|nt=OS X|ver=10.9|linkto=osx}}
|
→ OS X 10.9 |
{{mac|4|ver=Catalina|linkto=macOS}}
|
→ macOS Catalina |
{{mac|col}}
|
→ #FFFFFF |
{{mac|in}}
|
→ (in ) |
{{mac|only}}
|
→ (only in ) |
{{mac|since}}
|
→ (in all games since ) |
{{mac|not}}
|
→ (not in ) |
{{mac|removed}}
|
→ (removed since ) |
{{mac|also|addtext={{csgo}} {{l4d2}}}}
|
→ (also in ) |
The above documentation is transcluded from Template:Mac/doc. (Edit | Page history)
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.