Game Database: Difference between revisions

From Dea7hsmiles
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
   order by=game_title
   order by=game_title
}}
}}
<table>
  <tr>
    <th>Game</th>
    <th>Platform</th>
    <th>Release Year</th>
    <th>Developer</th>
    <th>Thumbnail</th>
    <th>Game Type</th>
  </tr>
  {{#cargo_query:
    table=Games
    fields=game_title, platform, release_year, developer, thumbnail, game_type
    order by=game_title
  }}
  <tr>
    <td>{{{game_title}}}</td>
    <td>{{{platform}}}</td>
    <td>{{{release_year}}}</td>
    <td>{{{developer}}}</td>
    <td><img src="{{{thumbnail}}}" alt="Thumbnail" style="width:100px;height:auto;"></td>
    <td>{{{game_type}}}</td>
  </tr>
</table>

Revision as of 02:12, 20 May 2025

Error: join conditions must be set for tables.