Difference between revisions of "Development:API"
From PCGamingWiki, the wiki about fixing PC games
(1:1 with live) |
|||
Line 153: | Line 153: | ||
}} | }} | ||
</table></div>}}{{#if:{{#var:Windows 3.x native}}{{#var:Windows native}}{{{windows exe notes|}}}{{#var:OS X}}{{{macos app notes|}}}{{#var:Linux native}}{{{linux executable notes|}}}|{{#if:{{{64-bit executable|}}}||<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable"> | </table></div>}}{{#if:{{#var:Windows 3.x native}}{{#var:Windows native}}{{{windows exe notes|}}}{{#var:OS X}}{{{macos app notes|}}}{{#var:Linux native}}{{{linux executable notes|}}}|{{#if:{{{64-bit executable|}}}||<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable"> | ||
− | <tr class="template-infotable-head table-api-head-row"> | + | <tr class="template-infotable-head table-api-head-row"><!-- |
+ | -->{{#switch:{{{mac os x powerpc app|}}}|true|hackable={{#vardefine:powerpc app|true}}}}<!-- | ||
+ | -->{{#switch:{{{linux powerpc app|}}}|true|hackable={{#vardefine:powerpc app|true}}}} | ||
<th scope="col" style="width: 230px;" class="table-api-head-parameter">Executable</th><!-- | <th scope="col" style="width: 230px;" class="table-api-head-parameter">Executable</th><!-- | ||
− | -->{{# | + | -->{{#if:{{#var:powerpc app}}|<th scope="col" style="width: 50px;" class="table-api-head-support"><abbr title="PowerPC">PPC</abbr></th>}}<!-- |
-->{{#if:{{#var:Windows 3.x native}}|<th scope="col" style="width: 50px;" class="table-api-head-support">16-bit</th>}} | -->{{#if:{{#var:Windows 3.x native}}|<th scope="col" style="width: 50px;" class="table-api-head-support">16-bit</th>}} | ||
<th scope="col" style="width: 50px;" class="table-api-head-support">32-bit</th> | <th scope="col" style="width: 50px;" class="table-api-head-support">32-bit</th> | ||
<th scope="col" style="width: 50px;" class="table-api-head-support">64-bit</th> | <th scope="col" style="width: 50px;" class="table-api-head-support">64-bit</th> | ||
− | <th scope="col" style="width: 490px;" class="table-api-head-notes">Notes</th> | + | <th scope="col" style="width: {{#if:{{#var:powerpc app}} | 440px | 490px }};" class="table-api-head-notes">Notes</th> |
</tr> | </tr> | ||
− | {{#if:{{#var:Windows 3.x native}}{{#var:Windows native}}{{{windows exe notes|} | + | {{#if:{{#var:Windows 3.x native}}{{#var:Windows native}}{{{windows exe notes|}}}| |
<tr class="template-infotable-body table-api-body-row"> | <tr class="template-infotable-body table-api-body-row"> | ||
<th scope="row" class="table-api-body-parameter">Windows</th><!-- | <th scope="row" class="table-api-body-parameter">Windows</th><!-- | ||
− | -->{{# | + | -->{{#if:{{#var:powerpc app}}|<td class="table-api-body-support">{{Tickcross-na|n/a}}</td>}}<!-- |
-->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross|true}}</td>}} | -->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross|true}}</td>}} | ||
<td class="table-api-body-support">{{Tickcross|{{{windows 32-bit exe|}}}|Windows 32-bit executable|{{{windows exe notes|}}}}}</td> | <td class="table-api-body-support">{{Tickcross|{{{windows 32-bit exe|}}}|Windows 32-bit executable|{{{windows exe notes|}}}}}</td> | ||
Line 173: | Line 175: | ||
{{#if:{{#var:Windows native}}|{{#ifeq:{{{windows 32-bit exe|}}}{{{windows 64-bit exe|}}}|falsefalse|[[Category:Invalid template usage (API)]]}}}} | {{#if:{{#var:Windows native}}|{{#ifeq:{{{windows 32-bit exe|}}}{{{windows 64-bit exe|}}}|falsefalse|[[Category:Invalid template usage (API)]]}}}} | ||
}} | }} | ||
− | {{#if:{{#var:OS X}}{{{macos app notes|} | + | {{#if:{{#var:OS X}}{{{macos app notes|}}}| |
<tr class="template-infotable-body table-api-body-row"> | <tr class="template-infotable-body table-api-body-row"> | ||
<th scope="row" class="table-api-body-parameter">macOS (OS X)</th><!-- | <th scope="row" class="table-api-body-parameter">macOS (OS X)</th><!-- | ||
− | -->{{# | + | -->{{#if:{{#var:powerpc app}}|<td class="table-api-body-support">{{Tickcross|{{{mac os x powerpc app|}}}|Mac OS X PowerPC app|{{{macos app notes|}}}}}</td><!-- |
-->{{#ifeq:{{{mac os x powerpc app|}}}{{{macos intel 32-bit app|}}}{{{macos 32-bit app|}}}{{{macos intel 64-bit app|}}}{{{macos 64-bit app|}}}|truefalsefalse|{{#vardefine:Warnings|true}}}}}}<!-- | -->{{#ifeq:{{{mac os x powerpc app|}}}{{{macos intel 32-bit app|}}}{{{macos 32-bit app|}}}{{{macos intel 64-bit app|}}}{{{macos 64-bit app|}}}|truefalsefalse|{{#vardefine:Warnings|true}}}}}}<!-- | ||
-->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross-na|n/a}}</td>}} | -->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross-na|n/a}}</td>}} | ||
Line 190: | Line 192: | ||
}} | }} | ||
}} | }} | ||
− | {{#if:{{#var:Linux native}}{{{linux executable notes|} | + | {{#if:{{#var:Linux native}}{{{linux executable notes|}}}| |
<tr class="template-infotable-body table-api-body-row"> | <tr class="template-infotable-body table-api-body-row"> | ||
<th scope="row" class="table-api-body-parameter">Linux</th><!-- | <th scope="row" class="table-api-body-parameter">Linux</th><!-- | ||
− | -->{{# | + | -->{{#if:{{#var:powerpc app}}|<td class="table-api-body-support">{{Tickcross|{{{linux powerpc app|}}}|Linux PowerPC app|{{{linux executable notes|}}}}}</td>}}<!-- |
-->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross-na|n/a}}</td>}} | -->{{#if:{{#var:Windows 3.x native}}|<td class="table-api-body-support">{{Tickcross-na|n/a}}</td>}} | ||
<td class="table-api-body-support">{{Tickcross|{{{linux 32-bit executable|}}}|Linux 32-bit executable|{{{linux executable notes|}}}}}</td> | <td class="table-api-body-support">{{Tickcross|{{{linux 32-bit executable|}}}|Linux 32-bit executable|{{{linux executable notes|}}}}}</td> | ||
Line 200: | Line 202: | ||
</tr> | </tr> | ||
{{#ifeq:{{{linux 32-bit executable|}}}{{{linux 64-bit executable|}}}|falsetrue|{{#vardefine:Linux 64-bit only|true}}}} | {{#ifeq:{{{linux 32-bit executable|}}}{{{linux 64-bit executable|}}}|falsetrue|{{#vardefine:Linux 64-bit only|true}}}} | ||
− | {{#ifeq:{{{linux 32-bit executable|}}}{{{linux 64-bit executable|}}}|falsefalse|[[Category:Invalid template usage (API)]]}} | + | {{#ifeq:{{{linux 32-bit executable|}}}{{{linux 64-bit executable|}}}|falsefalse|{{#ifeq:{{{linux powerpc app|}}}|true||[[Category:Invalid template usage (API)]]}}}} |
}} | }} | ||
</table></div>}} }}|{{ii}} ''No API information; you can <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> | </table></div>}} }}|{{ii}} ''No API information; you can <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 05:07, 26 December 2019
Documentation for the above template (sometimes hidden from view).
Visit Development:API/Documentation to edit this text. (How does this work?)