Zumbe a 'u condenute

Modulo:Tassobox/Configurazione

Da Uicchipèdie, 'a 'ngeclopedije lìbbere.

La documentazione per questo modulo può essere creata in Modulo:Tassobox/Configurazione/man

local config = {}

--======================================================================================================================
-- Tabelle di configurazione per determinare l'immagine da visualizzare quando non disponibile
--======================================================================================================================
config.missing_table = {
	['[[coleoptera]]'] = 'File:Missing Coleoptera.png',
	['[[diptera]]'] = 'File:Missing Diptera.png',
	['[[hymenoptera]]'] = 'File:Missing Hymenoptera.png',
	['[[lepidoptera]]'] = 'File:Missing Lepidoptera.png',
	['[[rhynchota]]'] = 'File:Missing Rhynchota.png',
	['[[artiodactyla]]'] = 'File:Missing Artiodactyla.png',
	['[[carnivora]]'] = 'File:Missing Carnivora.png',
	['[[cetacea]]'] = 'File:Missing Cetacea.png',
	['[[cingulata]]'] = 'File:Missing Cingulata.png',
	['[[chiroptera]]'] = 'File:Missing Chiroptera.png',
	['[[diprotodontia]]'] = 'File:Missing Diprotodontia.png',
	['[[dasyuromorphia]]'] = 'File:Missing Dasyuromorphia.png',
	['[[peramelemorphia]]'] = 'File:Missing Peramelemorphia.png',
	['[[didelphimorphia]]'] = 'File:Missing Didelphimorphia.png',
	['[[lagomorpha]]'] = 'File:Missing Lagomorpha.png',
	['[[perissodactyla]]'] = 'File:Missing Perissodactyla.png',
	['[[pilosa]]'] = 'File:Missing Pilosa.png',
	['[[proboscidea]]'] = 'File:Missing Proboscidea.png',
	['[[primates]]'] = 'File:Missing Primates.png',
	['[[rodentia]]'] = 'File:Missing Rodentia.png',
	['[[soricomorpha]]'] = 'File:Missing Soricomorpha.png',
	['[[actinopterygii]]'] = 'File:Missing Actinopterygii.png',
	['[[amphibia]]'] = 'File:Missing Amphibia.png',
	['[[arachnida]]'] = 'File:Missing Arachnida.png',
	['[[aves]]'] = 'File:Missing Aves.png',
	['[[chondrichthyes]]'] = 'File:Missing Chondrichthyes.png',
	['[[gastropoda]]'] = 'File:Missing Gastropoda.png',
	['[[dinosauria]]'] = 'File:Missing Dinosauria.png',
	['[[reptilia]]'] = 'File:Missing Reptilia.png',
	['[[lacertilia]]'] = 'File:Missing Sauria.png',
	['[[sauria]]'] = 'File:Missing Sauria.png',
	['[[serpentes]]'] = 'File:Missing Reptilia.png',
	['[[testudines]]'] = 'File:Missing Testudines.png',
	['[[crocodilia]]'] = 'File:Missing Crocodilia.png',
	['[[crocodylia]]'] = 'File:Missing Crocodilia.png',
	['[[hexapoda]]'] = 'File:Missing Hexapoda.png',
	['[[mammalia]]'] = 'File:Missing Mammalia.png',
	['[[crustacea]]'] = 'File:Missing Crustacea.png',
	['[[arthropoda]]'] = 'File:Missing Arthropoda.png',
	['[[annelida]]'] = 'File:Missing Annelida.png',
	['[[anthozoa]]'] = 'File:Missing Anthozoa.png',
	['[[cnidaria]]'] = 'File:Missing Cnidaria.png',
	['[[echinodermata]]'] = 'File:Missing Echinodermata.png',
	['[[animalia]]'] = 'File:Animalia missing.png',
	['[[plantae]]'] = 'File:Plantae missing 1.png',
	['[[fungi]]'] = 'File:Fungi missing.png',
	['[[archaea]]'] = 'File:Bacteria missing.png',
	['[[bacteria]]'] = 'File:Bacteria missing.png',
	['[[protista]]'] = 'File:Protista missing 1.png',
	['[[chromista]]'] = 'File:Protista missing 1.png',
	['[[acytota]]'] = 'File:Acytota missing.png',
	['[[cycadophyta]]'] = 'File:Missing Cycadophyta.png',
	['[[magnoliophyta]]'] = 'File:Missing Magnoliophyta.png',
	['[[charophyta]]'] = 'File:Missing Charophyta.png',
	['[[pteridophyta]]'] = 'File:Missing Pteridophyta.png',
	['[[pinophyta]]'] = 'File:Missing Pinophyta.png',
	['[[chlorophyta]]'] = 'File:Missing Chlorophyta.png',
	['[[rhodophyta]]'] = 'File:Missing Rhodophyta.png',
	['[[arecales]]'] = 'File:Missing Cycadophyta.png'
}

