Jump to content
Toggle menu
  • 6 articles
  • 30 files
  • 6 users
  • 298 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
Link each Release platform name to its wiki page; display-only change
Move native Community Rating into Game information table
 
(7 intermediate revisions by the same user not shown)
Line 54: 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 65: 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>
Line 72: Line 74:
{{{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,CONCAT('[[',Platform,']]')=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 80: Line 83:
|default=No releases added yet.
|default=No releases added yet.
}}
}}
</div>
{{#switch:{{lc:{{{Languages|}}}}}
{{#switch:{{lc:{{{Languages|}}}}}
| =
| =
Line 94: 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 113: Line 119:
|default=
|default=
}}
}}
</div>
}}
}}


Line 120: Line 127:
{{{Sources}}}
{{{Sources}}}
}}
}}
<div class="aftermarket-game-references">
<h2>References</h2>
<references />
</div>
[[Category:Games]]
[[Category:Games]]
</includeonly>
</includeonly>

Latest revision as of 18:24, 21 October 2026

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