Module:Wd/testcases: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 49:
self:preprocess_equals('{{#invoke:wd|property|linked|Q55|P41}}', '[[c:File:' .. wdib._getValue{'P41',qid='Q55',noicon='true',osd='no',rank='best',maxvals='1',fwd='ALL'} .. '|' .. wdib._getValue{'P41',qid='Q55',noicon='true',osd='no',rank='best',maxvals='1',fwd='ALL'} .. ']]')
self:preprocess_equals('{{#invoke:wd|property|raw|Q55|P41}}', wdib._getValue{'P41',qid='Q55',noicon='true',osd='no',rank='best',maxvals='1',fwd='ALL'})
self:preprocess_equals('{{#invoke:wd|property|raw|Q915684|P2534}}', '<code>'..mw.getCurrentFrame():callParserFunction{name='#property:P2534',args={from='Q915684'}}..'</code>')
self:preprocess_equals('{{#invoke:wd|property|linked|Q6256|P3896}}', '[[c:' .. mw.getCurrentFrame():callParserFunction{name='#property:P3896',args={from='Q6256'}} .. '|' .. mw.getCurrentFrame():callParserFunction{name='#property:P3896',args={from='Q6256'}} .. ']]')
self:preprocess_equals('{{#invoke:wd|label|Q4917}}', wdib.getLabel{args={'Q4917'}})