Template:Game: Difference between revisions
From Aftermarket Games
Created page with " <noinclude> This is the Game template for Aftermarket Games. {{#cargo_declare:_table=Games |Title=String |Developer=String |Publisher=String |Platform=String |AIUsed=String }} </noinclude><includeonly> {{#cargo_store:_table=Games |Title={{{Title|{{PAGENAME}}}}} |Developer={{{Developer|Unknown}}} |Publisher={{{Publisher|Unknown}}} |Platform={{{Platform|Unknown}}} |AIUsed={{{AIUsed|Unknown}}} }} {| class="wikitable" ! Title | {{{Title|{{PAGENAME}}}}} |- ! Developer | {{{D..." |
No edit summary |
||
| (29 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Game template for Aftermarket Games. | |||
{{#cargo_declare:_table=Games | {{#cargo_declare:_table=Games | ||
|Title=String | |Title=String | ||
|Genre=String | |||
|Developer=String | |Developer=String | ||
| | |OfficialWebsite=URL | ||
| | |OriginalRelease=String | ||
|AIUsed=String | |Status=String | ||
|AIUsed=List (;) of String | |||
|Description=Text | |||
|Platforms=List (;) of String | |||
|Languages=List (;) of String | |||
|Notes=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}}} | |||
|Developer={{{Developer|Unknown}}} | |Developer={{{Developer|Unknown}}} | ||
| | |OfficialWebsite={{{OfficialWebsite|}}} | ||
| | |OriginalRelease={{{OriginalRelease|Unknown}}} | ||
|Status={{{Status|Unknown}}} | |||
|AIUsed={{{AIUsed|Unknown}}} | |AIUsed={{{AIUsed|Unknown}}} | ||
|Description={{{Description|}}} | |||
|Platforms={{{Platforms|}}} | |||
|Languages={{{Languages|}}} | |||
|Notes={{{Notes|}}} | |||
|Sources={{{Sources|}}} | |||
}} | }} | ||
{| class="wikitable" | <div class="aftermarket-game" style="display:flex;align-items:flex-start;gap:24px;flex-wrap:wrap;margin-top:0;"> | ||
! | <div style="flex:1 1 300px;max-width:450px;"> | ||
| {{{ | {| class="wikitable" style="width:100%;margin-top:0;" | ||
! Genre | |||
| {{{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 | |||
| {{{OriginalRelease|Unknown}}} | |||
|- | |- | ||
! | ! Platforms | ||
| {{{ | | {{#cargo_query: | ||
tables=Releases | |||
|fields=GROUP_CONCAT(DISTINCT Platform SEPARATOR ', ')=Platforms | |||
|where=Game='{{FULLPAGENAME}}' | |||
|format=list | |||
|no html | |||
}} | |||
|- | |- | ||
! | ! Status | ||
| {{{ | | {{{Status|Unknown}}} | ||
|- | |- | ||
! AI | ! Reported AI Use | ||
| {{{AIUsed| | | {{{AIUsed|None}}} | ||
|} | |} | ||
</div> | |||
{{#if:{{{Screenshot1|}}}| | |||
<div style="flex:0 1 250px;line-height:0;">[[File:{{{Screenshot1}}}|frameless|250px]]</div> | |||
}} | |||
</div> | |||
== About the Game == | |||
{{{Description|No information added yet.}}} | |||
== Releases == | |||
{{#cargo_query: | |||
tables=Releases | |||
|fields=ReleaseName=Release,Platform,Publisher,Type,WhereToGetIt=Where to Get It | |||
|where=Game='{{FULLPAGENAME}}' | |||
|order by=_rowID | |||
|format=table | |||
|default=No releases added yet. | |||
}} | |||
{{#switch:{{lc:{{{Languages|}}}}} | |||
| = | |||
| 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 == | |||
{{#if:{{{Screenshot1|}}}{{{Screenshot2|}}}{{{Screenshot3|}}}{{{Screenshot4|}}}| | |||
<div style="display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:12px;max-width:452px;"> | |||
{{#if:{{{Screenshot2|}}}|<div>[[File:{{{Screenshot2}}}|frameless|220px]]</div>}} | |||
{{#if:{{{Screenshot3|}}}|<div>[[File:{{{Screenshot3}}}|frameless|220px]]</div>}} | |||
{{#if:{{{Screenshot4|}}}|<div>[[File:{{{Screenshot4}}}|frameless|220px]]</div>}} | |||
</div> | |||
}} | |||
{{#cargo_query: | |||
tables=GameMedia | |||
|fields=MediaTitle=Title,MediaType=Type,MediaURL=Link | |||
|where=Game='{{FULLPAGENAME}}' | |||
|order by=_rowID | |||
|format=table | |||
|default= | |||
}} | |||
}} | |||
{{#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.