<commit_before>{{ define "main" }}
  {{ $BaseURL := .Site.BaseURL }}
  {{ $gameName := .File.BaseFileName }}
  {{- $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }}

  <div class="alert alert-info">
    <div class="row">
      <div class="col-md-2">
        <strong>Reminder!</strong>
      </div>
      <div class="col-md-10">
        <p>Citra is currently in very early stages of development. Games usually run less than full-speed even on the best computers. Expect bugs and glitches to appear in most games. Many features found in more mature emulators are still in the works.</p>
      </div>
    </div>
  </div>

  <div class="alert alert-warning">
    <div class="row">
      <div class="col-md-2">
        <strong>Read First!</strong>
      </div>
      <div class="col-md-10">
        The below game article is based on user submitted content.<br>
        See a mistake? Want to contribute? <a href="https://github.com/citra-emu/citra-games-wiki/wiki/{{ .File.BaseFileName }}/_edit/">Edit this game article on Github</a>
      </div>
    </div>
  </div>

	<h1>{{ .Title }}</h1>
  <div class="row">
    <div class="col-md-5">
      <div class="boxart">
        <img src="{{ .Site.BaseURL }}images/game/boxart/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
      </div>
    </div>
    <div class="col-md-7">
      <!-- Metadata information -->
      <table class="table table-responsive table-striped table-bordered">
        <tbody>
          <tr>
            {{- $rating := index .Site.Data.compatibility .Params.compatibility }}
            <td style="width: 120px;">Rating</td>
            <td><b><div class="square-icon" style="background-color: {{ $rating.color }}"></div> {{ $rating.name }}</b><br />{{ $rating.description }}</td>
          </tr>
          <tr>
            <td>Type</td>
            <td>
              <img src="{{ .Site.BaseURL }}images/game/types/{{ $type.key }}.png" title="{{ $type.name }}" />
              {{- if eq $type.key "3ds" }}
              {{- else if eq $type.key "vc" }}
                {{- $vcSystem := index .Site.Data.vcSystems .Params.vc_system }}
                {{ $vcSystem.name }}<commit_msg>Added incomplete field / alert box.<commit_after>{{ define "main" }}
  {{ $BaseURL := .Site.BaseURL }}
  {{ $gameName := .File.BaseFileName }}
  {{- $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }}

  <div class="alert alert-warning">
    <div class="row">
      <div class="col-md-2">
        <strong>Read First!</strong>
      </div>
      <div class="col-md-10">
        The below game article is based on user submitted content.<br>
        See a mistake? Want to contribute?
        <a href="https://github.com/citra-emu/citra-games-wiki/wiki/{{ .File.BaseFileName }}/_edit/">Edit this game article on Github</a>
      </div>
    </div>
  </div>

  {{- if eq .Params.incomplete true }}
    <div class="alert alert-danger">
      <div class="row">
        <div class="col-md-2">
          <strong>Notice</strong>
        </div>
        <div class="col-md-10">
          <p>This page is considered <u>INCOMPLETE</u> due to any one of the following reasons:</p>
          <ul>
            <li>Missing screenshots</li>
            <li>Missing/insufficient wiki article</li>
            <li>Unverified game compatibility rating</li>
          </ul>
          <p>The information below may not accurately represent your experience with Citra.</p>
          <p>Pages that are left incomplete may be subject for removal.</p>
        </div>
      </div>
    </div>
  {{ end }}

	<h1>{{ .Title }}</h1>
  <div class="row">
    <div class="col-md-5">
      <div class="boxart">
        <img src="{{ .Site.BaseURL }}images/game/boxart/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
      </div>
    </div>
    <div class="col-md-7">
      <!-- Metadata information -->
      <table class="table table-responsive table-striped table-bordered">
        <tbody>
          <tr>
            {{- $rating := index .Site.Data.compatibility .Params.compatibility }}
            <td style="width: 120px;">Rating</td>
            <td><b><div class="square-icon" style="background-color: {{ $rating.color }}"></div> {{ $rating.name }}</b><br />{{ $rating.description }}</td>
          </tr>
          <tr>
            <td>Type</td>
            <td>
              <img src="{{ .Site.BaseURL }}images/game/types/{{ $type.key }}.png" title="{{ $type.name }}" />
              {{- if eq $type.key "3ds" }}
              {{- else if eq $type.key "vc" }}
                {{- $vcSystem := index .Site.Data.vcSystems .Params.vc_system }}
                {{ $vcSystem.name }}
{'fraction_non_alphanumeric': 0.18430034129692832, 'fraction_numerical': 0.0063993174061433445, 'mean_word_length': 2.1789830508474575, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 123, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1785172', 'n_tokens_mistral': 1507, 'n_tokens_neox': 1462, 'n_words': 375}