50,050
edits
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
local cargo = mw.ext.cargo | local cargo = mw.ext.cargo | ||
function p. | function p._main( args ) | ||
local belle = args[1] and mw.text.trim(args[1]) | |||
local tables = 'MISC_BelleMoreInfo' | local tables = 'MISC_BelleMoreInfo' | ||
local fields = 'MISC_BelleMoreInfo.TXT_Summary' | local fields = 'MISC_BelleMoreInfo.TXT_Summary' | ||
local args = { | local args = { | ||
where = 'FK_Belle = | where = 'FK_Belle = belle', | ||
default ='Description not defined', | default ='Description not defined', | ||
limit = 1 | limit = 1 | ||
| Line 21: | Line 21: | ||
end | end | ||
end | end | ||
end | |||
function p.main(frame) | |||
return p._main(frame:getParent().args) | |||
end | end | ||
return p | return p | ||