Difference between revisions of "Template:Infobox game/row/date"
From AppleGamingWiki, the wiki about gaming on M1 Apple silicon Macs
m (removed empty space after date (hopefully)) |
m (fixed empty space maybe?) |
||
Line 17: | Line 17: | ||
|Canceled | |Canceled | ||
|Cancelled = {{Abbr|Cancelled|While previously announced, and possibly even available to the public in some form, the full release of this version has been cancelled.}} | |Cancelled = {{Abbr|Cancelled|While previously announced, and possibly even available to the public in some form, the full release of this version has been cancelled.}} | ||
− | |#Default = {{#iferror: {{Date|{{{2}}}|mdy}} [[Release date {{{1}}}::{{{2}}}| ]][[Release date::{{{2}}}| ]][[Available on::{{{1}}}| ]]{{#ifexpr: {{#time: Y|{{{2|}}}}}>=2016|{{#if:{{#var:Windows native}}{{#var:OS X native}}{{#var:Linux native}}|{{#vardefine:show HDR|true}}}}}} {{#ifexpr: {{#time: U | {{{2|}}} }} <= {{#time: U | now }} | {{#vardefine:released|true}} }} | {{{2|}}}}} | + | |#Default = {{#iferror: {{Date|{{{2}}}|mdy}} [[Release date {{{1}}}::{{{2}}}| ]][[Release date::{{{2}}}| ]][[Available on::{{{1}}}| ]]{{#ifexpr: {{#time: Y|{{{2|}}}}}>=2016|{{#if:{{#var:Windows native}}{{#var:OS X native}}{{#var:Linux native}}|{{#vardefine:show HDR|true}}}}}} {{#ifexpr: {{#time: U | {{{2|}}} }} <= {{#time: U | now }} | {{#vardefine:released|true}} }}|{{{2|}}}}} |
}}{{{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> | }}{{{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> |
Revision as of 18:00, 28 March 2021
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
<OS NAME>
- The first argument defines the OS the date is related to. Possible options include:macOS
iOS
iPadOS
tvOS
<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):
- macOS
- iOS
- iPadOS
- tvOS
- 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.
Visit Template:Infobox game/row/date/Documentation to edit this text. (How does this work?)