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 "Template:API/switch DOS"

From PCGamingWiki, the wiki about fixing PC games
(added category and visual error for invalid usage)
(migrated from Semantic MediaWiki to Cargo)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}
 
|text
 
|text
|text mode = <abbr title="Output drawn by characters rather than pixels">Text</abbr>
+
|text mode = <abbr title="Output drawn by characters rather than pixels">Text</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},Text|Text}}}}
 
|hgc
 
|hgc
|hercules = <abbr title="Hercules Graphics Card (HGC)">Hercules</abbr>
+
|hercules = <abbr title="Hercules Graphics Card (HGC)">Hercules</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},Hercules|Hercules}}}}
|cga = <abbr title="Color Graphics Adapter">CGA</abbr>
+
|cga = <abbr title="Color Graphics Adapter">CGA</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},CGA|CGA}}}}
|mcga = <abbr title="Multi-Color Graphics Array">MCGA</abbr>
+
|cga composite = <abbr title="Color Graphics Adapter Composite">CGA Composite</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},CGA Composite|CGA Composite}}}}
|ega = <abbr title="Enhanced Graphics Adapter">EGA</abbr>
+
|mcga = <abbr title="Multi-Color Graphics Array">MCGA</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},MCGA|MCGA}}}}
 +
|vga/mcga
 +
|mcga/vga = <abbr title="Multi-Color Graphics Array/Video Graphics Array">MCGA/VGA</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},MCGA/VGA|MCGA/VGA}}}}
 +
|ega = <abbr title="Enhanced Graphics Adapter">EGA</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},EGA|EGA}}}}
 
|tga
 
|tga
|tandy = <abbr title="Tandy Graphics Adapter (TGA)">Tandy</abbr>
+
|tandy 16-color
|vga = <abbr title="Video Graphics Array">VGA</abbr>
+
|tandy 1000
 +
|tandy = <abbr title="Tandy Graphics Adapter (TGA)">Tandy</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},Tandy|Tandy}}}}
 +
|pcjr 16-color
 +
|pcjr = <abbr title="IBM PCjr">PCjr</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},PCjr|PCjr}}}}
 +
|tandy/pcjr = <abbr title="Tandy Graphics Adapter (TGA)/IBM PCjr">Tandy/PCjr</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},Tandy/PCjr|Tandy/PCjr}}}}
 +
|vga = <abbr title="Video Graphics Array">VGA</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},VGA|VGA}}}}
 
|super vga
 
|super vga
|svga = <abbr title="Super Video Graphics Array">SVGA</abbr>
+
|supervga
 +
|svga = <abbr title="Super Video Graphics Array">SVGA</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},SVGA|SVGA}}}}
 +
|vesa = <abbr title="Video Electronics Standards Association Super Video Graphics Array standard">SVGA (VESA)</abbr>{{#vardefine:DOS modes|{{#if:{{#var:DOS modes}}|{{#var:DOS modes}},VESA|VESA}}}}
 
|#Default = <div title="Error: '{{{1|}}}' not recognised" class="svg-icon svg-25 tickcross-error">[[Category:Invalid template usage (API)]]
 
|#Default = <div title="Error: '{{{1|}}}' not recognised" class="svg-icon svg-25 tickcross-error">[[Category:Invalid template usage (API)]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 23:59, 17 September 2021