config.param_to_check = {
	"sottordine",
	"superordine",
	"ordine",
	"classe",
	"superclasse",
	"subphylum",
	"phylum",
	"divisione",
	"regno",
	"dominio"
}

--======================================================================================================================
-- Tabelle di configurazione per la gestione dello stato di conservazione
--======================================================================================================================

--======================================================================================================================
-- Alias dei codici utilizzabili per indicare lo stato di conservazione, il valore di ogni chiave deve corrispondere
-- quello di uno dei valori della successiva tabella
--======================================================================================================================
config.stato_alias = {
	['basso rischio'] = 'lr',
	['least concern'] = 'lc',
	['basso rischio lc'] = 'lr/lc',
	['near threaned'] = 'nt',
	['basso rischio nt'] = 'lr/nt',
	['lr/cd'] = 'cd',
	['basso rischio cd'] = 'cd',
	['vulnerabile'] = 'vu',
	['endangered'] = 'en',
	['in pericolo'] = 'en',
	['critico'] = 'cr',
	['data deficient'] = 'dd',
	['not evaluated'] = 'ne', 
	['probabilmente estinto'] = 'pe',
	['probabilmente estinto in natura'] = 'pew',
	['estinto'] = 'ex',
	['estinto_data'] = 'ex',
	['estinto data'] = 'ex',
	-- Definizioni per wikidata
	 ['[[specie a rischio minimo|rischio minimo]]'] = 'lc',
	 ['[[specie prossima alla minaccia|prossimo alla minaccia]]'] = 'lr/nt',
	 ['dipendente dalla conservazione'] = 'cd',
	 ['[[specie vulnerabile|vulnerabile]]'] = 'vu',
	 ['[[specie in pericolo|specie in pericolo]]'] = 'en',
	 ['[[specie in pericolo critico|specie in pericolo critico]]'] = 'cr',
	 ['[[specie estinta in natura|estinto in natura]]'] = 'ew',
	 ['specie estinta'] = 'ex',
	 ['dati insufficienti'] = 'dd'
}

--======================================================================================================================
-- Configurazione per lo stato:
-- - image: nome del file immagine da usare, può contenere un segnaposto per una stringa (generalmente se cambia la versione)
-- - versione: se lo stato di conservazioni prevede il parametro versione
-- - text: testo che segue l'immagine
-- - color: colore del testo
-- - data: testo di formattazione della data  (se presente)
-- - pre_data: testo che precede un eventuale data
--- color_data: colore della data (se diverso da color)
--======================================================================================================================
config.stato = {
	['lr'] = { image = 'Status_iucn2.3_LR_it.svg', text = 'Basso rischio', color='teal'},
	['lc'] = { image = 'Status_iucn3.1_LC_it.svg', text = 'Rischio minimo', color='teal'},
	['lr/lc'] = { image = 'Status_%s_LC_it.svg', versione = true, text="[[Specie a rischio minimo|<span style=\"color:teal;\">Basso rischio ''(lc)''</span>]]", color='teal' },
	['nt'] = { image = 'Status_iucn3.1_NT_it.svg', text="Prossimo alla minaccia ''(nt)''", color= 'teal'},
	['lr/nt'] = { image = 'Status_%s_NT_it.svg', versione = true, text="[[Specie prossima alla minaccia|<span style=\"color:teal;\">Basso rischio ''(nt)''</span>]]", color='teal'},
	['cd'] = { image = 'Status_iucn2.3_CD_it.svg', text="Basso rischio ''(cd)''", color= 'teal'},
	['vu'] = { image = 'Status_%s_VU_it.svg', versione = true, text="Vulnerabile", color= 'darkgoldenrod'},
	['en'] = { image = 'Status_%s_EN_it.svg', versione = true, text="In pericolo", color= 'chocolate'},
	['cr'] = { image = 'Status_%s_CR_it.svg', versione = true, text="Critico", color= 'red'},
	['dd'] = { image = 'Status_none_DD.svg', text="Dati insufficienti", color= 'dimgray'},
	['ne'] = { image = 'Status_none_NE.svg', text="Specie non valutata", color= 'dimgray'},
	['pe'] = { image = 'Status_iucn3.1_PE.svg', text="Critico", color= 'red', data = " (%s)", pre_data = "- Probabilmente estinto", color_data = 'slateblue'},
	['pew'] = { image = 'Status_iucn3.1_PEW.svg', text="Critico", color= 'red', data = " (%s)", pre_data = "- Probabilmente estinto in natura", color_data = 'slateblue'},
	['ex'] = { image = 'Status_%s_EX it.svg', versione = true, text="Estinto", color= 'slateblue', data = " (%s)", color_data = 'slateblue'},
	['ew'] = { image = 'Status_%s_EW_it.svg', versione = true, text="[[Specie estinta in natura|<span style=\"color:slateblue;\">Estinto in natura</span>]]", color= 'slateblue'},
	['fossile'] = { text = 'Fossile', color = '#25383c', data = '<br />Periodo di fossilizzazione: %s'},
	['sconosciuto'] = { text = 'Sconosciuto', color = 'black'  },
}

