No edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
}} | }} | ||
{{#invoke:SoundtrackTable|overrides|{{{changes|}}}}} | {{#invoke:SoundtrackTable|overrides|{{{changes|}}}}} | ||
}}</includeonly> | }}</includeonly><noinclude>{{Documentation}}</noinclude> | ||
<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 20:34, 2 August 2024
Description
This template is used to auto-generate the Soundtrack pages for Yume 2kki based on the contents of location pages.
Usage
The first parameter specifies the range of a table. It should follow the format xxxx-yyyy
, where xxxx and yyyy are numbers zero-padded to length 4. For example, {{SoundtrackTable/2kki|0226-0250}}
would generate a table with IDs from 0226 to 0250, both inclusive.
To modify the table, you have two options.
- The
changes
parameter can be used to change values in existing cells. The value of parameter consists of several lines, each in the format ofparam/id=value
. For example,name/0767 C=delta_song_1
would change the "Track Name" column of a track with the ID of 0767C to "delta_song_1".
You can also omit the letter to assign the value to the cells of all tracks whose ID start with the specified number. For example,notes/0010=Translates to "sand".
changes the notes for all tracks from 0010A throughout 0010G. - The
extras
parameter can be used to add rows for tracks the template wasn't able to detect. The value should consist of SoundtrackEntry templates with the following syntax:
{{SoundtrackEntry |id=0003 E |name=PC_音源差し替え |speed=100 |location=[[Yume 2kki:Endings#Ending ---|Ending ---]] |file=PC_音源差し替え.ogg |notes=Translates to "PC_Sound Replacement". }}
The example above adds a row to the table which would look like this:
No. | TRACK NAME | SPEED | LOCATION/EVENT | LISTEN | NOTES |
0003 E | PC_音源差し替え | 100% | Ending --- | Listen | Translates to "PC_Sound Replacement". |
Entries are automatically sorted by ID, so additional entries can be specified in any order.
Parameters
Auto-updating Soundtrack table for Yume 2kki
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID Range | 1 | Start and end IDs separated by a dash
| Line | required |
Changes | changes | Used to change cells in auto-generated rows
| String | optional |
Extra Tracks | extras | Used to add additional rows
| Content | optional |