citra-web/site/themes/citra-bs-theme/layouts/game/single.html

70 lines
2.4 KiB
HTML

{{ define "main" }}
{{ $rating := index .Site.Data.compatibility ( string .Params.compatibility | default "0" ) }}
<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">
<img class="center-block img-responsive" style="height: 300px;" src="{{ .Site.BaseURL }}images/game/boxart/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
</div>
<div class="col-md-7">
<!-- Metadata information -->
<table class="table table-striped">
<tbody>
<tr>
<td>Status</td>
<td><b>{{ $rating.name }}</b><br />{{ $rating.description }}</td>
</tr>
<tr>
<td>Tested Date</td>
<td>{{ dateFormat "January 2, 2006" .Params.tested_date }}</td>
</tr>
<tr>
<td>Tested Version</td>
<td>{{ .Params.tested_version }}</td>
</tr>
<tr>
<td>Title IDs</td>
<td>
{{ range .Params.releases }}
{{ .title }} ({{ .region }}) <br />
{{ end }}
</td>
</tr>
<tr>
<td>System Files Required?</td>
<td>{{ if eq .Params.needs_system_files true }}Yes{{ else }}No{{ end }}</td>
</tr>
<tr>
<td>Shared Font Required?</td>
<td>{{ if eq .Params.needs_shared_font true }}Yes{{ else }}No{{ end }}</td>
</tr>
</tbody>
</table>
</div>
</div>
<p>{{ .Params.Description }}</p>
{{ .Content }}
{{ end }}