{% extends "packages/package_base.html" %} {% block title %} {{ _("Supported Games") }} {% endblock %} {% block content %} {{ _("Documentation") }}

{{ self.title() }}

This feature is experimental

{{ _("Package") }} {{ _("Source") }} {{ _("Supported?") }}
{% for support in package.getSortedSupportedGames(True) %}
{{ _("%(title)s by %(display_name)s", title=support.game.title, display_name=support.game.author.display_name) }} {% if support.confidence == 1 %} {{ _("Detected from dependencies") }} {% elif support.confidence == 11 %} {{ _("Added by Editor") }} {% elif support.confidence == 10 %} {{ _("mod.conf") }} {% else %} {{ support.confidence }} {% endif %} {% if support.supports %} Yes {% else %} No {% endif %}
{% else %}
{{ _("No specific game is required") }}
{% endfor %}
{% if mod_conf_lines %}

{{ _("Generated mod.conf lines") }}

{{ mod_conf_lines }}
{% endif %} {% if form %}

Options

{% from "macros/forms.html" import render_field, render_checkbox_field, render_submit_field %}
{{ form.hidden_tag() }} {{ render_checkbox_field(form.enable_support_detection, disabled=force_game_detection) }} {% if force_game_detection %}

{{ _("You need to manually define at least one supported game before you can turn this off.") }}

{% endif %} {% if package.checkPerm(current_user, "EDIT_PACKAGE") and current_user not in package.maintainers %}

{{ _("Editor Overrides") }}

{{ render_field(form.supported) }} {{ render_field(form.unsupported) }} {% endif %} {{ render_submit_field(form.submit, class_="mt-4 btn btn-primary") }}
{% endif %} {% endblock %}