Módulo:Testes/TiagoLubiana/Infobox/Epidemia WD
Este módulo não apresenta nenhuma documentação. Por favor, documente-o caso o saiba usar ou tenha conhecimentos para tal. |
local general = require 'Módulo:Infobox/Funções'
-- local localdata = require( 'Módulo:Infobox/Localdata' )
-- local wikidata = require( 'Módulo:Infobox/Wikidata' )
local localisation = require "Módulo:Infobox/Funções/Geolocalização"
local displayFormat = { nil, nil, '#E1E1E1', '#E1E1E1', '#000000', 'padrão' }
return {
maincolor = displayFormat[3],
secondcolor = displayFormat[4],
thirdcolor = displayFormat[5],
parts = {
general.title(displayFormat[1], displayFormat[2], 'nome', nil, false),
{
type = 'images',
imageparameters = 'image1',
captionparameter = 'légende1',
wikidata = { property = 'P1846' },
numval = 1,
},
{
type = 'table',
rows = {
{ type = 'row', label = 'Localisation', value = 'localisation', wikidata = { property = 'P276' } },
localisation.coordenadas(),
{ type = 'row', label = 'Date d\'arrivée', value = 'date arrivée', wikidata = { property = 'P580' } },
{ type = 'row', label = 'Site web', value = { 'site web', 'description' }, wikidata = { property = 'P973', displayformat = 'weblink', showlang = true } },
{ type = 'row', label = 'Morts', value = { 'morts', 'nbre morts' }, wikidata = { property = 'P1120', numval = 1, sorttype = 'inverted', showdate = true, showsource = true } },
}
}
}
}