Added initial games module.
This commit is contained in:
parent
cbcf6b45e0
commit
fb5e5f11bb
8
site/data/compatibility.json
Normal file
8
site/data/compatibility.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"0": { "name": "Won't Boot", "description": "The game crashes when attempting to startup." },
|
||||
"1": { "name": "Garbage", "description": "Game is completely unplayable due to major graphical or audio glitches. Unable to progress past the Start Screen." },
|
||||
"2": { "name": "Bronze", "description": "Game functions with major graphical or audio glitches, unable to progress in specific areas due to glitches even with workarounds." },
|
||||
"3": { "name": "Silver", "description": "Game functions with major graphical or audio glitches, but game is playable from start to finish with workarounds." },
|
||||
"4": { "name": "Gold", "description": "Game functions with very minor graphical or audio glitches, game is playable from start to finish without any workarounds needed." },
|
||||
"5": { "name": "Platinum", "description": "Game functions flawless with no audio or graphical glitches, all tested functionality works as intended without any workarounds needed." }
|
||||
}
|
BIN
site/static/images/games/default.png
Normal file
BIN
site/static/images/games/default.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 637 B |
55
site/themes/citra-bs-theme/layouts/games/single.html
Normal file
55
site/themes/citra-bs-theme/layouts/games/single.html
Normal file
@ -0,0 +1,55 @@
|
||||
{{ 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/games/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<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>{{ delimit .Params.id ", " }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
Loading…
Reference in New Issue
Block a user