{% extends "layouts/app.twig" %} {% block content %}
{% if main_game.image_url %} {{ main_game.title }} {% else %}
{% endif %}

{{ main_game.title }}

{{ platform_versions|length }} platform{{ platform_versions|length > 1 ? 's' : '' }} {% if main_game.genre %} {{ main_game.genre }} {% endif %}
← Back to Games
{% for version in platform_versions %}

Game Information

{% if version.developer %}
Developer
{{ version.developer }}
{% endif %} {% if version.publisher %}
Publisher
{{ version.publisher }}
{% endif %} {% if version.release_date %}
Release Date
{{ version.release_date|date('M j, Y') }}
{% endif %}
Playtime
{{ version.playtime_minutes|format_duration }}
{% if version.rating %}
Rating
{{ version.rating }}/10
{% endif %} {% if version.completion_percentage > 0 %}
Completion
{{ version.completion_percentage }}%
{% endif %}

Platform Statistics

Source
{{ version.source_name }}
{% if version.last_played_at %}
Last Played
{{ version.last_played_at|date('M j, Y') }}
{% endif %} {% if version.is_installed %}
Status
Installed
{% endif %} {% if version.is_favorite %}
Favorite
Yes
{% endif %}
{% set metadata = version.metadata|json_decode %} {% if metadata %}

Platform Details

{% if metadata.appid %}
App ID
{{ metadata.appid }}
{% endif %} {% if metadata.playtime_windows or metadata.playtime_mac or metadata.playtime_linux %}
Platform Playtime
{% if metadata.playtime_windows %}Windows: {{ metadata.playtime_windows|format_duration }}{% endif %} {% if metadata.playtime_mac %}Mac: {{ metadata.playtime_mac|format_duration }}{% endif %} {% if metadata.playtime_linux %}Linux: {{ metadata.playtime_linux|format_duration }}{% endif %}
{% endif %}
{% endif %}
{% if version.description %}

Description

{{ version.description }}

{% endif %}
{% endfor %}
{% endblock %}