mirror of
https://github.com/marcriera/ddgo-controller-docs.git
synced 2025-04-30 05:37:06 +02:00
Data and layout improvements
This commit is contained in:
parent
68b3d702b1
commit
29dc5c1e56
14 changed files with 82 additions and 13 deletions
16
config.toml
16
config.toml
|
@ -11,7 +11,7 @@ collapsibleMenu = true
|
|||
disableLandingPageButton = true
|
||||
disableShortcutsTitle=true
|
||||
disableNextPrev = true
|
||||
custom_css = [ "css/custom.css", "css/compatibility.css" ]
|
||||
custom_css = [ "css/custom.css", "css/detail-pages.css" ]
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
|
@ -19,9 +19,17 @@ custom_css = [ "css/custom.css", "css/compatibility.css" ]
|
|||
unsafe = true
|
||||
|
||||
|
||||
[[menu.shortcuts]]
|
||||
name = "<i class='fas fa-fw fa-bullhorn'></i> Acknowledgements"
|
||||
url = "/acknowledgements"
|
||||
weight = 1
|
||||
|
||||
[[menu.shortcuts]]
|
||||
name = "<i class='fab fa-fw fa-github'></i> GitHub repo"
|
||||
identifier = "ds"
|
||||
url = "https://github.com/MarcRiera/ddgo-controller-docs"
|
||||
name = "<i class='fas fa-fw fa-bookmark'></i> References"
|
||||
url = "/references"
|
||||
weight = 1
|
||||
|
||||
[[menu.shortcuts]]
|
||||
name = "<i class='fab fa-fw fa-github'></i> GitHub repository"
|
||||
url = "https://github.com/MarcRiera/ddgo-controller-docs"
|
||||
weight = 3
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: "Acknowledgements"
|
||||
weight: 9
|
||||
_build:
|
||||
list: never
|
||||
---
|
||||
|
||||
- [GMMan](https://github.com/GMMan), who has provided the internal details of the DGOC-44U and has conducted extensive research on the Densha de GO! Plug and Play.
|
||||
|
|
|
@ -6,5 +6,3 @@ weight: 4
|
|||
The information in this section applies to the following controllers:
|
||||
|
||||
- **TCPP-20017:** Shinkansen controller
|
||||
|
||||
This controller is similar externally to the PlayStation 2 version of the Shinkansen controller. However, the screen has been replaced by a sticker and there is no pedal, so the only functioning parts are the handles, the buttons and the door lamp. In addition, instead of USB, it connects to a Wiimote using its extension port, like other accessories made for the console. No details are available regarding internal functioning.
|
||||
|
|
8
content/controllers/wii/tcpp20017/_index.md
Normal file
8
content/controllers/wii/tcpp20017/_index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: "Shinkansen controller"
|
||||
weight: 1
|
||||
---
|
||||
|
||||
{{% controller-page "tcpp20017" %}}
|
||||
|
||||
This controller is similar externally to the PlayStation 2 version of the Shinkansen controller. However, the screen has been replaced by a sticker and there is no pedal, so the only functioning parts are the handles, the buttons and the door lamp. In addition, instead of USB, it connects to a Wiimote using its extension port, like other accessories made for the console. No details are available regarding internal functioning.
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: "References"
|
||||
weight: 10
|
||||
_build:
|
||||
list: never
|
||||
---
|
||||
|
||||
- General information: <http://autotraintas.hariko.com>
|
||||
|
|
|
@ -86,6 +86,7 @@ tcpp20017:
|
|||
name: "Shinkansen controller (Nintendo Wii)"
|
||||
date: 2007-03-01
|
||||
code: "TCPP-20017"
|
||||
image: "tcpp20017.jpg"
|
||||
ref: "/controllers/wii/tcpp20017"
|
||||
|
||||
zkns001:
|
||||
|
|
|
@ -53,7 +53,8 @@ wii_shinkansen:
|
|||
namejp: "電車でGO!新幹線EX 山陽新幹線編"
|
||||
date: 2007-03-01
|
||||
code: "RVL-P-RG4J"
|
||||
cover: "wii_shinkansen.jpg"
|
||||
image: "wii_shinkansen.jpg"
|
||||
ref: "/software/wii/shinkansen"
|
||||
controllers:
|
||||
- model: tcpp20017
|
||||
|
||||
|
|
46
layouts/shortcodes/controller-page.html
Normal file
46
layouts/shortcodes/controller-page.html
Normal file
|
@ -0,0 +1,46 @@
|
|||
## Overview
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td rowspan="4" id="image">{{ if (index .Site.Data.controllers (.Get 0)).image}}<img src="/images/controllers/{{ (index .Site.Data.controllers (.Get 0)).image }}"/>{{ end }}</td>
|
||||
<td><strong>Name</strong></td>
|
||||
<td>{{ (index .Site.Data.controllers (.Get 0)).name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Release date</strong></td>
|
||||
<td>{{ (index .Site.Data.controllers (.Get 0)).date | time.Format ":date_long" }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Serial code</strong></td>
|
||||
<td>{{ (index .Site.Data.controllers (.Get 0)).code }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Notes</strong></td>
|
||||
<td>{{ (index .Site.Data.controllers (.Get 0)).notes }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## Supported software
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Software</th>
|
||||
<th>Support</th>
|
||||
<th>Notes</th>
|
||||
</tr>
|
||||
{{ range sort .Site.Data.software "name" }}
|
||||
{{ $software_name := .name }}
|
||||
{{ $software_ref := .ref }}
|
||||
{{ range .controllers }}
|
||||
{{ if eq .model ($.Get 0) }}
|
||||
<tr>
|
||||
<td><a href="{{ $software_ref }}">{{ $software_name }}</a></td>
|
||||
<td id="{{ if or .unofficial .partial }}partial{{ else }}native{{ end }}">{{ if .unofficial }}Unofficial{{ else if .partial }}Partial{{ else }}Native{{ end }}</td>
|
||||
<td>{{ .notes }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</table>
|
||||
|
||||
## Technical details
|
|
@ -1,8 +1,8 @@
|
|||
## Software details
|
||||
## Overview
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td rowspan="5">{{ if (index .Site.Data.software (.Get 0)).cover}}<img src="/images/covers/{{ (index .Site.Data.software (.Get 0)).cover }}"/>{{ end }}</td>
|
||||
<td rowspan="5" id="image">{{ if (index .Site.Data.software (.Get 0)).image}}<img src="/images/software/{{ (index .Site.Data.software (.Get 0)).image }}"/>{{ end }}</td>
|
||||
<td><strong>Name</strong></td>
|
||||
<td>{{ (index .Site.Data.software (.Get 0)).name }}</td>
|
||||
</tr>
|
||||
|
@ -44,7 +44,7 @@
|
|||
</tr>
|
||||
{{ range (index .Site.Data.software (.Get 0)).controllers }}
|
||||
<tr>
|
||||
<td>{{ (index $.Site.Data.controllers .model).name }}</td>
|
||||
<td><a href="{{ (index $.Site.Data.controllers .model).ref }}">{{ (index $.Site.Data.controllers .model).name }}</a></td>
|
||||
<td id="{{ if or .unofficial .partial }}partial{{ else }}native{{ end }}">{{ if .unofficial }}Unofficial{{ else if .partial }}Partial{{ else }}Native{{ end }}</td>
|
||||
<td>{{ .notes }}</td>
|
||||
</tr>
|
||||
|
|
|
@ -4,6 +4,5 @@
|
|||
|
||||
.flex-block-wrapper table {
|
||||
overflow-x: auto;
|
||||
white-space: wrap;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
table #image img {
|
||||
margin: 0;
|
||||
max-width: 190px;
|
||||
max-height: 190px;
|
||||
}
|
||||
|
||||
table #native {
|
||||
background-color: rgba(189,233,186,.35);
|
||||
}
|
BIN
static/images/controllers/tcpp20017.jpg
Normal file
BIN
static/images/controllers/tcpp20017.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
Binary file not shown.
Before Width: | Height: | Size: 30 KiB |
BIN
static/images/software/wii_shinkansen.jpg
Normal file
BIN
static/images/software/wii_shinkansen.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
Loading…
Add table
Add a link
Reference in a new issue