Mòdul:Cartas/data
La documentacion d'utilizacion d'aquel modul se pòt crear a Mòdul:Cartas/data/ús
--[[
Données pour le module Chartes, contenant les couleurs (primaire, secondaire) en fonction du "type" d'infobox
--]]
-- les données
local data = {}
--[[
une table à double entrée :
index principal : le type d'infobox
dedans : indice 1 : couleur primaire
indice 2 : couleur secondaire
...
Notes :
1) Toutes les tables *doivent* avoir une valeur "défaut"
2) Il n'est pas possible d'avoir des accents. Si besoin utiliser la notation :
data["le nom avec espaces et accents"] = { … }
--]]
---------------------------------------- Autres modèles (hors Infobox) ----------------------------------------
-- Per lo Modèl:Títol seccion
data.titol = {
["defaut"] = { "C2DFFF" },
["default"] = "defaut", -- version en occitan
["black"] = { "2e3436" },
["blue"] = { "C2DFFF" },
["bright_red"] = { "ff0000" },
["bright red"] = "bright_red",
["dark_blue"] = { "000080" },
["dark blue"] = "dark_blue",
["dark_green"] = { "008000" },
["dark green"] = "dark_green",
["french_beige"] = { "c8ad7f" },
["french beige"] = "french_beige",
["green"] = { "b8ecbe" },
["grey"] = { "b0b0b0" },
["orange"] = { "ffc070" },
["pink"] = { "ff64e3" },
["purple"] = { "dbbce8" },
["red"] = { "ffc2c2" },
["yellow"] = { "faea73" },
}
---------------------------------------- Infobox ----------------------------------------
-- Pictogramas d'Infobox
data.pictograma = {
["defaut"] = { "defaut" },
["default"] = "defaut", -- version en occitan
["autre"] = "defaut",
["pluridisciplinari"] = "defaut",
["temporari"] = "defaut",
--
["abbé nullius"] = { "eveque", "eveque" },
["aerostat"] = { "aerostat", "aerostat" },
["aérostat"] = { "aerostat", "aerostat" },
["aikido"] = { "artsmartiauxjap", "artsmartiauxjap" },
["aïkido"] = { "artsmartiauxjap", "artsmartiauxjap" },
["alpinisme"] = { "alpinisme", "alpinisme" },
["alpinisme-escalade"] = { "alpinisme-escalade", "alpinisme-escalade" },
["aquathlon"] = { "triathlon", "triathlon" },
["arbitre"] = { "arbitre", "arbitre" },
["arc"] = { "arc", "arc" },
["archevêque"] = { "eveque", "eveque" },
["archives2"] = { "archives2", "archives2" },
["artiste"] = { "artiste", "artiste" },
["artsmartiauxjap"] = { "artsmartiauxjap", "artsmartiauxjap" },
["association"] = { "association", "association" },
["athletisme"] = { "athletisme", "athletisme" },
["athlétisme"] = { "athletisme", "athletisme" },
["audio"] = { "audio", "audio" },
["auteur"] = { "auteur", "auteur" },
["autogire"] = { "autogire", "autogire" },
["aviron"] = { "aviron", "aviron" },
["badminton"] = { "badminton", "badminton" },
["ballet"] = { "musica", "musica" },
["baseball"] = { "baseball", "baseball" },
["basket-ball"] = { "basket-ball", "basket-ball" },
["bd"] = { "bd", "bd" },
["biathlon"] = { "biathlon", "biathlon" },
["biere"] = { "biere", "biere" },
["bière"] = { "biere", "biere" },
["boxe"] = { "boxe", "boxe" },
["calendrier"] = { "calendrier", "calendrier" },
["canada"] = { "canada", "canada" },
["canoë-kayak"] = { "kayak", "kayak" },
["cardinal"] = { "cardinal", "cardinal" },
["catch"] = { "catch", "catch" },
["chateau"] = { "chateau", "chateau" },
["château"] = { "chateau", "chateau" },
["chimie"] = { "chimie", "chimie" },
["cinema"] = { "cinema", "cinema" },
["cinéma"] = { "cinema", "cinema" },
["classique"] = { "musica", "musica" },
["communication"] = { "communication", "communication" },
["cross triathlon"] = { "triathlon", "triathlon" },
["culturel"] = { "persofiction", "persofiction" },
["cyclisme"] = { "cyclisme", "cyclisme" },
["danse"] = { "musica", "musica" },
["deportation"] = { "deportation", "deportation" },
["déportation"] = { "deportation", "deportation" },
["diplomatie"] = { "diplomatie", "diplomatie" },
["disney"] = { "disney", "disney" },
["drone-civil"] = { "drone-civil", "drone-civil" },
["duathlon"] = { "triathlon", "triathlon" },
["egypte-antique"] = { "egypte-antique", "egypte-antique" },
["égypte-antique"] = { "egypte-antique", "egypte-antique" },
["électronique"] = { "musica", "musica" },
["entreprise"] = { "entreprise", "entreprise" },
["equitation"] = { "equitation", "equitation" },
["équitation"] = { "equitation", "equitation" },
["escalade"] = { "escalade", "escalade" },
["escrime"] = { "escrime", "escrime" },
["eveque"] = { "eveque", "eveque" },
["évêque"] = { "eveque", "eveque" },
["floorball"] = { "floorball", "floorball" },
["fondeur"] = { "fondeur", "fondeur" },
["football"] = { "football", "footballblack" },
["futsal"] = { "futsal", "futsal" },
["golf"] = { "golf", "golf" },
["grappe"] = { "grappe", "grappe" },
["gymnastique"] = { "gymnastique", "gymnastique" },
["handball"] = { "handball", "handballblack" },
["hospitaliers"] = { "hospitaliers", "hospitaliers" },
["helicoptere"] = { "helicoptere", "helicoptere" },
["hélicoptère"] = { "helicoptere", "helicoptere" },
["hockey"] = { "hockey", "hockey" },
["hockey sur gazon"] = { "hockey-sur-gazon", "hockey-sur-gazon" },
["hockey sur glace"] = { "hockey", "hockey" },
["hockey-sur-gazon"] = { "hockey-sur-gazon", "hockey-sur-gazon" },
["humain"] = { "humain", "humain" },
["informatique"] = { "informatique", "informatique" },
["instrumental"] = { "musica", "musica" },
["israel-judaisme"] = { "israel-judaisme", "israel-judaisme" },
["israël-judaïsme"] = { "israel-judaisme", "israel-judaisme" },
["jazz"] = { "musica", "musica" },
["jeu"] = { "jeu", "jeu" },
["jeu vidéo"] = { "jeuvideo", "jeuvideo" },
["jeu-role"] = { "jeu-role", "jeu-role" },
["jeu-rôle"] = { "jeu-role", "jeu-role" },
["jeuvideo"] = { "jeuvideo", "jeuvideo" },
["judo"] = { "judo", "judo" },
["karate"] = { "karate", "karate" },
["karaté"] = { "karate", "karate" },
["kayak"] = { "kayak", "kayak" },
["linguistique"] = { "auteur", "auteur" },
["littérature"] = { "auteur", "auteur" },
["lutte"] = { "lutte", "lutte" },
["luxembourg"] = { "luxembourg", "luxembourg" },
["lyrique"] = { "musica", "musica" },
["macintosh"] = { "macintosh", "macintosh" },
["map"] = { "map", "map" },
["medecine"] = { "medecine", "medecine" },
["médecine"] = { "medecine", "medecine" },
["mets"] = { "mets", "mets" },
["monde"] = { "musica", "musica" },
["montreal-metro"] = { "montreal-metro", "montreal-metro" },
["montreal-train"] = { "montreal-train", "montreal-train" },
["moteur-avion"] = { "moteur-avion", "moteur-avion" },
["musee"] = { "musee", "musee" },
["musée"] = { "musee", "musee" },
["musical"] = { "musica", "musica" },
["music-hall"] = { "musica", "musica" },
["musica"] = { "musica", "musica" },
["natation"] = { "natation", "natation" },
["oenologie"] = { "oenologie", "oenologie" },
["œnologie"] = { "oenologie", "oenologie" },
["omnisports"] = { "omnisports", "omnisports" },
["opéra"] = { "musica", "musica" },
["papyrus"] = { "papyrus", "papyrus" },
["paralympique"] = { "paralympique", "paralympique" },
["patriarche"] = { "eveque", "eveque" },
["persofiction"] = { "persofiction", "persofiction" },
["petrole"] = { "petrole", "petrole" },
["pétrole"] = { "petrole", "petrole" },
["ping pong"] = { "tennis-de-table", "tennis-de-tableblack" },
["pingpong"] = { "tennis-de-table", "tennis-de-tableblack" },
["planeur"] = { "planeur", "planeur" },
["plateforme"] = { "plateforme", "plateforme" },
["poker"] = { "poker", "poker" },
["presse"] = { "presse", "presse" },
["pretendant"] = { "pretendant", "pretendant" },
["prétendant"] = { "pretendant", "pretendant" },
["primat"] = { "eveque", "eveque" },
["projet"] = { "projet", "projet" },
["psychologie"] = { "psychologie", "psychologie" },
["quebec"] = { "quebec", "quebec" },
["québec"] = { "quebec", "quebec" },
["radio"] = { "communication", "communication" },
["recherche"] = { "recherche", "recherche" },
["rink hockey"] = { "rinkhockey", "rinkhockey" },
["rinkhockey"] = { "rinkhockey", "rinkhockey" },
["rock"] = { "musica", "musica" },
["rome-antique"] = { "rome-antique", "rome-antique" },
["route"] = { "route", "route" },
["rugby"] = { "rugby", "rugbyblack" },
["rugby à xiii"] = { "rugby", "rugbyblack" },
["rugby à xv"] = { "rugby", "rugbyblack" },
["sautski"] = { "sautski", "sautski" },
["science-fiction"] = { "science-fiction", "science-fiction" },
["ski-alpin"] = { "ski-alpin", "ski-alpin" },
["sport"] = { "sport", "sport" },
["snooker"] = { "snooker", "snooker" },
["sport automobile"] = { "sport-automobile", "sport-automobile" },
["sport mécanique"] = { "sport-automobile", "sport-automobile" },
["sport-automobile"] = { "sport-automobile", "sport-automobile" },
["squash"] = { "squash", "squash" },
["surf"] = { "surf", "surf" },
["television"] = { "television", "television" },
["télévision"] = { "television", "television" },
["templiers"] = { "templiers", "templiers" },
["tennis"] = { "tennis", "tennis" },
["tennis de table"] = { "tennis-de-table", "tennis-de-tableblack" },
["tennis-de-table"] = { "tennis-de-table", "tennis-de-tableblack" },
["teutoniques"] = { "teutoniques", "teutoniques" },
["théâtre"] = { "persofiction", "persofiction" },
["timbre"] = { "timbre", "timbre" },
["train"] = { "train", "train" },
["triathlon"] = { "triathlon", "triathlon" },
["ultimate"] = { "ultimate", "ultimate" },
["union-europeenne"] = { "union-europeenne", "union-europeenne" },
["union-européenne"] = { "union-europeenne", "union-europeenne" },
["universitat"] = { "universitat", "universitat" },
["universitat"] = { "universitat", "universitat" },
["video"] = { "video", "video" },
["vidéo"] = { "video", "video" },
["vocal"] = { "musica", "musica" },
["volleyball"] = { "volleyball", "volleyball" },
["volley-ball"] = { "volleyball", "volleyball" },
["water polo"] = { "water-polo", "water-polo" },
["water-polo"] = { "water-polo", "water-polo" },
["zénith"] = { "musica", "musica" },
}
-- Per l'infobox Malhum de transpòrt en comun
data.transport_en_comun = {
-- valors per defaut
["defaut"] = { "ADADAD", "EEEEFF", "000000" },
["default"] = "defaut",
-- Linha a granda vitessa
["linha a granda vitessa"] = { "B20000", "FF5555", "FFFFFF" },
["[[linha a granda vitessa]]"] = "linha a granda vitessa",
["lgv"] = "linha a granda vitessa",
["[[lgv]]"] = "linha a granda vitessa",
-- Transpòrt exprès regional
["transport expres regional"] = { "CC0000", "FF5555", "FFFFFF" },
["transpòrt exprès regional"] = "transport expres regional",
["train"] = "transport expres regional",
["ter"] = "transport expres regional",
["[[transpòrt exprès regional]]"] = "transport expres regional",
["[[train]]"] = "transport expres regional",
["[[ter]]"] = "transport expres regional",
-- Ret exprès regional
["ret expres regional"] = { "E60000", "FF5555", "FFFFFF" },
["[[ret exprès regional]]"] = "ret expres regional",
["rer"] = "ret expres regional",
["[[ret expres regional]]"] = "ret expres regional",
["[[rer]]"] = "ret exprès regional",
-- Metropolitan
["metropolitan"] = { "FF0000", "FF5555", "FFFFFF" },
["mètro"] = "metropolitan",
["metro"] = "metropolitan",
["[[metropolitan]]"] = "metropolitan",
["[[mètro]]"] = "metropolitan",
["[[metro]]"] = "metropolitan",
-- Mètro leugier
["metro leugier"] = { "CC7D29", "DEA76F", "000000" },
["mètro leugièr"] = "metro leugièr",
["[[mètro leugièr]]"] = "metro leugièr",
-- Tramvai
["tramvai"] = { "ABAB38", "CFCF70", "000000" },
["tram"] = "tramvai",
["[[tramvai]]"] = "tramvai",
["[[tram]]"] = "tramvai",
-- Tram-tren
["tram-tren"] = { "AB7338", "DEA76F", "FFFFFF" },
["[[tram-tren]]"] = "tram-tren",
-- Funicular
["funicular"] = { "CC7D29", "DEA76F", "000000" },
["[[funicular]]"] = "funicular",
-- Autobus
["autobus"] = { "7F7F3F", "B5B55A", "FFFFFF" },
["bus"] = "autobus",
["bus urban"] = "autobus",
["[[autobús]]"] = "autobus",
["[[bús]]"] = "autobus",
["bus"] = "autobus",
["autobus"] = "autobus",
-- Bus de naut nivèl de servici
["bus de naut nivèl de servici"] = { "B8B832", "CFCF70", "000000" },
["bhns"] = "bus de naut nivèl de servici",
["busway"] = "bus de naut nivèl de servici",
["[[bus de naut nivèl de servici]]"] = "bus de naut nivèl de servici",
["[[bhns]]"] = "bus de naut nivèl de servici",
["[[busway]]"] = "bus de naut nivèl de servici",
}
-- on retourne les données
return data