Difference between revisions of "Development:Infobox game/row/date"
From PCGamingWiki, the wiki about fixing PC games
Line 5: | Line 5: | ||
|Mac OS = Mac OS (Classic) | |Mac OS = Mac OS (Classic) | ||
|#Default = {{{1}}} | |#Default = {{{1}}} | ||
− | }}{{#if:{{{wrapper|}}}| | + | }}{{#if:{{{wrapper|}}}| {{#switch:{{{1|}}} |
|Windows 3.x={{#ifeq:{{{wrapper|}}}|Win32s|([[Windows 3.x#Win32s|Win32s]]){{#vardefine:current wrapper|Win32s}}[[Wrapper::Win32s| ]]|[[Category:Invalid template usage (infobox game)]]<div title="Error: wrapper '{{{wrapper|}}}' not supported for this operating system" class="svg-icon svg-25 tickcross-error"></div>}} | |Windows 3.x={{#ifeq:{{{wrapper|}}}|Win32s|([[Windows 3.x#Win32s|Win32s]]){{#vardefine:current wrapper|Win32s}}[[Wrapper::Win32s| ]]|[[Category:Invalid template usage (infobox game)]]<div title="Error: wrapper '{{{wrapper|}}}' not supported for this operating system" class="svg-icon svg-25 tickcross-error"></div>}} | ||
|Windows | |Windows | ||
Line 23: | Line 23: | ||
}} | }} | ||
|#Default = [[Category:Invalid template usage (infobox game)]]<div title="Error: wrapper '{{{wrapper|}}}' not supported for this operating system" class="svg-icon svg-25 tickcross-error"></div> | |#Default = [[Category:Invalid template usage (infobox game)]]<div title="Error: wrapper '{{{wrapper|}}}' not supported for this operating system" class="svg-icon svg-25 tickcross-error"></div> | ||
− | }}|{{#switch:{{{1|}}} | + | }}{{#vardefine:wrapper|{{#if:{{#var:wrapper}}|{{#var:wrapper}},{{#var:current wrapper}}|{{#var:current wrapper}}}}}}{{#vardefine:{{{1|}}} wrapper|{{#if:{{#var:{{{1|}}} wrapper}}|{{#var:{{{1|}}} wrapper}},{{#var:current wrapper}}|{{#var:current wrapper}}}}}}{{#vardefine:current wrapper|}}|{{#switch:{{{1|}}} |
|Windows 3.x | |Windows 3.x | ||
|Windows | |Windows | ||
Line 33: | Line 33: | ||
|#Default = {{#vardefine:{{{1|}}} native|true}} | |#Default = {{#vardefine:{{{1|}}} native|true}} | ||
}} | }} | ||
− | }} | + | }}}}</td> |
<td class="template-infobox-info"><!-- | <td class="template-infobox-info"><!-- | ||
-->{{#switch:{{{1|}}} | -->{{#switch:{{{1|}}} | ||
Line 56: | Line 56: | ||
{{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]] }} | {{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]] }} | ||
|#Default = This value is not permitted. [[Category:Invalid template usage (infobox game)]] | |#Default = This value is not permitted. [[Category:Invalid template usage (infobox game)]] | ||
− | }}{{{ref|}}}{{#switch:{{{2|}}}|Canceled|Cancelled= {{#vardefine:{{{1}}} cancelled|true}} <!-- Don't set OS variable at all for cancelled releases --> |#Default={{#vardefine:{{{1}}}|true}}}}{{#ifeq: {{{2|}}} | ? | [[Category:Pages with no release dates]] | {{#ifeq: {{{2|}}} | | {{#ifeq: {{NAMESPACE}} | |[[Category:Pages with no release dates]]}}}} }}</td>{{#if: {{{3|}}}{{{port|}}}|[[Category:Invalid template usage (infobox game)]]}} | + | }}{{{ref|}}}{{#switch:{{{2|}}}|Canceled|Cancelled= {{#vardefine:{{{1}}} cancelled|true}} <!-- Don't set OS variable at all for cancelled releases --> |#Default={{#vardefine:{{{1}}}|true}}}}{{#ifeq: {{{2|}}} | ? | [[Category:Pages with no release dates]] | {{#ifeq: {{{2|}}} | | {{#ifeq: {{NAMESPACE}} | |[[Category:Pages with no release dates]]}}}} }}</td>{{#if: {{{3|}}}{{{port|}}}|[[Category:Invalid template usage (infobox game)]]}}</includeonly><noinclude>{{Documentation}}</noinclude> |
− | |||
− | |||
− | </includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 00:12, 25 September 2021
Documentation for the above template (sometimes hidden from view).
Visit Development:Infobox game/row/date/Documentation to edit this text. (How does this work?)