×
Create a new article
Write your page title here:
We currently have 3,104 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,104Articles

Template:SoundtrackTable/2kki: Difference between revisions

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

Documentation (for the above template, sometimes hidden or invisible)

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 of param/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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ID Range1

Start and end IDs separated by a dash

Example
0001-0025
Linerequired
Changeschanges

Used to change cells in auto-generated rows

Example
name/0767 C=delta_song_1


notes/0010=Translates to "sand".
Stringoptional
Extra Tracksextras

Used to add additional rows

Example
{{SoundtrackEntry|id=0003 E|name=PC_音源差し替え|speed=100|location=[[Yume 2kki:Endings#Ending ---|Ending ---]]|file=PC_音源差し替え.ogg|notes=Translates to "PC_Sound Replacement".}}
Contentoptional