{% 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 %}
{{ metadata.playtime_windows|format_duration }}
{% endif %} {% if metadata.playtime_mac %}
{{ metadata.playtime_mac|format_duration }}
{% endif %} {% if metadata.playtime_linux %}
{{ metadata.playtime_linux|format_duration }}
{% endif %}
{% endif %}
{% endif %}
{% if version.description %}
Description

{{ version.description }}

{% endif %}
{% set playniteGenres = version.genres_json|json_decode %} {% if playniteGenres %}
Genres
{% for genre in playniteGenres %} {{ genre.Name }} {% endfor %}
{% endif %} {% set playniteTags = version.tags_json|json_decode %} {% if playniteTags %}
Tags
{% for tag in playniteTags|slice(0, 20) %} {{ tag.Name }} {% endfor %} {% if playniteTags|length > 20 %} +{{ playniteTags|length - 20 }} more {% endif %}
{% endif %} {% set playniteFeatures = version.features_json|json_decode %} {% if playniteFeatures %}
Features
{% for feature in playniteFeatures %} {{ feature.Name }} {% endfor %}
{% endif %} {% set playniteLinks = version.links_json|json_decode %} {% if playniteLinks %}
Links
{% for link in playniteLinks %} {% endfor %}
{% endif %} {% set playniteSeries = version.series_json|json_decode %} {% if playniteSeries %}
Series
{% for series in playniteSeries %} {{ series.Name }} {% endfor %}
{% endif %} {% set playniteAgeRatings = version.age_ratings_json|json_decode %} {% if playniteAgeRatings %}
Age Ratings
{% for ageRating in playniteAgeRatings %} {{ ageRating.Name }} {% endfor %}
{% endif %} {% if version.critic_score or version.community_score or version.user_score %}
Ratings
{% if version.critic_score %}
Critic Score
{{ version.critic_score }}%
{% endif %} {% if version.community_score %}
Community Score
{{ version.community_score }}%
{% endif %} {% if version.user_score %}
Your Score
{{ version.user_score }}%
{% endif %}
{% endif %} {% if version.play_count or version.install_size or version.completion_status %}
Playnite Statistics
{% if version.play_count %}
Play Count
{{ version.play_count }}
{% endif %} {% if version.install_size %}
Install Size
{{ (version.install_size / 1024 / 1024 / 1024)|round(1) }} GB
{% endif %} {% if version.completion_status %}
Completion
{{ version.completion_status }}
{% endif %}
{% endif %}
{% endfor %}
{% endblock %}