2017-06-02 00:02:32 +02:00
|
|
|
{{ define "main" }}
|
2017-06-04 19:49:32 +02:00
|
|
|
{{ $BaseURL := .Site.BaseURL }}
|
2017-06-03 22:10:55 +02:00
|
|
|
{{ $gameName := .File.BaseFileName }}
|
2017-06-16 02:09:46 +02:00
|
|
|
{{- $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }}
|
2017-06-03 22:10:55 +02:00
|
|
|
|
2017-06-02 00:02:32 +02:00
|
|
|
<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>
|
2017-07-18 04:12:33 +02:00
|
|
|
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>
|
2017-06-02 00:02:32 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-07-18 04:12:33 +02:00
|
|
|
{{- 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">
|
2017-07-18 04:22:08 +02:00
|
|
|
<p>This page is considered <b>INCOMPLETE</b> due to any one of the following reasons:</p>
|
2017-07-18 04:12:33 +02:00
|
|
|
<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 }}
|
|
|
|
|
2017-06-02 00:02:32 +02:00
|
|
|
<h1>{{ .Title }}</h1>
|
2017-06-10 22:35:01 +02:00
|
|
|
<div class="row">
|
2017-06-02 00:02:32 +02:00
|
|
|
<div class="col-md-5">
|
2017-06-10 22:35:01 +02:00
|
|
|
<div class="boxart">
|
2017-08-30 04:16:03 +02:00
|
|
|
<img src="{{ .Site.BaseURL }}/images/game/boxart/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
|
2017-06-10 22:35:01 +02:00
|
|
|
</div>
|
2017-06-02 00:02:32 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-md-7">
|
2017-06-03 06:03:30 +02:00
|
|
|
<!-- Metadata information -->
|
2017-06-05 22:25:37 +02:00
|
|
|
<table class="table table-responsive table-striped table-bordered">
|
2017-06-02 00:02:32 +02:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
2017-06-06 22:11:29 +02:00
|
|
|
{{- $rating := index .Site.Data.compatibility .Params.compatibility }}
|
2017-06-10 22:35:01 +02:00
|
|
|
<td style="width: 120px;">Rating</td>
|
2017-06-05 01:54:35 +02:00
|
|
|
<td><b><div class="square-icon" style="background-color: {{ $rating.color }}"></div> {{ $rating.name }}</b><br />{{ $rating.description }}</td>
|
2017-06-02 00:02:32 +02:00
|
|
|
</tr>
|
2017-06-16 02:09:46 +02:00
|
|
|
<tr>
|
|
|
|
<td>Type</td>
|
|
|
|
<td>
|
2017-08-30 04:16:03 +02:00
|
|
|
<img src="{{ .Site.BaseURL }}/images/game/types/{{ $type.key }}.png" title="{{ $type.name }}" />
|
2017-06-16 02:09:46 +02:00
|
|
|
{{- if eq $type.key "3ds" }}
|
|
|
|
{{- else if eq $type.key "vc" }}
|
|
|
|
{{- $vcSystem := index .Site.Data.vcSystems .Params.vc_system }}
|
|
|
|
{{ $vcSystem.name }}
|
|
|
|
{{- else }}
|
|
|
|
{{ $type.name }}
|
|
|
|
{{ end }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2017-06-03 22:10:55 +02:00
|
|
|
<tr>
|
|
|
|
<td>Game Icon</td>
|
2017-08-30 04:16:03 +02:00
|
|
|
<td><img class="img-responsive" src="{{ .Site.BaseURL }}/images/game/icons/{{ .File.BaseFileName }}.png" /></td>
|
2017-06-03 22:10:55 +02:00
|
|
|
</tr>
|
2017-06-02 00:02:32 +02:00
|
|
|
<tr>
|
|
|
|
<td>Title IDs</td>
|
2017-06-03 06:03:30 +02:00
|
|
|
<td>
|
|
|
|
{{ range .Params.releases }}
|
2017-09-08 13:39:55 +02:00
|
|
|
<div><img src="{{ $BaseURL }}/images/regions/{{ .region }}.png" /> {{ .title }}</div>
|
2017-06-03 06:03:30 +02:00
|
|
|
{{ end }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>System Files Required?</td>
|
2017-06-03 23:27:58 +02:00
|
|
|
<td>{{ if eq .Params.needs_system_files true }}Yes{{ else if eq .Params.needs_system_files false }}No{{ else }}N/A{{ end }}</td>
|
2017-06-03 06:03:30 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Shared Font Required?</td>
|
2017-06-03 23:27:58 +02:00
|
|
|
<td>{{ if eq .Params.needs_shared_font true }}Yes{{ else if eq .Params.needs_shared_font false }}No{{ else }}N/A{{ end }}</td>
|
2017-06-02 00:02:32 +02:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-03 22:10:55 +02:00
|
|
|
|
|
|
|
<p>{{ .Params.Description }}</p>
|
2017-06-06 02:46:21 +02:00
|
|
|
|
2017-06-02 00:02:32 +02:00
|
|
|
{{ .Content }}
|
2017-06-03 22:10:55 +02:00
|
|
|
|
2017-06-03 22:48:15 +02:00
|
|
|
<!-- Compatibility -->
|
2017-06-06 02:46:21 +02:00
|
|
|
{{ if isset .Params "testcases" }}
|
2017-07-25 06:11:35 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<h2>Compatibility</h2>
|
|
|
|
<table class="table table-responsive table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Date</th>
|
|
|
|
<th>Tested By</th>
|
|
|
|
<th>Hardware</th>
|
|
|
|
<th>Citra Version</th>
|
|
|
|
<th>Rating</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{ $siteCompatibility := .Site.Data.compatibility }}
|
|
|
|
{{ range .Params.testcases }}
|
|
|
|
{{- $rating := index $siteCompatibility .compatibility }}
|
|
|
|
<tr>
|
|
|
|
<td>{{ dateFormat "January 2, 2006" .date }}</td>
|
|
|
|
<td><a href="https://community.citra-emu.org/u/{{ .author }}/summary">{{ .author }}</a></td>
|
|
|
|
<td>{{ .cpu }}<br />{{ .gpu }}<br />{{ .os }}</td>
|
|
|
|
<td>{{ .version }}</td>
|
|
|
|
<td><b><div class="square-icon" style="background-color: {{ $rating.color }}"></div> {{ $rating.name }}</b></td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-06 02:46:21 +02:00
|
|
|
{{ end }}
|
2017-06-03 22:48:15 +02:00
|
|
|
|
2017-06-07 09:32:12 +02:00
|
|
|
<!-- Github Issues -->
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<h2>Known Issues</h2>
|
2017-06-24 17:19:33 +02:00
|
|
|
{{- if gt (len .Params.issues) 0 }}
|
2017-06-07 09:32:12 +02:00
|
|
|
<table class="table table-responsive table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Title</th>
|
|
|
|
<th>Created</th>
|
|
|
|
<th>Last Updated</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{- range .Params.issues }}
|
|
|
|
<tr>
|
2017-06-16 02:59:22 +02:00
|
|
|
<td><a href="https://github.com/citra-emu/citra/issues/{{ .number }}">{{ .title }}</a></td>
|
2017-06-07 09:32:12 +02:00
|
|
|
<td>{{ dateFormat "January 2, 2006" .created_at }}</td>
|
|
|
|
<td>{{ dateFormat "January 2, 2006" .updated_at }}</td>
|
|
|
|
</tr>
|
|
|
|
{{- end }}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{{- else }}
|
|
|
|
<p>No issues have been reported for this game.</p>
|
|
|
|
{{- end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Savefiles -->
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<h2>Savefiles</h2>
|
|
|
|
{{ if (where (readDir "/static/savefiles") "Name" .File.BaseFileName) }}
|
|
|
|
<table class="table table-responsive table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Description</th>
|
|
|
|
<th>Uploaded By</th>
|
|
|
|
<th>Date</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{ range .Params.savefiles }}
|
2017-06-03 22:10:55 +02:00
|
|
|
<tr>
|
2017-06-07 09:32:12 +02:00
|
|
|
<td><a href="/savefiles/{{ $gameName }}/{{ .filename }}">{{ .title }}</a></td>
|
|
|
|
<td>{{ .description }}</td>
|
|
|
|
<td><a href="https://community.citra-emu.org/u/{{ .author }}/summary">{{ .author }}</a></td>
|
|
|
|
<td>{{ dateFormat "January 2, 2006" .date }}</td>
|
2017-06-03 22:10:55 +02:00
|
|
|
</tr>
|
2017-06-07 09:32:12 +02:00
|
|
|
{{ end }}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{{ else }}
|
|
|
|
<p>No savefiles have been uploaded for this game.</p>
|
|
|
|
{{ end }}
|
2017-06-03 22:10:55 +02:00
|
|
|
</div>
|
2017-06-07 09:32:12 +02:00
|
|
|
</div>
|
2017-06-03 22:10:55 +02:00
|
|
|
|
2017-06-07 09:32:12 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<h2>Screenshots</h2>
|
|
|
|
{{ if (where (readDir "/static/images/screenshots0") "Name" .File.BaseFileName) }}
|
2017-06-03 22:10:55 +02:00
|
|
|
{{ $files := readDir (printf "/static/images/screenshots0/%s/" .File.BaseFileName) }}
|
|
|
|
{{ range $index, $element := $files }}
|
|
|
|
<div class="popup-gallery col-lg-3 col-md-4 col-xs-6 thumb">
|
|
|
|
<a class="thumbnail" href="/images/screenshots0/{{ $gameName }}/{{ .Name }}">
|
|
|
|
<img class="img-responsive nearest-neighbor" src="/images/screenshots0/{{ $gameName }}/{{ .Name }}">
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2017-06-07 09:32:12 +02:00
|
|
|
{{ else }}
|
|
|
|
<p>No screenshots have been uploaded for this game.</p>
|
|
|
|
{{ end }}
|
2017-06-03 22:10:55 +02:00
|
|
|
</div>
|
2017-06-07 09:32:12 +02:00
|
|
|
</div>
|
2017-06-03 22:10:55 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "scripts" }}
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js" integrity="sha256-P93G0oq6PBPWTP1IR8Mz/0jHHUpaWL0aBJTKauisG7Q=" crossorigin="anonymous"></script>
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.min.css" integrity="sha256-PZLhE6wwMbg4AB3d35ZdBF9HD/dI/y4RazA3iRDurss=" crossorigin="anonymous" />
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
|
|
$('.popup-gallery').magnificPopup({
|
|
|
|
delegate: 'a',
|
|
|
|
type: 'image',
|
|
|
|
tLoading: 'Loading image #%curr%...',
|
|
|
|
mainClass: 'mfp-img-mobile',
|
|
|
|
gallery: {
|
|
|
|
enabled: true,
|
|
|
|
navigateByImgClick: true,
|
|
|
|
preload: [0, 1] // Will preload 0 - before current, and 1 after the current image
|
|
|
|
},
|
|
|
|
image: {
|
|
|
|
tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
|
|
|
|
titleSrc: function(item) {
|
|
|
|
return item.el.attr('title');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2017-06-02 00:02:32 +02:00
|
|
|
{{ end }}
|