Difference between revisions of "Development:API"

From PCGamingWiki, the wiki about fixing PC games
(Cargo? Cargo!)
(1:1 with live)
Line 12: Line 12:
 
|DOS_video_modes=List (,) of String
 
|DOS_video_modes=List (,) of String
 
|Shader_Model_versions=List (,) of String
 
|Shader_Model_versions=List (,) of String
|Windows_32-bit_executable=String
+
|Windows_16bit_executable=String
|Windows_64-bit_executable=String
+
|Windows_32bit_executable=String
 +
|Windows_64bit_executable=String
 
|Windows_ARM_app=String
 
|Windows_ARM_app=String
 
|Mac_OS_X_PowerPC_app=String
 
|Mac_OS_X_PowerPC_app=String
|macOS_Intel_32-bit_app=String
+
|macOS_Intel_32bit_app=String
|macOS_Intel_64-bit_app=String
+
|macOS_Intel_64bit_app=String
 
|macOS_ARM_app=String
 
|macOS_ARM_app=String
 
|Linux_PowerPC_app=String
 
|Linux_PowerPC_app=String
|Linux_32-bit_executable=String
+
|Linux_32bit_executable=String
|Linux_64-bit_executable=String
+
|Linux_64bit_executable=String
 
|Linux_ARM_app=String
 
|Linux_ARM_app=String
 
}}</noinclude><includeonly>{{#switch:{{#var:section}}
 
}}</noinclude><includeonly>{{#switch:{{#var:section}}
Line 147: Line 148:
 
<th scope="row" class="table-api-body-parameter">Vulkan</th>
 
<th scope="row" class="table-api-body-parameter">Vulkan</th>
 
<td class="table-api-body-support">{{#switch:{{lc:{{{vulkan versions|}}}}}
 
<td class="table-api-body-support">{{#switch:{{lc:{{{vulkan versions|}}}}}
|true={{Tickcross|true|Vulkan versions|true}}
+
|true={{Tickcross|true|Vulkan versions|true}}{{#vardefine:Vulkan versions|true}}
|hackable={{Tickcross|hackable|Vulkan versions|{{{vulkan notes|}}}}}
+
|hackable={{Tickcross|hackable|Vulkan versions|{{{vulkan notes|}}}}}{{#vardefine:Vulkan versions|hackable}}
 
|#default={{#arraymaptemplate:{{{vulkan versions}}}|API/switch Vulkan|,|,&#32;}} }}</td>
 
|#default={{#arraymaptemplate:{{{vulkan versions}}}|API/switch Vulkan|,|,&#32;}} }}</td>
 
<td class="table-api-body-notes">{{{vulkan notes|}}}</td>
 
<td class="table-api-body-notes">{{{vulkan notes|}}}</td>
Line 253: Line 254:
 
|DOS_video_modes={{#var:DOS modes}}
 
|DOS_video_modes={{#var:DOS modes}}
 
|Shader_Model_versions={{{shader model versions|}}}
 
|Shader_Model_versions={{{shader model versions|}}}
|Windows_32-bit_executable={{{windows 32-bit exe|}}}
+
|Windows_16bit_executable={{#var:Windows 3.x}}
|Windows_64-bit_executable={{{windows 64-bit exe|}}}
+
|Windows_32bit_executable={{{windows 32-bit exe|}}}
 +
|Windows_64bit_executable={{{windows 64-bit exe|}}}
 
|Windows_ARM_app={{{windows arm app|}}}
 
|Windows_ARM_app={{{windows arm app|}}}
 
|Mac_OS_X_PowerPC_app={{{mac os x powerpc app|}}}
 
|Mac_OS_X_PowerPC_app={{{mac os x powerpc app|}}}
|macOS_Intel_32-bit_app={{{macos intel 32-bit app|}}}
+
|macOS_Intel_32bit_app={{{macos intel 32-bit app|}}}
|macOS_Intel_64-bit_app={{{macos intel 64-bit app|}}}
+
|macOS_Intel_64bit_app={{{macos intel 64-bit app|}}}
 
|macOS_ARM_app={{{macos arm app|}}}
 
|macOS_ARM_app={{{macos arm app|}}}
 
|Linux_PowerPC_app={{{linux powerpc app|}}}
 
|Linux_PowerPC_app={{{linux powerpc app|}}}
|Linux_32-bit_executable={{{linux 32-bit executable|}}}
+
|Linux_32bit_executable={{{linux 32-bit executable|}}}
|Linux_64-bit_executable={{{linux 64-bit executable|}}}
+
|Linux_64bit_executable={{{linux 64-bit executable|}}}
 
|Linux_ARM_app={{{linux arm app|}}}
 
|Linux_ARM_app={{{linux arm app|}}}
 
}}}}|{{ii}} ''No API information; <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page]</span> to add it.''}}{{#if: {{{vulkan support|}}} |[[Category:Invalid template usage (API)]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}}}|{{ii}} ''No API information; <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page]</span> to add it.''}}{{#if: {{{vulkan support|}}} |[[Category:Invalid template usage (API)]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 01:59, 3 October 2021

Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).