Template:Game: Difference between revisions

From Aftermarket Games
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Game template for Aftermarket Games.
Game template for Aftermarket Games.
Line 7: Line 5:
|Genre=String
|Genre=String
|Developer=String
|Developer=String
|OfficialWebsite=URL
|OriginalRelease=String
|OriginalRelease=String
|Status=String
|Status=String
Line 16: Line 15:
|Sources=Text
|Sources=Text
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>__NOTOC__
{{#cargo_store:_table=Games
{{#cargo_store:_table=Games
|Title={{{Title|{{PAGENAME}}}}}
|Title={{{Title|{{PAGENAME}}}}}
|Genre={{{Genre|Unknown}}}
|Genre={{{Genre|Unknown}}}
|Developer={{{Developer|Unknown}}}
|Developer={{{Developer|Unknown}}}
|OfficialWebsite={{{OfficialWebsite|}}}
|OriginalRelease={{{OriginalRelease|Unknown}}}
|OriginalRelease={{{OriginalRelease|Unknown}}}
|Status={{{Status|Unknown}}}
|Status={{{Status|Unknown}}}
Line 30: Line 30:
|Sources={{{Sources|}}}
|Sources={{{Sources|}}}
}}
}}
== Overview ==
<div class="aftermarket-game" style="display:flex;align-items:flex-start;gap:24px;flex-wrap:wrap;margin-top:0;">
{| class="wikitable"
<div style="flex:1 1 300px;max-width:450px;">
{| class="wikitable" style="width:100%;margin-top:0;"
! Genre
! Genre
| {{{Genre|Unknown}}}
| {{{Genre|Unknown}}}
|-
|-
! Developer
! Developer
| {{{Developer|Unknown}}}
| {{#if:{{{Developer|}}}|{{#queryformlink:form=DeveloperLookup|link text={{{Developer}}}|query string=DeveloperLookup[Name]={{{Developer}}}&_run}}|Unknown}}
 
{{#if:{{{OfficialWebsite|}}}|
{{!}}-
! Official Website
{{!}} [{{{OfficialWebsite}}} Visit Website]
}}
|-
|-
! Original Release
! Original Release
| {{{OriginalRelease|Unknown}}}
| {{{OriginalRelease|Unknown}}}
|-
! Platforms
| {{#cargo_query:
tables=Releases
|fields=GROUP_CONCAT(DISTINCT Platform SEPARATOR ', ')=Platforms
|where=Game='{{FULLPAGENAME}}'
|format=list
|no html
}}
|-
|-
! Status
! Status
| {{{Status|Unknown}}}
| {{{Status|Unknown}}}
|-
|-
! AI Used
! Reported AI Use
| {{{AIUsed|Unknown}}}
| {{{AIUsed|None}}}
|}
|}
== Description ==
</div>
{{{Description|No description added yet.}}}
{{#if:{{{Screenshot1|}}}|
== Platforms ==
<div style="flex:0 1 250px;line-height:0;">[[File:{{{Screenshot1}}}|frameless|250px]]</div>
{{{Platforms|None listed yet.}}}
}}
</div>
== About the Game ==
{{{Description|No information added yet.}}}
== Releases ==
== Releases ==
{{#cargo_query:
{{#cargo_query:
Line 60: Line 79:
|default=No releases added yet.
|default=No releases added yet.
}}
}}
 
{{#switch:{{lc:{{{Languages|}}}}}
== Languages ==
| =
{{{Languages|Not specified.}}}
| english =
 
| #default =
<h2>Languages</h2>
{{{Languages|}}}
}}
{{#ifexpr:
{{#cargo_query:
tables=GameMedia
|fields=COUNT(*)
|where=Game='{{FULLPAGENAME}}'
|no html
}} > 0
or {{#if:{{{Screenshot2|}}}{{{Screenshot3|}}}{{{Screenshot4|}}}|1|0}} = 1
|
== Media ==
== Media ==
{{#if:{{{Screenshot1|}}}{{{Screenshot2|}}}{{{Screenshot3|}}}{{{Screenshot4|}}}|
{{#if:{{{Screenshot1|}}}{{{Screenshot2|}}}{{{Screenshot3|}}}{{{Screenshot4|}}}|
<div style="display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:12px;max-width:452px;">
<div style="display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:12px;max-width:452px;">
{{#if:{{{Screenshot1|}}}|<div>[[File:{{{Screenshot1}}}|frameless|220px]]</div>}}
{{#if:{{{Screenshot2|}}}|<div>[[File:{{{Screenshot2}}}|frameless|220px]]</div>}}
{{#if:{{{Screenshot2|}}}|<div>[[File:{{{Screenshot2}}}|frameless|220px]]</div>}}
{{#if:{{{Screenshot3|}}}|<div>[[File:{{{Screenshot3}}}|frameless|220px]]</div>}}
{{#if:{{{Screenshot3|}}}|<div>[[File:{{{Screenshot3}}}|frameless|220px]]</div>}}
Line 73: Line 103:
</div>
</div>
}}
}}
{{#cargo_query:
{{#cargo_query:
tables=GameMedia
tables=GameMedia
Line 79: Line 110:
|order by=_rowID
|order by=_rowID
|format=table
|format=table
|default=No media added yet.
|default=
}}
}}
}}


== Sources ==
 
{{{Sources|None listed.}}}
{{#if:{{{Sources|}}}|
<h2>Sources</h2>
{{{Sources}}}
}}
[[Category:Games]]
</includeonly>
</includeonly>

Latest revision as of 06:16, 13 October 2026

Game template for Aftermarket Games. This template defines the table "Games". View table.