2017-06-04 00:00:44 +02:00
|
|
|
{{ define "main" }}
|
2017-06-04 01:19:19 +02:00
|
|
|
<h1>Game Compatibility List</h1>
|
|
|
|
<p>The Citra Emulator compatibility list contains all the games we tested, sorted by how well they work on the emulator.</p>
|
2017-06-04 19:57:52 +02:00
|
|
|
|
2017-06-04 20:06:33 +02:00
|
|
|
<table class="table table-striped table-bordered">
|
2017-06-04 01:19:19 +02:00
|
|
|
<tbody>
|
2017-06-04 20:12:44 +02:00
|
|
|
{{ range .Site.Data.compatibility }}
|
|
|
|
<tr>
|
2017-06-05 01:54:35 +02:00
|
|
|
<td style="width: 128px;"><div class="square-icon" style="background-color: {{ .color }}"></div> {{ .name }}</td>
|
2017-06-04 20:12:44 +02:00
|
|
|
<td>{{ .description }}</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
2017-06-04 01:19:19 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2017-06-04 19:57:52 +02:00
|
|
|
|
2017-06-04 20:12:44 +02:00
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<th>Title</th>
|
|
|
|
<th>Compatibility</th>
|
|
|
|
<th>Date Tested</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{ $paginator := .Paginate .Data.Pages 50 }}
|
|
|
|
{{ range $paginator.Pages }}
|
|
|
|
{{ $rating := index .Site.Data.compatibility ( string .Params.compatibility | default "0" ) }}
|
2017-06-04 00:00:44 +02:00
|
|
|
<tr>
|
2017-06-04 20:12:44 +02:00
|
|
|
<td><img class="img-responsive" src="{{ .Site.BaseURL }}images/game/icons/{{ default (print .File.BaseFileName ".png") }}" /></td>
|
|
|
|
<td><a href="{{ .Permalink }}">{{ .Params.title }}</a></td>
|
2017-06-05 01:54:35 +02:00
|
|
|
<td><div class="square-icon" style="background-color: {{ $rating.color }}"></div> {{ $rating.name }}</td>
|
2017-06-04 20:12:44 +02:00
|
|
|
<td>{{ dateFormat "January 2, 2006" .Params.tested_date }}</td>
|
2017-06-04 00:00:44 +02:00
|
|
|
</tr>
|
2017-06-04 20:12:44 +02:00
|
|
|
{{ end }}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2017-06-04 00:00:44 +02:00
|
|
|
|
2017-06-04 20:12:44 +02:00
|
|
|
{{ partial "pagination" . }}
|
2017-06-04 00:00:44 +02:00
|
|
|
{{ end }}
|