local infobox = require "Module:Fr:Infobox/Fonctions/sandbox"
local localdata = require "Module:Fr:Infobox/Localdata/sandbox"
local person = require "Module:Fr:Infobox/Fonctions/Personne/sandbox"
return {
parts = {
infobox.title(),
infobox.mainimage(),
person.officialposition(),
person.nobilitytitle(),
{
type = 'table',title='Elämä',rows = {
person.birth(),
person.death(),
person.placeofburial(),
-- person.floruit(),
person.othernames(),
{type = 'row', label = 'Koko nimi', value = 'koko nimi' },
{type = 'row', label = 'Aikakausi', value = 'aikakausi', wikidata = { property = 'P2348',sourceproperty = 'P123,P248,P854', defaultlink='-', withsource = 'any', showgroupedsource=true}},
-- person.nationality(), -- Ei toimi, vaatii Wikidata-kirjastojen päivittämisen
{type = 'row', label = 'Kansalaisuus', plurallabel = 'Kansalaisuudet', value = 'kansalaisuus', wikidata = { property = 'P27', precision = 'year' , defaultlink='-', removedupes = true, showdate = true, conjtype = 'comma', linktopic = '-', sourceproperty = 'P123,P248,P854',withsource = 'any', showgroupedsource=true }},
{type = 'row', label = 'Alamaisuus', plurallabel = 'Alamaisuudet', value = 'alamaisuus', wikidata = {property = 'P945', defaultlink='-', sourceproperty = 'P123,P248,P854',withsource = 'any', showgroupedsource=true}},
person.places(),
person.education(),
person.occupation(),
-- person.family(),
-- person.slavery(),
}
},
{type = 'table',title='Muita tietoja',rows =
{
{type = 'row', label = 'Organisaatio', plurallabel = 'Organisaatiot', value = 'organisaatio', wikidata = { property = 'P1268', defaultlink='-', sourceproperty = 'P123,P248,P854',withsource = 'any', showgroupedsource=true}},
person.employer(),
{type = 'row', label = 'Professuuri', plurallabel = 'Professuurit', value = 'professuuri', wikidata = {property = 'P803', defaultlink='-', sourceproperty = 'P123,P248,P854',withsource = 'any', showgroupedsource=true}},
{type = 'row', label = 'Tutkimusalue ', plurallabel = 'Tutkimusalueet', value = 'tutkimusalue', wikidata = { property = 'P101', defaultlink='-', sourceproperty = 'P123,P248,P854',withsource = 'any', showgroupedsource=true}},
{type = 'row', label = 'Omistaa', value = 'omistaa', wikidata = {property = 'P1830', defaultlink='-', sourceproperty = 'P123,P248,P854',withsource = 'any', showgroupedsource=true}},
-- person.religion(), -- Vaatii kääntämisen loppuun
-- person.politicalparty(),
-- person.memberof(),
-- person.military(),
-- {
-- type = 'row',
-- label = 'Yksikkö',
-- plurallabel = 'yksiköt',
-- wikidata = {property = 'P598', sorttype= 'chronological', showdate = true, precision = 'year', defaultlink='-', sourceproperty = 'P123,P248,P854',withsource = 'any', showgroupedsource=true},
-- },
person.movement(),
-- person.appearance(), -- ulkonäkö
-- person.sport(),
{type = 'row', label = 'Arvoaste', plurallabel = 'arvoasteet', value= 'grade', property = 'P468', defaultlink='-', sourceproperty = 'P123,P248,P854',withsource = 'any', showgroupedsource=true},
person.music(),
person.contacts(),
-- {type = 'row', label = 'Ratsu', plurallabel= 'Ratsut', value= 'ratsu', wikidata = {defaultlink='-', property = 'P3091', defaultlink='-', sourceproperty = 'P123,P248,P854',withsource = 'any', showgroupedsource=true}},
{type = 'row', label = 'Lajityyppi', plurallabel= 'Lajityypit', value= 'lajityyppi', wikidata ={ property = 'P136', defaultlink='-', sourceproperty = 'P123,P248,P854',withsource = 'any', showgroupedsource=true}},
person.influencedby(),
-- person.victims(),
-- person.penalties(),
person.website(),
person.awards(), -- Pitää testata erikseen
person.filmography(),
-- person.discography(),
{type = 'row', label = 'Tunnetut työt', value = 'tunnetut työt' }
}
},
-- person.honorifictitle(),
person.voice(),
-- person.blason(),
-- person.sceau(),
-- person.monogram(),
-- person.flag(),
-- person.logo(),
-- person.works(), -- Ei toimi, vaatii wikidatakirjaston päivittämisen
person.signature(),
-- person.plaque(),
-- person.tombe(),
{type = 'row', label = 'Alaviitteet', value = 'alaviitteet' }
}
}