Module:Wd/testcases: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 7:
self:preprocess_equals('{{#invoke:wd|property|P395}}', '')
self:preprocess_equals('{{#invoke:wd|property|eid=Q55|P395}}', wdib._getValue{'P395',qid='Q55',noicon='true',onlysourced='no',rank='best',maxvals='1',fwd='ALL'})
self:preprocess_equals('{{#invoke:wdSandbox/Thayts/Wd|property|edit|Q55|P395}}', wdib._getValue{'P395',qid='Q55',onlysourced='no',rank='best',maxvals='1',fwd='ALL'})
self:preprocess_equals('{{#invoke:wd|property|normal+|Q55|P1082}}', wdib._getValue{'P1082',qid='Q55',noicon='true',onlysourced='no',rank='best',maxvals='1',fwd='ALL'})
self:preprocess_equals('{{#invoke:wd|properties|normal+|Q55|P1082}}', table.concat({wdib._getValue{'P1082',qid='Q55',noicon='true',onlysourced='no',rank='p',fwd='ALL'}, wdib._getValue{'P1082',qid='Q55',noicon='true',onlysourced='no',rank='n',fwd='ALL'}}, ', '))