Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Template:Compatibility/macOS"

From AppleGamingWiki, the wiki about gaming on M1 Apple silicon Macs
m (added fix to all remaning rows + sections)
m (moved over to using defined variables instead)
Line 4: Line 4:
 
-->{{#vardefine:rating header|<abbr title="How the game functions through this method">Rating</abbr>}}<!--
 
-->{{#vardefine:rating header|<abbr title="How the game functions through this method">Rating</abbr>}}<!--
 
-->{{#vardefine:notes header|Notes}}<!--
 
-->{{#vardefine:notes header|Notes}}<!--
 +
-->{{#if: {{{native|}}}        | {{#vardefine:macOS native|{{{native|}}}}} }}<!--
 +
-->{{#if: {{{rosetta 2|}}}      | {{#vardefine:macOS rosetta 2|{{{rosetta 2|}}}}} }}<!--
 +
-->{{#if: {{{ios-ipados app|}}} | {{#vardefine:macOS ios-ipados app|{{{ios-ipados app|}}}}} }}<!--
 +
-->{{#if: {{{crossover|}}}      | {{#vardefine:macOS crossover|{{{crossover|}}}}} }}<!--
 +
-->{{#if: {{{wine|}}}          | {{#vardefine:macOS wine|{{{wine|}}}}} }}<!--
 +
-->{{#if: {{{parallels|}}}      | {{#vardefine:macOS parallels|{{{parallels|}}}}} }}<!--
 +
-->{{#if: {{{windows 10 arm|}}} | {{#vardefine:macOS windows 10 arm|{{{windows 10 arm|}}}}} }}<!--
 +
-->{{#if: {{{linux arm|}}}      | {{#vardefine:macOS linux arm|{{{linux arm|}}}}} }}<!--
  
 
   NEW SECTION: General
 
   NEW SECTION: General
  
-->{{#if: {{{native|}}}{{{rosetta 2|}}}{{{ios-ipados app|}}} | {{#ifeq: {{{native|na}}}{{{rosetta 2|na}}}{{{ios-ipados app|na}}} | nanana | |
+
-->{{#ifeq: {{#var:macOS native|na}}{{#var:macOS rosetta 2|na}}{{#var:macOS ios-ipados app|na}} | nanana | |
 
<tr class="template-infotable-head table-compatibility-head-row">
 
<tr class="template-infotable-head table-compatibility-head-row">
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method">Method</th>
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method">Method</th>
Line 16: Line 24:
 
   NEW ROW: Native
 
   NEW ROW: Native
  
-->{{#if: {{{native|}}} | {{#ifeq: {{{native|na}}} | na | |
+
-->{{#ifeq: {{#var:macOS native|na}} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method"><abbr title="Game can run natively on Apple silicon">Native</abbr></th>
 
<th scope="row" class="table-compatibility-body-method"><abbr title="Game can run natively on Apple silicon">Native</abbr></th>
<td class="table-compatibility-body-rating">{{Rating|{{{native|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS native|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{native notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{native notes|}}}</td>
 
</tr>
 
</tr>
}}}}<!--
+
}}<!--
  
 
   NEW ROW: Rosetta 2
 
   NEW ROW: Rosetta 2
  
-->{{#if: {{{rosetta 2|}}} | {{#ifeq: {{{rosetta 2|na}}} | na | |
+
-->{{#ifeq: {{#var:macOS rosetta 2|na} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method"><abbr title="Game can run through Rosetta 2 translation environment">Rosetta 2</abbr></th>
 
<th scope="row" class="table-compatibility-body-method"><abbr title="Game can run through Rosetta 2 translation environment">Rosetta 2</abbr></th>
<td class="table-compatibility-body-rating">{{Rating|{{{rosetta 2|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS rosetta 2|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{rosetta 2 notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{rosetta 2 notes|}}}</td>
 
</tr>
 
</tr>
}}}}<!--
+
}}<!--
  
 
   NEW ROW: iOS/iPadOS App
 
   NEW ROW: iOS/iPadOS App
  
-->{{#if: {{{ios-ipados app|}}} | {{#ifeq: {{{ios-ipados app|na}}} | na | |
+
-->{{#ifeq: {{#var:macOS ios-ipados app|na}} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method"><abbr title="macOS can run the iOS/iPadOS app of the game">iOS/iPadOS App</abbr></th>
 
<th scope="row" class="table-compatibility-body-method"><abbr title="macOS can run the iOS/iPadOS app of the game">iOS/iPadOS App</abbr></th>
<td class="table-compatibility-body-rating">{{Rating|{{{ios-ipados app|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS ios-ipados app|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{ios-ipados app notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{ios-ipados app notes|}}}</td>
 
</tr>
 
</tr>
}}}}<!--
+
}}<!--
  
-->}}}}<!--
+
-->}}<!--
  
 
   NEW SECTION: Compatibility layer
 
   NEW SECTION: Compatibility layer
  
-->{{#if: {{{crossover|}}}{{{wine|}}} | {{#ifeq: {{{crossover|na}}}{{{wine|na}}} | nana | |
+
-->{{#ifeq: {{#var:macOS crossover|na}}{{#var:macOS wine|na}} | nana | |
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through a third-party compatibility layer">Compatibility layer</abbr></th>
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through a third-party compatibility layer">Compatibility layer</abbr></th>
Line 57: Line 65:
 
   NEW ROW: CrossOver
 
   NEW ROW: CrossOver
  
-->{{#if: {{{crossover|}}} | {{#ifeq: {{{crossover|na}}} | na | |
+
-->{{#ifeq: {{#var:macOS crossover|na}} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method">[[CrossOver]]</th>
 
<th scope="row" class="table-compatibility-body-method">[[CrossOver]]</th>
<td class="table-compatibility-body-rating">{{Rating|{{{crossover|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS crossover|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{crossover notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{crossover notes|}}}</td>
 
</tr>
 
</tr>
}}}}<!--
+
}}<!--
  
 
   NEW ROW: Wine
 
   NEW ROW: Wine
  
-->{{#if: {{{wine|}}} | {{#ifeq: {{{wine|na}}} | na | |
+
-->{{#ifeq: {{#var:macOS wine|na}} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method">Wine</th>
 
<th scope="row" class="table-compatibility-body-method">Wine</th>
<td class="table-compatibility-body-rating">{{Rating|{{{wine|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS wine|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{wine notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{wine notes|}}}</td>
 
</tr>
 
</tr>
}}}}<!--
+
}}<!--
  
-->}}}}<!--
+
-->}}<!--
  
 
   NEW SECTION: Virtualization
 
   NEW SECTION: Virtualization
  
-->{{#if: {{{parallels|}}} | {{#ifeq: {{{parallels|na}}} | na | |
+
-->{{#ifeq: {{#var:macOS parallels|na}} | na | |
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through virtualization such as e.g. Parallels">Virtualization</abbr></th>
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through virtualization such as e.g. Parallels">Virtualization</abbr></th>
Line 88: Line 96:
 
   NEW ROW: Parallels
 
   NEW ROW: Parallels
  
-->{{#if: {{{parallels|}}} | {{#ifeq: {{{parallels|na}}} | na | |
+
-->{{#ifeq: {{#var:macOS parallels|na}} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method">[[Parallels]]</th>
 
<th scope="row" class="table-compatibility-body-method">[[Parallels]]</th>
<td class="table-compatibility-body-rating">{{Rating|{{{parallels|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS parallels|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{parallels notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{parallels notes|}}}</td>
 
</tr>
 
</tr>
}}}}<!--
+
}}<!--
  
-->}}}}<!--
+
-->}}<!--
  
 
   NEW SECTION: Multi-booting
 
   NEW SECTION: Multi-booting
  
-->{{#if: {{{windows 10 arm|}}}{{{linux arm|}}} | {{#ifeq: {{{windows 10 arm|na}}}{{{linux arm|na}}} | nana | |
+
-->{{#ifeq: {{#var:macOS windows 10 arm|na}}{{#var:macOS linux arm|na}} | nana | |
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<tr class="template-infotable-secondhead table-compatibility-head-row">
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through another bootable operating system">Multi-booting</abbr></th>
 
<th scope="col" style="width: 230px;" class="table-compatibility-head-method"><abbr title="Game can run through another bootable operating system">Multi-booting</abbr></th>
Line 109: Line 117:
 
   NEW ROW: Windows 10 ARM
 
   NEW ROW: Windows 10 ARM
  
-->{{#if: {{{windows 10 arm|}}} | {{#ifeq: {{{windows 10 arm|na}}} | na | |
+
-->{{#ifeq: {{#var:macOS windows 10 arm|na}} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method">Windows 10 ARM</th>
 
<th scope="row" class="table-compatibility-body-method">Windows 10 ARM</th>
<td class="table-compatibility-body-rating">{{Rating|{{{windows 10 arm|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS windows 10 arm|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{windows 10 arm notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{windows 10 arm notes|}}}</td>
 
</tr>
 
</tr>
}}}}<!--
+
}}<!--
  
 
   NEW ROW: Linux ARM
 
   NEW ROW: Linux ARM
  
-->{{#if: {{{linux arm|}}} | {{#ifeq: {{{linux arm|na}}} | na | |
+
-->{{#ifeq: {{#var:macOS linux arm|na}} | na | |
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<tr class="template-infotable-body table-compatibility-body-row">
 
<th scope="row" class="table-compatibility-body-method">Linux ARM</th>
 
<th scope="row" class="table-compatibility-body-method">Linux ARM</th>
<td class="table-compatibility-body-rating">{{Rating|{{{linux arm|}}}}}</td>
+
<td class="table-compatibility-body-rating">{{Rating|{{#var:macOS linux arm|na}}}}</td>
 
<td class="table-compatibility-body-notes">{{{linux arm notes|}}}</td>
 
<td class="table-compatibility-body-notes">{{{linux arm notes|}}}</td>
 
</tr>
 
</tr>
}}}}<!--
+
}}<!--
  
-->}}}}<!--
+
-->}}<!--
  
 
--></table></div></includeonly><noinclude>{{ii}} Example from [[Minecraft]]:
 
--></table></div></includeonly><noinclude>{{ii}} Example from [[Minecraft]]:
Line 159: Line 167:
 
}}</noinclude><includeonly>{{#ifeq: {{NAMESPACE}} | | {{#cargo_store:
 
}}</noinclude><includeonly>{{#ifeq: {{NAMESPACE}} | | {{#cargo_store:
 
_table=Compatibility_macOS
 
_table=Compatibility_macOS
|native={{{native|na}}}
+
|native={{#var:macOS native|na}}
|rosetta_2={{{rosetta 2|na}}}
+
|rosetta_2={{#var:macOS rosetta 2|na}}
|iosipados_app={{{ios-ipados app|na}}}
+
|iosipados_app={{#var:macOS ios-ipados app|na}}
|crossover={{{crossover|na}}}
+
|crossover={{#var:macOS crossover|na}}
|wine={{{wine|na}}}
+
|wine={{#var:macOS {wine|na}}
|parallels={{{parallels|na}}}
+
|parallels={{#var:macOS parallels|na}}
|windows_10_arm={{{windows 10 arm|na}}}
+
|windows_10_arm={{#var:macOS windows 10 arm|na}}
|linux_arm={{{linux arm|na}}}
+
|linux_arm={{#var:macOS linux arm|na}}
 
}}}}</includeonly><noinclude>{{documentation}}</noinclude>
 
}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 21:04, 18 April 2021

Example from Minecraft:

macOS Compatibility

{{#ifeq: perfectperfectperfect | nanana | |
Method Rating Notes
Native Perfect Java version can be compiled for native ARM, see #Native.
Compatibility layer
CrossOver Unknown
Wine Unknown
Virtualization
Parallels Perfect Bedrock version playable after using latest Windows Insider Preview build of Windows 10 ARM.

This template defines the table "Compatibility_macOS". View table.

Documentation for the above template (sometimes hidden from view).
{{Compatibility/macOS
|native               =
|native notes         =
|rosetta 2            =
|rosetta 2 notes      =
|ios-ipados app       =
|ios-ipados app notes = 
|crossover            =
|crossover notes      =
|wine                 =
|wine notes           =
|parallels            =
|parallels notes      =
|windows 10 arm       =
|windows 10 arm notes =
|linux arm            =
|linux arm notes      =
}}