Difference between revisions of "Template:Infobox game/row/date"
From PCGamingWiki, the wiki about fixing PC games
(added namespace check for missing date category) |
(added separate available on (OS) properties) |
||
Line 8: | Line 8: | ||
<td class="template-infobox-info"><!-- | <td class="template-infobox-info"><!-- | ||
-->{{#switch:{{{1|}}} | -->{{#switch:{{{1|}}} | ||
− | |Booter = {{Date|{{{2}}}|mdy}} [[Category:PC booter]][[Available on::PC booter| ]][[Release date PC booter::{{{2}}}| ]] [[Release date::{{{2}}}| ]] | + | |Booter = {{Date|{{{2}}}|mdy}} [[Category:PC booter]][[Available on::PC booter| ]][[Available on PC booter::true| ]][[Release date PC booter::{{{2}}}| ]] [[Release date::{{{2}}}| ]] |
|DOS | |DOS | ||
|Windows | |Windows | ||
|OS X | |OS X | ||
|Linux | |Linux | ||
− | |Mac OS = {{#ifeq: {{{2|}}} | TBA | TBA {{#ifeq: {{{3}}} | yes |[[Available on::{{{1}}}| ]] }} | {{#ifeq: {{{2|}}} | EA | Early access [[Available on::{{{1}}}| ]] | {{Date|{{{2}}}|mdy}} [[Release date {{{1}}}::{{{2}}}| ]] [[Release date::{{{2}}}| ]] [[Available on::{{{1}}}| ]] }} }} {{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]] }} | + | |Mac OS = {{#ifeq: {{{2|}}} | TBA | TBA {{#ifeq: {{{3}}} | yes |[[Available on::{{{1}}}| ]] }} | {{#ifeq: {{{2|}}} | EA | Early access [[Available on::{{{1}}}| ]] | {{Date|{{{2}}}|mdy}} [[Release date {{{1}}}::{{{2}}}| ]] [[Release date::{{{2}}}| ]] [[Available on::{{{1}}}| ]] }} }} {{#ifeq: {{NAMESPACE}} | | [[Category:{{{1}}}]] }}[[Available on {{{1}}}::true| ]] |
|#Default = This value is not permitted. <includeonly>[[Category:Invalid template usage]]</includeonly> | |#Default = This value is not permitted. <includeonly>[[Category:Invalid template usage]]</includeonly> | ||
}}{{{ref|}}}<includeonly>{{#ifeq: {{{2|}}} | ? | [[Category:Pages with no release dates]] | {{#ifeq: {{{2|}}} | | {{#ifeq: {{NAMESPACE}} | |[[Category:Pages with no release dates]]}}}} }}</td></includeonly> | }}{{{ref|}}}<includeonly>{{#ifeq: {{{2|}}} | ? | [[Category:Pages with no release dates]] | {{#ifeq: {{{2|}}} | | {{#ifeq: {{NAMESPACE}} | |[[Category:Pages with no release dates]]}}}} }}</td></includeonly> |
Revision as of 22:19, 20 February 2018
{{{1}}} This value is not permitted.