Die Dokumentation für dieses Modul kann unter Modul:Radsportplatzierungen/config/Doku erstellt werden

--[=[ 2021-08-20
Konfiguration für Hauptmodul
]=]

return {
	-- color codes for ranks
	-- Grand Tours have specific victory colors dependent on the leader's jersey color at this time.
	-- The year values determine the first year in which this color has been used.
	-- Besides that, there are standard colors for every rank (gold, silver, bronze)
	ranks = {
		[1] = {
			["Tour"] = { 
				["1903"] = "#FFFF80" 
			},
			["Giro"] = {
				["1909"] = "#FFE5E5"
			},
			["Vuelta"] = {
				["1935"] = "#FFAA00",
				["1941"] = "#FFFFFF",
				["1942"] = "#FFAA00",
				["1946"] = "#FFFFFF",
				["1955"] = "#FFFF80",
				["1977"] = "#FFAA00",
				["1978"] = "#FFFF80",
				["1988"] = "#FFD700",
				["2010"] = "#FE2E2E"
			},
			general = "#FFD700"
		},
		[2] = {
			general = "#C0C0C0"
		},
		[3] = {
			general = "#CC9966"
		},
		topten = "#EEEEFF"
	},

	-- event configuration
	-- [event].link: (text) link target in first cell of the event's row, may be false for no link
	-- [event].text: (text) link text in first cell of the event's row
	-- [event].year: (text) link target prefix for yearly stagings, may be false for no link
	-- [event].pict: pictogram used in the first cell of the event's row, dependent on the last year in the table
	-- [event].pict[year].file: (text) file path
	-- [event].pict[year].link: (text) file link
	-- [event].pict[year].text: (text) link description
	events = {
		["Tour"] = { 
			link = "Tour de France",
			text = "Tour de France",
			mobi = "Tour",
			year = "Tour de France",
			pict = {
				["1903"] = {
					file = "Jersey yellow.svg",
					link = "Gelbes Trikot",
					text = "Gelbes Trikot"
				}
			}
		},
		["Giro"] = {
			link = "Giro d’Italia",
			text = "Giro d’Italia",
			mobi = "Giro",
			year = "Giro d’Italia",
			pict = {
				["1909"] = {
					file = "Jersey pink.svg",
					link = "Maglia Rosa",
					text = "Maglia Rosa"
				}
			}
		},
		["Vuelta"] = {
			link = "Vuelta a España",
			text = "Vuelta a España",
			mobi = "Vuelta",
			year = "Vuelta a España",
			pict = {
				["1935"] = {
					file = "Jersey orange.svg",
					link = "Vuelta a España#Wertungstrikots",
					text = "Oranges Trikot"
				},
				["1941"] = {
					file = "Jersey white.svg",
					link = "Vuelta a España#Wertungstrikots",
					text = "Weißes Trikot"
				},
				["1942"] = {
					file = "Jersey orange.svg",
					link = "Vuelta a España#Wertungstrikots",
					text = "Oranges Trikot"
				},
				["1946"] = {
					file = "Jersey red-striped.png",
					link = "Vuelta a España#Wertungstrikots",
					text = "Weißes Trikot mit orangenem Bruststreifen"
				},
				["1955"] = {
					file = "Jersey yellow.svg",
					link = "Vuelta a España#Wertungstrikots",
					text = "Gelbes Trikot"
				},
				["1977"] = {
					file = "Jersey orange.svg",
					link = "Vuelta a España#Wertungstrikots",
					text = "Oranges Trikot"
				},
				["1978"] = {
					file = "Jersey yellow.svg",
					link = "Vuelta a España#Wertungstrikots",
					text = "Gelbes Trikot"
				},
				["1988"] = {
					file = "Jersey gold.svg",
					link = "Vuelta a España#Wertungstrikots",
					text = "Goldenes Trikot"
				},
				["2010"] = {
					file = "Jersey red.svg",
					link = "Vuelta a España#Wertungstrikots",
					text = "Rotes Trikot"
				}
			}
		},
		["Mailand"] = {
			link = "Mailand–Sanremo",
			text = "Mailand–Sanremo",
			year = "Mailand–Sanremo"
		},
		["Flandern"] = {
			link = "Flandern-Rundfahrt",
			text = "Flandern-Rundfahrt",
			year = "Flandern-Rundfahrt"
		},
		["Paris"] = {
			link = "Paris–Roubaix",
			text = "Paris–Roubaix",
			year = "Paris–Roubaix"
		},
		["Lüttich"] = {
			link = "Lüttich–Bastogne–Lüttich",
			text = "Lüttich–Bastogne–Lüttich",
			year = "Lüttich–Bastogne–Lüttich"
		},
		["Lombardei"] = {
			link = "Lombardei-Rundfahrt",
			text = "Lombardei-Rundfahrt",
			year = "Lombardei-Rundfahrt"
		},
		["1er-Straße"] = {
			link = "Eintagesrennen",
			text = "Straßenrennen",
			mobi = "Straße",
			year = false
		},
		["EZF"] = {
			link = "Einzelzeitfahren",
			text = "Einzelzeitfahren",
			mobi = "EZF",
			year = false
		},
		["MZF"] = {
			link = "Mannschaftszeitfahren",
			text = "Mannschaftszeitfahren",
			mobi = "MZF",
			year = false
		}
	},

	-- legend texts
	legends = {
		["DNF"] = {
			["Grand-Tour"] = "'''DNF:''' ''did not finish'', aufgegeben oder wegen Zeitüberschreitung aus dem Rennen genommen. ",
			general = "'''DNF:''' ''did not finish'', aufgegeben oder wegen Zeitüberschreitung nicht klassifiziert. "
		},
		["DSQ"] = {
			general = "'''DSQ:''' Disqualifikation. "
		},
		["DNS"] = {
			general = "'''DNS:''' ''did not start'', gemeldet, aber nicht gestartet. "
		},
		["IP"] = {
			general = "'''IP:''' ''in progress'', nimmt aktuell teil. "
		}
	},

	-- other displayed texts etc. free for easy configuration.
	texts = {
		gtrUpleft		  = "[[Grand Tour (Radsport)|Grand Tour]]",
		gtrCaption		  = "Platzierungen bei Grand Tours",
		gtrMaintenanceCat = "[[Kategorie:Wikipedia:Grand-Tour-Platzierungstabelle]]",
		monUpleft		  = "[[Monumente des Radsports|Monument]]",
		monCaption        = "Platzierungen bei Monumenten des Radsports",
		wmsUpleft		  = "[[Straßenradsport-Weltmeisterschaften|Weltmeisterschaft]]",
		wmsCaption        = "Platzierungen bei Straßen-Weltmeisterschaften",
		templateStyles    = "Modul:Radsportplatzierungen/styles.css"
	}
}