Aller au contenu

Module:Soundtrack/data

De Wiki Undertale FR

Additional data for soundtrack and album articles.

Documentation

Package items

soundtrack_data.authors (member; table)
Mapping of author names to article names.
soundtrack_data.platforms (member; table)
Information on how to map platform-specific track and album IDs to display icons linking to tracks.
--- Additional data for soundtrack and album articles.
--  @file               {table} soundtrack_data

--- Mapping of author names to article names.
--  @property           {table} soundtrack_data.authors

--- Information on how to map platform-specific track and album IDs to display
--  icons linking to tracks.
--  @property           {table} soundtrack_data.platforms

return {
	authors = {
		["Toby Fox"] = "Toby Fox",
		['Marcy Nabors'] = 'dr:Marcy Nabors',
		-- ['Carlos "insaneintherain" Eiene'] = '',
		['Camellia'] = 'wikipedia:Camellia (musicien)',
	},
	platforms = {
		apple = {
			track = 'https://music.apple.com/song/',
			album = 'https://music.apple.com/album/',
			icon = 'Apple Music logo icon.svg',
			title = 'Apple Music'
		},
		deezer = {
			track = 'https://www.deezer.com/track/',
			album = 'https://www.deezer.com/album/',
			icon = 'Deezer logo icon.svg',
			title = 'Deezer'
		},
		qobuz = {
			track = "https://open.qobuz.com/track/",
			album = "https://open.qobuz.com/album/",
			icon = "Qobuz logo.png",
			title = "Qobuz"
		},
		spotify = {
			track = 'https://open.spotify.com/track/',
			album = 'https://open.spotify.com/album/',
			icon = 'Spotify logo.svg',
			title = 'Spotify'
		},
		tidal = {
			track = 'https://tidal.com/track/',
			album = 'https://tidal.com/album/',
			icon = 'Tidal logo.svg',
			title = 'Tidal'
		},
    	youtube = {
			track = 'https://music.youtube.com/watch?v=',
			album = 'https://music.youtube.com/playlist?list=',
			icon = 'YouTube Music logo.svg',
			title = 'YouTube Music'
		}
	}
}