--======================================================================================================================
-- Configurazione ere geologiche
--======================================================================================================================
config.ere_geologiche = {
	['aaleniano'] = { start='174.1', next_era='bajociano', color='#6FDAED' },
	['adeano'] = { start='4600', next_era='archeano', color='#CB0381' },
	['aeroniano'] = { start='440.8', next_era='telychiano', color='#A4E0D0' },
	['aimchaniano'] = { next_era='mayaniano' },
	['albiano'] = { start='113.0', next_era='cenomaniano', color='#CDE5A8' },
	['anisico'] = { start='247.2', next_era='ladinico', color='#C986B6' },
	['aptiano'] = { start='125.0', next_era='albiano', color='#BFE19F' },
	['aquitaniano'] = { start='23.03', next_era='burdigaliano', color='#FEF14D' },
	['archeano'] = { start='4000', next_era='proterozoico', color='#FE007C' },
	['arenig'] = { start='477.7', next_era='dapingiano' },
	['argillite di Burgess'] = { start='508' },
	['arikareeano'] = { next_era='hemingfordiano' },
	['arikeeano'] = { start='30.6' },
	['artinskiano'] = { start='290.1', next_era='kunguriano', color='#EF8A74' },
	['asseliano'] = { start='298.9', next_era='sakmariano', color='#F0775F' },
	['atdabaniano'] = { next_era='botomiano' },
	['attuale'] = { start='0' },
	['baikaliano'] = { next_era='vendiano' },
	['bajociano'] = { start='170.3', next_era='bathoniano', color='#87DEEE' },
	['barremiano'] = { start='129.4', next_era='aptiano', color='#AFDD97' },
	['barstoviano'] = { start='16.3', next_era='clarendoniano' },
	['bartoniano'] = { start='41.3', next_era='priaboniano', color='#FEC498' },
	['bashkiriano'] = { start='323.2', next_era='moscoviano', color='#8AC6C3' },
	['bathoniano'] = { start='168.3', next_era='calloviano', color='#9CE2EF' },
	['berriasiano'] = { start='145.0', next_era='valanginiano', color='#7CCE7C' },
	['blancano'] = { start='4.75', next_era='irvingtoniano' },
	['botomiano'] = { start='522' },
	['bridgeriano'] = { start='50.3', next_era='uintano' },
	['burdigaliano'] = { start='20.44', next_era='langhiano', color='#FEF259' },
	['caerfai'] = { start='530', next_era='cambriano medio' },
	['calabriano'] = { start='1.80', color='#FEEFC1' },
	['calloviano'] = { start='166.1', next_era='oxfordiano', color='#AEE6F0' },
	['calymmiano'] = { start='1600', next_era='ectasiano', color='#FEC386' },
	['cambriano'] = { start='541.0', next_era='ordoviciano', color='#81AA72' },
	['cambriano inferiore'] = { next_era='cambriano medio' },
	['cambriano medio'] = { next_era='cambriano superiore' },
	['cambriano superiore'] = { next_era='ordoviciano inferiore' },
	['campaniano'] = { start='83.6', next_era='maastrichtiano', color='#EAED93' },
	['capitaniano'] = { start='265.1', next_era='wuchiapingiano', color='#FEA38A' },
	['carbonifero'] = { start='323.2', next_era='permiano', color='#3FAEAD' },
	['carbonifero inferiore'] = { start='358.9', next_era='pennsylvaniano', color='#619D7E' },
	['carbonifero superiore'] = { next_era='permiano', color='#8AC6C3' },
	['carnico'] = { start='237', next_era='norico', color='#D1A6C9' },
	['cenomaniano'] = { start='100.5', next_era='turoniano', color='#B5DA71' },
	['cenozoico'] = { start='66.0', next_era='ora', color='#F6EC39' },
	['chadroniano'] = { start='38', next_era='orellano' },
	['changhsingiano'] = { start='254.14', next_era='induano', color='#FEC6B3' },
	['chattiano'] = { start='28.1', next_era='aquitaniano', color='#FEE4B2' },
	['chengjiang'] = { start='524' },
	['cisuraliano'] = { start='298.9', next_era='permiano medio', color='#F76E54' },
	['clarendoniano'] = { start='13.6', next_era='hemphilliano' },
	['clarkforkian'] = { start='56.8' },
	['clarkforkiano'] = { next_era='wasatchiano' },
	['condrusiano'] = { color='#F4E0A9' },
	['coniaciano'] = { start='89.8', next_era='santoniano', color='#D1E382' },
	['cretacico'] = { start='145.0', next_era='paleogene', color='#6FC86B' },
	['cretacico inferiore'] = { start='145.0', next_era='cretacico superiore', color='#7ECD74' },
	['cretacico superiore'] = { start='100.5', next_era='paleocene', color='#A6D468' },
	['cryogeniano'] = { start='850', next_era='ediacarano', color='#FECC6F' },
	['daniano'] = { start='66.0', next_era='selandiano', color='#FEB872' },
	['dapingiano'] = { start='470.0', next_era='darriwiliano', color='#12C5A9' },
	['darriwiliano'] = { start='467.3', next_era='sandbiano', color='#35C9B2' },
	['devoniano'] = { start='419.2', next_era='mississippiano', color='#DD9651' },
	['devoniano inferiore'] = { start='419.2', next_era='devoniano medio', color='#EFB063' },
	['devoniano medio'] = { start='393.3', next_era='devoniano superiore', color='#F6C87A' },
	['devoniano superiore'] = { start='382.7', next_era='mississippiano', color='#F4E0A9' },
	['doushantuo'] = { start='570' },
	['downtoniano'] = { start='419.2' },
	['drumiano'] = { start='504.5', next_era='guzhangiano', color='#BFD8AD' },
	['duchesneano'] = { start='42', next_era='chadroniano' },
	['earliest cambrian'] = { next_era='stadio 2' },
	['early late ordovician'] = { next_era='middle late ordovician' },
	['early middle cambrian'] = { next_era='drumiano' },
	['early middle ordovician'] = { next_era='darriwiliano' },
	['ectasiano'] = { start='1400', next_era='steniano', color='#FECE94' },
	['ediacarano'] = { start='635', next_era='cambriano', color='#FED67B' },
	['eifeliano'] = { start='393.3', next_era='givetiano', color='#F5D386' },
	['emsiano'] = { start='407.6', next_era='eifeliano', color='#ECCF87' },
	['eoarcheano'] = { start='4000', next_era='paleoarcheano', color='#EE007D' },
	['eocene'] = { start='56.0', next_era='oligocene', color='#FEB979' },
	['eocene inferiore'] = { next_era='eocene medio' },
	['eocene medio'] = { next_era='eocene superiore' },
	['eocene superiore'] = { next_era='oligocene inferiore' },
	['famenniano'] = { start='372.2', next_era='tournaisiano', color='#F4EAB9' },
	['fanerozoico'] = { start='541.0', next_era='ora', color='#6FDAED' },
	['floiano'] = { start='477.7', next_era='dapingiano', color='#00BAA0' },
	['fortuneano'] = { next_era='stadio 2' },
	['franconiano'] = { next_era='ordoviciano inferiore' },
	['frasniano'] = { start='382.7', next_era='famenniano', color='#F3EBCC' },
	['furongiano'] = { start='497', next_era='ordoviciano inferiore', color='#ADDDA8' },
	['gallic'] = { start='129.4' },
	['gallico'] = { next_era='coniaciano' },
	['gelasiano'] = { start='2.58', next_era='calabriano', color='#FEEEAD' },
	['giurassico'] = { start='201.3', next_era='cretacico', color='#00BBE7' },
	['giurassico inferiore'] = { start='201.3', next_era='giurassico medio', color='#00B7EA' },
	['giurassico medio'] = { start='174.1', next_era='giurassico superiore', color='#34D1EB' },
	['giurassico superiore'] = { start='163.5', next_era='cretacico inferiore', color='#97E3FA' },
	['givetiano'] = { start='387.7', next_era='frasniano', color='#F5DE94' },
	['gorstiano'] = { start='427.4', next_era='ludfordiano', color='#C3EAE6' },
	['guadalupiano'] = { start='272.3', next_era='permian superiore', color='#FE8367' },
	['guzhangiano'] = { start='500.5', next_era='paibiano', color='#CCDDB8' },
	['gzheliano'] = { start='303.7', next_era='asseliano', color='#CBD5CD' },
	['hauteriviano'] = { start='132.9', next_era='barremiano', color='#9ED78E' },
	['hemingfordiano'] = { start='20.6', next_era='barstoviano' },
	['hemphilliano'] = { start='10.3', next_era='blancano' },
	['hettangiano'] = { start='201.3', next_era='sinemuriano', color='#00BBEB' },
	['hirnantiano'] = { start='445.2', next_era='llandovery', color='#95DABC' },
	['homeriano'] = { start='430.5', next_era='gorstiano', color='#C5E9DB' },
	['hydaspiano'] = { next_era='pelsoniano' },
	['illiriano'] = { next_era='ladinico' },
	['induano'] = { start='252.17', next_era='olenekiano', color='#B861A0' },
	['ioniano'] = { start='0.781', color='#FEF0CC' },
	['irvingtoniano'] = { start='1.8', next_era='rancholabreano' },
	['isuan'] = { next_era='swazian' },
	['isuano'] = { start='4000' },
	['jiangshaniano'] = { next_era='stadio 10', color='#D8ECC6' },
	['kasimoviano'] = { start='307.0', next_era='gzheliano', color='#BBD1CD' },
	['katiano'] = { start='453.0', next_era='hirnantiano', color='#81D6BC' },
	['kimmeridgiano'] = { start='157.3', next_era='titoniano', color='#BDEBFB' },
	['kunguriano'] = { start='283.5', next_era='roadiano', color='#EF947F' },
	['ladinico'] = { start='242', next_era='carniano', color='#D492BD' },
	['ladinico inferiore'] = { next_era='ladinico medio' },
	['ladinico medio'] = { next_era='ladinico superiore' },
	['ladinico superiore'] = { next_era='carniano' },
	['langhiano'] = { start='15.97', next_era='serravalliano', color='#FEF366' },
	['late early cambrian'] = { next_era='stadio 5' },
	['late early ordovician'] = { start='479', next_era='ordoviciano medio' },
	['late middle cambrian'] = { next_era='jiangshaniano' },
	['lias'] = { color='#00B7EA' },
	['llandovery'] = { start='443.4', next_era='wenlock', color='#7ED7C6' },
	['lochkovian'] = { next_era='praghiano' },
	['lochkoviano'] = { start='419.2', color='#EEBA6E' },
	['longtaniano'] = { start='259.8', next_era='changhsingiano' },
	['lopingiano'] = { start='259.8', next_era='triassico inferiore', color='#FEAF97' },
	['ludfordiano'] = { start='425.6', next_era='pridoli', color='#D4EEE6' },
	['ludloviano'] = { start='427.4', color='#B4E5DB' },
	['ludlow'] = { start='427.4', next_era='pridoli', color='#B4E5DB' },
	['luteziano'] = { start='47.8', next_era='bartoniano', color='#FEB98A' },
	['maastrichtiano'] = { start='72.1', next_era='paleocene inferiore', color='#F3F29C' },
	['mansian'] = { next_era='ordoviciano inferiore' },
	['manykaian'] = { next_era='caerfai' },
	['mayan'] = { next_era='nganasanian' },
	['mayaniano'] = { start='1100' },
	['merioneth'] = { next_era='ordoviciano' },
	['mesoarcheano'] = { start='3200', next_era='neoarcheano', color='#FE7CA3' },
	['mesoproterozoico'] = { start='1600', next_era='neoproterozoico', color='#FEB872' },
	['mesozoico'] = { start='252.17', next_era='cenozoico', color='#07CAEA' },
	['messiniano'] = { start='7.246', next_era='zancleano', color='#FEF587' },
	['middle late ordovician'] = { start='455', next_era='hirnantiano' },
	['mindyallan'] = { next_era='merioneth' },
	['miocene'] = { start='23.03', next_era='pliocene', color='#FEEF00' },
	['miocene inferiore'] = { next_era='miocene medio' },
	['miocene medio'] = { next_era='miocene superiore' },
	['miocene superiore'] = { next_era='pliocene inferiore' },
	['mississippiano'] = { start='358.9', next_era='pennsylvaniano', color='#619D7E' },
	['mississippiano inferiore'] = { start='330.9', next_era='mississippiano medio', color='#7AB284' },
	['mississippiano medio'] = { start='346.7', next_era='mississippiano superiore', color='#9BB983' },
	['mississippiano superiore'] = { next_era='pennsylvaniano inferiore', color='#BBC082' },
	['moscoviano'] = { start='315.2', next_era='kasimoviano', color='#AECDC4' },
	['mp 10'] = { start='56.0', next_era='mp 11' },
	['mp 11'] = { start='47.8', next_era='bartoniano' },
	['namuriano'] = { start='326', next_era='westphaliano' },
	['nemakit-daldynian'] = { next_era='caerfai' },
	['neoarcheano'] = { start='2800', next_era='statheriano', color='#FEA6BA' },
	['neocomiano'] = { start='145.0', next_era='barremiano' },
	['neogene'] = { start='23.03', next_era='quaternario', color='#FEDD2D' },
	['neoproterozoico'] = { start='1000', next_era='paleozoico', color='#FEB757' },
	['nganasanian'] = { next_era='merioneth' },
	['norico'] = { start='227', next_era='retico', color='#DDB4D1' },
	['olenekiano'] = { start='251.2', next_era='anisico', color='#C26AA5' },
	['oligocene'] = { start='33.9', next_era='miocene', color='#FEC386' },
	['oligocene inferiore'] = { next_era='oligocene superiore' },
	['oligocene superiore'] = { next_era='miocene inferiore' },
	['olocene'] = { start='0.0117', next_era='ora', color='#FEF1E0' },
	['ora'] = { start='0', next_era='ora' },
	['ordovician iii'] = { next_era='darriwiliano' },
	['ordovician v'] = { next_era='katiano' },
	['ordovician vi'] = { next_era='hirnantiano' },
	['ordoviciano'] = { start='485.4', next_era='siluriano', color='#00A98A' },
	['ordoviciano inferiore'] = { start='458.4', next_era='ordoviciano medio', color='#00AF89' },
	['ordoviciano medio'] = { start='470.0', next_era='ordoviciano superiore', color='#00BD97' },
	['ordoviciano superiore'] = { start='458.4', next_era='llandovery', color='#5ECCA9' },
	['orellano'] = { start='33.9', next_era='whitneyano' },
	['orosiriano'] = { start='2050', next_era='statheriano', color='#FE7B94' },
	['oxfordiano'] = { start='163.5', next_era='kimmeridgiano', color='#ABE7FB' },
	['paibiano'] = { start='497', next_era='jiangshaniano', color='#CAE7BC' },
	['paleoarcheano'] = { start='3600', next_era='mesoarcheano', color='#FE5B97' },
	['paleocene'] = { start='66.0', next_era='eocene', color='#FEAD6E' },
	['paleocene inferiore'] = { next_era='paleocene medio' },
	['paleocene medio'] = { next_era='paleocene superiore' },
	['paleocene superiore'] = { next_era='eocene inferiore' },
	['paleogene'] = { start='66.0', next_era='neogene', color='#FEA163' },
	['paleoproterozoico'] = { start='2500', next_era='mesoproterozoico', color='#FE5B71' },
	['paleozoico'] = { start='541.0', next_era='mesozoico', color='#92C3A0' },
	['pelsoniano'] = { next_era='illiriano' },
	['pennsylvanian superiore'] = { next_era='permiano inferiore' },
	['pennsylvaniano'] = { start='323.2', next_era='permiano', color='#8AC6C3' },
	['pennsylvaniano inferiore'] = { start='323.2', next_era='pennsylvaniano medio', color='#77C2C3' },
	['pennsylvaniano medio'] = { start='315.2', next_era='pennsylvaniano superiore', color='#9DCAC4' },
	['pennsylvaniano superiore'] = { start='307.0', next_era='asseliano', color='#BDD0C4' },
	['permian inferiore'] = { next_era='permiano medio' },
	['permiano'] = { start='298.9', next_era='triassico', color='#F7583C' },
	['permiano inferiore'] = { start='298.9', color='#F76E54' },
	['permiano medio'] = { start='272.3', next_era='permian superiore', color='#FE8367' },
	['permiano superiore'] = { start='259.8', next_era='triassico inferiore', color='#FEAF97' },
	['piacenziano'] = { start='3.600', next_era='gelasiano', color='#FEFAC8' },
	['pleistocene'] = { start='2.58', next_era='olocene', color='#FEEFB8' },
	['pleistocene inferiore'] = { start='2.58', next_era='pleistocene medio' },
	['pleistocene medio'] = { start='0.781', next_era='pleistocene superiore', color='#FEF0CC' },
	['pleistocene superiore'] = { start='0.126', next_era='olocene', color='#FEF1D6' },
	['pliensbachiano'] = { start='190.8', next_era='toarciano', color='#3CC9EF' },
	['pliocene'] = { start='5.333', next_era='pleistocene', color='#FEF8A6' },
	['pliocene inferiore'] = { next_era='pliocene superiore' },
	['pliocene superiore'] = { next_era='pleistocene inferiore' },
	['praghian'] = { next_era='emsiano' },
	['praghiano'] = { start='410.8', color='#EEC57B' },
	['precambriano'] = { start='4600', next_era='fanerozoico', color='#FE5B71' },
	['presente'] = { start='0', next_era='ora' },
	['priaboniano'] = { start='38.0', next_era='rupeliano', color='#FECFA7' },
	['pridoli'] = { start='423.0', next_era='lochkovian', color='#E4F2E6' },
	['pridoliano'] = { start='423.0', color='#E4F2E6' },
	['proterozoico'] = { start='2500', next_era='paleozoico', color='#FE4C68' },
	['puercano'] = { start='65', next_era='torrejoniano' },
	['quaternario'] = { start='2.58', next_era='ora', color='#FEF691' },
	['rancholabrean'] = { next_era='olocene' },
	['rancholabreano'] = { start='0.24' },
	['recente'] = { start='0', next_era='ora' },
	['renano'] = { color='#EFB063' },
	['retico'] = { start='208.5', next_era='hettangiano', color='#E8C2D8' },
	['rhuddaniano'] = { start='443.4', next_era='aeroniano', color='#93DBC6' },
	['rhyaciano'] = { start='2300', next_era='orosiriano', color='#FE7087' },
	['ripheano'] = { next_era='aimchaniano' },
	['roadiano'] = { start='272.3', next_era='wordiano', color='#FE8E72' },
	['rupeliano'] = { start='33.9', next_era='chattiano', color='#FED9A2' },
	['sakmariano'] = { start='295.0', next_era='artinskiano', color='#EF806A' },
	['sandbiano'] = { start='458.4', next_era='katiano', color='#72D0A9' },
	['santoniano'] = { start='86.3', next_era='campaniano', color='#DEE78A' },
	['selandiano'] = { start='61.6', next_era='thanetiano', color='#FEC274' },
	['senoniano'] = { start='89.8', next_era='paleocene' },
	['serie 2'] = { start='521', next_era='serie 3', color='#95C28F' },
	['serie 3'] = { start='509', next_era='cambriano superiore', color='#A1CF9B' },
	['serie 4'] = { color='#ADDDA8' },
	['serpukhoviano'] = { start='330.9', next_era='bashkiriano', color='#C8C281' },
	['serravalliano'] = { start='13.82', next_era='tortoniano', color='#FEF472' },
	['sheinwoodiano'] = { start='433.4', next_era='homeriano', color='#B6E4D0' },
	['sideriano'] = { start='2500', next_era='rhyaciano', color='#FE657B' },
	['siluriano'] = { start='443.4', next_era='devoniano', color='#A6DFC5' },
	['siluriano inferiore'] = { next_era='siluriano superiore' },
	['siluriano superiore'] = { next_era='devoniano inferiore' },
	['sinemuriano'] = { start='199.3', next_era='pliensbachiano', color='#07C1ED' },
	['siniano'] = { start='1050', next_era='paleozoico' },
	['sirius passet'] = { start='525' },
	['spathiano'] = { start='251.2', next_era='anisico' },
	['stadio 1'] = { color='#9ABA8B' },
	['stadio 10'] = { next_era='tremadociano', color='#E5F1D1' },
	['stadio 2'] = { start='529', next_era='stadio 3', color='#A8BD93' },
	['stadio 3'] = { start='521', next_era='stadio 4', color='#A5C697' },
	['stadio 4'] = { start='514', next_era='stadio 5', color='#B4CBA0' },
	['stadio 5'] = { start='509', next_era='drumiano', color='#B2D4A3' },
	['stadio 9'] = { color='#D8ECC6' },
	['statheriano'] = { start='1800', next_era='toniano', color='#FE86A1' },
	['steniano'] = { start='1200', next_era='toniano', color='#FED9A2' },
	['stephaniano'] = { start='304', next_era='permiano' },
	['sturtiano'] = { start='1050', next_era='vendiano' },
	['superiore'] = { start='323.2' },
	['tarantiano'] = { color='#FEF1D6' },
	['telychiano'] = { start='438.5', next_era='sheinwoodiano', color='#B4E5DB' },
	['terranoviano'] = { start='541.0', color='#8AB584' },
	['terreneuviano'] = { next_era='serie 2' },
	['terziario'] = { start='66.0', next_era='quaternario', color='#F2F902' },
	['thanetiano'] = { start='59.2', next_era='ypresiano', color='#FEC37D' },
	['tiffaniano'] = { start='60.2', next_era='clarkforkiano' },
	['titoniano'] = { start='152.1', next_era='berriasiano', color='#CFF0FC' },
	['toarciano'] = { start='182.7', next_era='aaleniano', color='#74D1F0' },
	['tommotian'] = { next_era='serie 2' },
	['tommotiano'] = { start='530' },
	['toniano'] = { start='1000', next_era='cambriano inferiore', color='#FEC262' },
	['torrejoniano'] = { start='63.3', next_era='tiffaniano' },
	['tortoniano'] = { start='11.62', next_era='messiniano', color='#FEF47D' },
	['tournaisiano'] = { start='358.9', next_era='viseano', color='#8AB584' },
	['toyoniano'] = { start='516' },
	['tremadociano'] = { start='485.4', next_era='floiano', color='#00B698' },
	['triassic inferiore'] = { next_era='triassico medio' },
	['triassic superiore'] = { next_era='giurassico inferiore' },
	['triassico'] = { start='252.17', next_era='giurassico', color='#994E96' },
	['triassico inferiore'] = { start='252.17', color='#AD579A' },
	['triassico medio'] = { start='247.2', next_era='triassico superiore', color='#BF7CB1' },
	['triassico superiore'] = { start='237', color='#C698C2' },
	['turoniano'] = { start='93.9', next_era='coniaciano', color='#C3DF79' },
	['ufimian'] = { next_era='wordiano' },
	['ufimiano'] = { start='272.3' },
	['uintano'] = { start='46.2', next_era='duchesneano' },
	['uraliano'] = { color='#BDD0C4' },
	['valanginiano'] = { start='139.8', next_era='hauteriviano', color='#8DD285' },
	['vendiano'] = { next_era='cambriano' },
	['viseano'] = { start='346.7', next_era='serpukhoviano', color='#ABBC82' },
	['wasatchiano'] = { start='55.4', next_era='bridgeriano' },
	['wenlock'] = { start='433.4', next_era='ludlow', color='#A4E0D0' },
	['westphaliano'] = { start='313', next_era='stephaniano' },
	['whitneyano'] = { start='33.3', next_era='arikareeano' },
	['wordiano'] = { start='268.8', next_era='capitaniano', color='#FE987E' },
	['wuchiapingiano'] = { start='259.8', next_era='changhsingiano', color='#FEBBA5' },
	['ypresiano'] = { start='56.0', next_era='luteziano', color='#FEAE7D' },
	['zancleano'] = { start='5.333', next_era='piacenziano', color='#FEF9BD' }
}

return config