66 689
contributi
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 361: | Riga 361: | ||
for _, Motto in ipairs(Subject.claims["P104"]) do | for _, Motto in ipairs(Subject.claims["P104"]) do | ||
local | local Sentence | ||
local Author | local Author | ||
local | local Reference | ||
Sentence = Motto.mainsnak.datavalue.value | |||
Author = Motto.qualifiers["P47"][1].datavalue.value.id | Author = Motto.qualifiers["P47"][1].datavalue.value.id | ||
Reference = Motto.qualifiers["P58"][1].datavalue.value.id | |||
table.insert(Boxes, frame:expandTemplate{ title = 'quote', args = { | table.insert(Boxes, frame:expandTemplate{ title = 'quote', args = {text = Sentence, sign = Author, source = Reference} }) | ||
end | end | ||