{{ define "sidebar" }} {{ $gameId := .File.BaseFileName }} {{ $rating := index .Site.Data.compatibility .Params.compatibility }}
{{ if (fileExists (print "static/images/game/boxart/" .File.BaseFileName ".png")) }} {{ else }} {{ end }}
Compatibility
{{ $rating.name }}
{{ $rating.description }}
Release(s)
{{ range .Params.releases }}
{{ .id }}
{{ end }}
{{ end }} {{ define "main" }} {{ $gameId := .File.BaseFileName }} {{ $wikiId := .Params.wiki_override | default $gameId }} {{ $rating := index .Site.Data.compatibility .Params.compatibility }}
{{- if eq .Params.incomplete true }}

This page is considered INCOMPLETE due to any one of the following reasons:

  • Missing screenshots
  • Missing/insufficient wiki article
  • Unverified game compatibility rating

The information below may not accurately represent your experience.

Pages that are left incomplete may be subject for removal. We encourage you to submit additional content.

{{ end }}
{{ if .Content }}

The below game entry is based on user submitted content.

See a mistake? Want to contribute? Edit this article on Github

{{ else }}

The below game entry is based on user submitted content.

See a mistake? Want to contribute? Edit this article on Github

{{ end }}

{{ .Params.title }}

{{ .Description }}

Summary

{{ if .Content }} {{ .Content }} {{ else }}

This game does not yet have a wiki article.

Please use the edit button up above to create one.

{{ end }} {{ if gt (len .Params.issues) 0 }}

Known Issues

{{ $githubUrl := .Site.Params.GithubURL }} {{ range .Params.issues }} {{ end }}
Title Created Last Updated
{{ .title }} {{ dateFormat "January 2, 2006" .created_at }} {{ dateFormat "January 2, 2006" .updated_at }}
{{ end }}

Compatibility

{{ if gt (len .Params.testcases) 0 }} {{ $siteCompatibility := .Site.Data.compatibility }} {{ range .Params.testcases }} {{- $rating := index $siteCompatibility .compatibility }} {{ end }}
Build Date Tested By Hardware Version Rating
{{ if isset . "buildDate" }} {{ dateFormat "01/2/2006" .buildDate }} {{ end }} {{ .author }} on {{ dateFormat "01/02/2006" .date }} {{ .cpu }}
{{ .gpu }}
{{ .os }}
{{ if isset . "buildName" }}{{ .buildName }} Build
{{ end }}{{ .version }}
{{ $rating.name}}
{{ else }}

This game is untested. Please play through this game and report your compatibility with this title.

{{ end }} {{ if eq .Params.title "The Legend of Zelda: Link's Awakening" }}

Game Mods

See our game modding article on how to apply patches.
Name Description
ZLA_Noblur_Mod.zip Disables blur and depth of field.
{{ end }} {{ if gt (len .Params.savefiles) 0 }}

Savefiles

{{ range .Params.savefiles }} {{ end }}
Name Description
{{ .title }} {{ .description }}
{{ end }} {{ $columns := 3 }} {{ if (where (readDir "/static/images/screenshots0") "Name" .File.BaseFileName) }}

Screenshots

{{ $files := readDir (printf "/static/images/screenshots0/%s/" .File.BaseFileName) }} {{ range $index, $element := $files }} {{ $fileTitle := (index (split .Name "-") 1) }} {{ $fileTitle := (index (split $fileTitle ".") 0) }} {{ if eq (mod $index $columns) (sub $columns 1) }}
{{ end }} {{ end }}
{{ end }}
{{ end }}