Jump to content
Toggle menu
  • 6 articles
  • 30 files
  • 6 users
  • 299 edits
Aftermarket Games
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Game: Difference between revisions

Template page
No edit summary
Add Community Reviews above Sources; preserve native rating row
 
(10 intermediate revisions by the same user not shown)
Line 30: Line 30:
|Sources={{{Sources|}}}
|Sources={{{Sources|}}}
}}
}}
<div class="aftermarket-game" style="display:flex;align-items:flex-start;gap:24px;flex-wrap:wrap;margin-top:0;">
<div class="aftermarket-game aftermarket-game-overview">
<div style="flex:1 1 300px;max-width:450px;">
{{#if:{{{Screenshot1|}}}|
<div class="aftermarket-game-photo">[[File:{{{Screenshot1}}}|frameless|500px]]</div>
}}
<div class="aftermarket-game-details">
{| class="wikitable" style="width:100%;margin-top:0;"
{| class="wikitable" style="width:100%;margin-top:0;"
! Genre
! Genre
Line 51: Line 54:
| {{#cargo_query:
| {{#cargo_query:
tables=Releases
tables=Releases
|fields=GROUP_CONCAT(DISTINCT Platform SEPARATOR ', ')=Platforms
|fields=GROUP_CONCAT(DISTINCT CONCAT('[[',Platform,']]') SEPARATOR ', ')=Platforms
|where=Game='{{FULLPAGENAME}}'
|where=Game='{{FULLPAGENAME}}'
|format=list
|format=list
|no html
}}
}}
|-
|-
Line 62: Line 64:
! Reported AI Use
! Reported AI Use
| {{{AIUsed|None}}}
| {{{AIUsed|None}}}
|-
! Community Rating
| <div class="agm-rating-inline">{{#ratepage:{{FULLPAGENAME}}||200}}<span class="agm-rating-empty">Not yet rated · 0 votes</span></div>
|}
|}
</div>
</div>
{{#if:{{{Screenshot1|}}}|
 
<div style="flex:0 1 250px;line-height:0;">[[File:{{{Screenshot1}}}|frameless|250px]]</div>
}}
</div>
</div>
== About the Game ==
== About the Game ==
{{{Description|No information added yet.}}}
{{{Description|No information added yet.}}}
== Releases ==
== Releases ==
<div class="aftermarket-releases" role="region" aria-label="Game releases" tabindex="0">
{{#cargo_query:
{{#cargo_query:
tables=Releases
tables=Releases
|fields=ReleaseName=Release,Platform,Publisher,Type,WhereToGetIt=Where to Get It
|fields=Type=Release,CONCAT('[[',Platform,']]')=Platform,CONCAT('{{PublisherLink{{!}}1=',Publisher,'}}')=Publisher,WhereToGetIt=Link
|where=Game='{{FULLPAGENAME}}'
|where=Game='{{FULLPAGENAME}}'
|order by=_rowID
|order by=_rowID
Line 79: Line 83:
|default=No releases added yet.
|default=No releases added yet.
}}
}}
</div>
{{#switch:{{lc:{{{Languages|}}}}}
{{#switch:{{lc:{{{Languages|}}}}}
| =
| =
Line 93: Line 98:
|no html
|no html
}} > 0
}} > 0
or {{#if:{{{Screenshot2|}}}{{{Screenshot3|}}}{{{Screenshot4|}}}|1|0}} = 1
or {{#if:{{{Screenshot2|}}}{{{Screenshot3|}}}{{{Screenshot4|}}}{{{Screenshot5|}}}|1|0}} = 1
|
|
== Media ==
== Media ==
{{#if:{{{Screenshot1|}}}{{{Screenshot2|}}}{{{Screenshot3|}}}{{{Screenshot4|}}}|
{{#if:{{{Screenshot1|}}}{{{Screenshot2|}}}{{{Screenshot3|}}}{{{Screenshot4|}}}{{{Screenshot5|}}}|
<div style="display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:12px;max-width:452px;">
<div class="aftermarket-media-pictures" role="region" aria-label="Game pictures" tabindex="0">
{{#if:{{{Screenshot2|}}}|<div>[[File:{{{Screenshot2}}}|frameless|220px]]</div>}}
{{#if:{{{Screenshot2|}}}|<div>[[File:{{{Screenshot2}}}|frameless|x180px]]</div>}}
{{#if:{{{Screenshot3|}}}|<div>[[File:{{{Screenshot3}}}|frameless|220px]]</div>}}
{{#if:{{{Screenshot3|}}}|<div>[[File:{{{Screenshot3}}}|frameless|x180px]]</div>}}
{{#if:{{{Screenshot4|}}}|<div>[[File:{{{Screenshot4}}}|frameless|220px]]</div>}}
{{#if:{{{Screenshot4|}}}|<div>[[File:{{{Screenshot4}}}|frameless|x180px]]</div>}}
{{#if:{{{Screenshot5|}}}|<div>[[File:{{{Screenshot5}}}|frameless|x180px]]</div>}}
</div>
</div>
}}
}}


<div class="aftermarket-media-table" role="region" aria-label="Game media links" tabindex="0">
{{#cargo_query:
{{#cargo_query:
tables=GameMedia
tables=GameMedia
Line 112: Line 119:
|default=
|default=
}}
}}
</div>
}}
}}


{{#communityreviews:}}


{{#if:{{{Sources|}}}|
{{#if:{{{Sources|}}}|
Line 119: Line 129:
{{{Sources}}}
{{{Sources}}}
}}
}}
<div class="aftermarket-game-references">
<h2>References</h2>
<references />
</div>
[[Category:Games]]
[[Category:Games]]
</includeonly>
</includeonly>

Latest revision as of 01:44, 23 October 2026

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