Difference between revisions of "Template:Infobox game/row/date"

From PCGamingWiki, the wiki about fixing PC games
m (added {{#vardefine:{{{1}}} cancelled|true}})
m (added <noinclude>{{Documentation}}</noinclude>)
 
Line 1: Line 1:
<tr>
+
<includeonly><tr>
 
<td class="template-infobox-type"><!--
 
<td class="template-infobox-type"><!--
 
-->{{#switch:{{{1|}}}
 
-->{{#switch:{{{1|}}}
Line 55: Line 55:
 
}}
 
}}
 
{{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]] }}
 
{{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]] }}
  |#Default = This value is not permitted. <includeonly>[[Category:Invalid template usage (infobox game)]]</includeonly>
+
  |#Default = This value is not permitted. [[Category:Invalid template usage (infobox game)]]
}}{{{ref|}}}<includeonly>{{#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>
+
}}{{{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>

Latest revision as of 16:48, 12 May 2020

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

{{Infobox game/row/date}} is used to list the release dates of different operating systems that the game was released for on PCs. Correctly using the property (that is, with the appropriate OS name) will result in the appropriate categories and rows being automatically placed on the page.

Arguments
  1. <OS NAME> - The first argument defines the OS the date is related to. Possible options include:
  2. <DATE> - The second argument should specify the date the game was released on the system in question.
    • The date must be in a valid format to be recognized ("21 February 2001", "February 21, 2001", "2001", "February 2001"), or a recognized special state such as "TBA", "EA", "Unknown", "Likely cancelled", or "Cancelled". See the notes further down for more information.
Syntax
{{Infobox game/row/date| <OS NAME> | <DATE> }}
Notes
  • Regional release dates should never be listed. Only ever list the relevant OS release date, always choosing the earliest it was made available in any region on that specific platform. Similarly, release dates for digital distribution services should also be ignored.
  • For release dates, list the earliest official platform release first (ex. if the game was released on OS X first, list the OS X release date at the top)
  • In the case that multiple releases share the same date, organize the dates in the following order (for all the platforms that apply):
    • PC booter
    • DOS
    • Windows 3.x
    • Windows
    • Mac OS
    • macOS/OS X
    • Linux
  • For games with unannounced release date, use TBA as the date. Only replace the date when the game has official release date.
  • For games in Early Access, use EA as the date. Only replace the date when the game has officially left Early Access.
  • For games that are still available to public via Early Access or public beta test, but remain incomplete and it is not known whether the game will ever be finished, use Unknown as the date.
  • For games that used to be available to public via Early Access or public beta test and are no longer available with no official announcement of their cancellation, use LC (Likely cancelled) as the date.
  • For games that used to be available in some form and were officially cancelled, use Cancelled as the date.