Moduuli:Fr:Infobox/Lehti
From Wikipedia, the free encyclopedia
local infobox = require "Module:Fr:Infobox/Fonctions" local wikidata = require "Module:Fr:Interface Wikidata".fromLua local localdata = require "Module:Fr:Infobox/Localdata"
return { parts = { infobox.title(), infobox.mainimage(), infobox.logo('logo'), { type = 'table', rows = { { type = 'row', label = 'lehtityyppi', value = 'lehtityyppi', wikidata = {property = 'P31', ucfirst='-', } }, { type = 'row', label = 'kustantaja', value = 'kustantaja', }, { type = 'row', label = 'julkaisija', value = 'julkaisija', wikidata = {property = 'P123', ucfirst='-', conjtype = 'new line' , showdate= 'trueproperty'} }, { type = 'row', label = 'ISSN', value = 'issn', property = 'P236' }, { type = 'row', label = 'levikki', value = 'levikki', property = 'P1092' }, { type = 'row', label = 'perustettu', value = 'perustettu', property = 'P571' }, { type = 'row', label = 'lakkautettu', value = 'lakkautettu', property = 'P2669' }, { type = 'row', label = 'päätoimittaja', value = 'päätoimittaja', wikidata = {property = 'P5769', conjtype = 'new line' , showdate= 'trueproperty', defaultlink='-', rank='valid'} }, { type = 'row', label = 'sitoutuneisuus', value = 'sitoutuneisuus', property = 'P102' }, { type = 'row', label = 'kotipaikkakunta', value = 'kotipaikkakunta', property = 'P291' }, { type = 'row', label = 'kotimaa', value = 'kotimaa', property = 'P17' }, { type = 'row', label = 'sivukoko', value = 'sivukoko', property = 'P3912', ucfirst = '-' }, { type = 'row', label = 'ilmestymistiheys', value = 'ilmestymistiheys', wikidata ={property = 'P2896', showunit='long' } }, { type = 'row', label = 'kieli', value = 'kieli', wikidata= {property = 'P407', ucfirst='-'} }, { type = 'row', label = 'kotisivu', value = 'kotisivu', wikidata = {property = 'P856', ucfirst='-'} }, } } } }