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


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "User:Blackbird/Template"

From PCGamingWiki, the wiki about fixing PC games
Line 1: Line 1:
<table class="vertical-navbox template-infobox" id="infobox-non-game">
+
<includeonly><div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-api">
<caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}<includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Guide]] }}</includeonly></caption>
+
<tr class="template-infotable-head">
{{#ogpdescription:{{PAGENAME}} at PCGamingWiki - bugs, fixes, crashes, mods, guides and improvements for every PC game.}}
+
<th scope="col" style="width: 230px;">Technical specs</th>
{{#if: {{{cover|}}} |
+
<th scope="col" style="width: 120px;">Supported</th>
<tr>
+
<th scope="col" style="width: 470px;">Notes</th>
<td class="template-infobox-cover" colspan="2">[[File:{{#ogpimage:{{{cover}}}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} cover]]</td>
+
</tr>
 +
 
 +
{{#if: {{{direct3d versions|}}} |
 +
<tr class="template-infotable-body">
 +
<th scope="row">Direct3D</th>
 +
<td>{{#arraymaptemplate:{{{direct3d version}}}|Version|,|}}</td>
 +
<td>{{{direct3d notes|}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{directdraw versions|}}} |
 +
<tr class="template-infotable-body">
 +
<th scope="row">DirectDraw</th>
 +
<td>{{#ifeq: {{lc:{{{directdraw versions|unknown}}}}} | unknown | Unknown | {{{directdraw versions|}}} }}</td>
 +
<td>{{{directdraw notes|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
 
+
{{#if: {{{opengl versions|}}} |
{{#if: {{{developers|}}} |
+
<tr class="template-infotable-body">
<tr>
+
<th scope="row">OpenGL</th>
<th class="template-infobox-header" colspan="2">Developers</th>
+
<td>{{#ifeq: {{lc:{{{opengl versions|unknown}}}}} | unknown | Unknown | {{{opengl versions|}}} }}</td>
 +
<td>{{{opengl notes|}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{glide versions|}}} |
 +
<tr class="template-infotable-body">
 +
<th scope="row">Glide</th>
 +
<td>{{#ifeq: {{lc:{{{glide versions|unknown}}}}} | unknown | Unknown | {{{glide versions|}}} }}</td>
 +
<td>{{{glide notes|}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{software mode|}}} |
 +
{{#ifeq: {{lc:{{{software mode|}}}}} | false ||
 +
{{#ifeq: {{lc:{{{software mode|}}}}} | unknown ||
 +
<tr class="template-infotable-body">
 +
<th scope="row">Software renderer</th>
 +
<td>{{Tickcross|{{{software mode|unknown}}}|Software renderer}}</td>
 +
<td>{{{software mode notes|}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
}}
 +
{{#if: {{{mantle support|}}} |
 +
{{#ifeq: {{lc:{{{mantle support|}}}}} | false ||
 +
{{#ifeq: {{lc:{{{mantle support|}}}}} | unknown ||
 +
<tr class="template-infotable-body">
 +
<th scope="row"><abbr title="Only supported on compatible AMD video cards">Mantle support</abbr></th>
 +
<td>{{Tickcross|{{{mantle support|unknown}}}|Mantle support}}</td>
 +
<td>{{{mantle support notes|}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
}}
 +
{{#if: {{{metal support|}}} |
 +
{{#ifeq: {{lc:{{{metal support|}}}}} | false ||
 +
{{#ifeq: {{lc:{{{metal support|}}}}} | unknown ||
 +
<tr class="template-infotable-body">
 +
<th scope="row"><abbr title="Only supported on macOS (OS X)">Metal support</abbr></th>
 +
<td>{{Tickcross|{{{metal support|unknown}}}|Metal support}}</td>
 +
<td>{{{metal support notes|}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
}}
 +
{{#if: {{{vulkan support|}}} |
 +
{{#ifeq: {{lc:{{{vulkan support|}}}}} | false ||
 +
{{#ifeq: {{lc:{{{vulkan support|}}}}} | unknown ||
 +
<tr class="template-infotable-body">
 +
<th scope="row">Vulkan support</th>
 +
<td>{{Tickcross|{{{vulkan support|unknown}}}|Vulkan support}}</td>
 +
<td>{{{vulkan support notes|}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
}}
 +
{{#if: {{{dos modes|}}} |
 +
<tr class="template-infotable-body">
 +
<th scope="row"><abbr title="Only applies to DOS version or DOSBox">DOS video modes</abbr></th>
 +
<td>{{{dos modes|unknown}}}</td>
 +
<td>{{{dos modes notes|}}}</td>
 
</tr>
 
</tr>
{{{developers}}}|<includeonly>[[Category:Invalid template usage (infobox game)]]</includeonly>
 
 
}}
 
}}
<!-- Release dates -->
+
{{#if: {{{shader model versions|}}} |
{{#if: {{{release dates|}}}|
+
<tr class="template-infotable-body">
<tr>
+
<th scope="row">Shader Model support</th>
<th class="template-infobox-header" colspan="2">Release dates</th>
+
<td>{{{shader model versions|unknown}}}</td>
 +
<td>{{{shader model notes|}}}</td>
 
</tr>
 
</tr>
{{{release dates|}}}|<includeonly>[[Category:Pages with no release dates]]</includeonly>
 
 
}}
 
}}
<!-- Icons -->
+
<tr class="template-infotable-body">
{{#if: {{{wikipedia|}}}|
+
<th scope="row"><abbr title="Compiled for 64-bit">64-bit executable</abbr></th>
<tr>
+
<td>{{Tickcross|{{{64-bit executable|unknown}}}|64-bit executable}}</td>
<td class="template-infobox-icons" colspan="2"><!--
+
<td>{{{64-bit executable notes|}}}</td>
-->{{#if: {{{winehq|}}} | <div title="{{PAGENAME}} at WineHQ" class="plainlinks template-infobox-icon svg-icon infobox-winehq">[https://appdb.winehq.org/objectManager.php?sClass=application&iId={{{winehq}}} &nbsp;]</div>}}<!--
 
-->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon infobox-wikipedia">[[File:Icon overlay.png|link=Wikipedia:{{{wikipedia}}}|{{PAGENAME}} at Wikipedia]]</div> }}</td>
 
 
</tr>
 
</tr>
}}<!-- Hidden properties
+
</table></div></includeonly><noinclude>{{Documentation}}</noinclude>
-->{{#if: {{{winehq|}}}| [[WineHQ AppID::{{{winehq}}}| ]] }}<!--
 
-->{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}<!--
 
--></table>
 

Revision as of 17:21, 25 August 2017

Documentation for the above template (sometimes hidden from view).