Content deleted Content added
No edit summary |
No edit summary |
||
Line 30:
self:preprocess_equals('{{#invoke:wd|properties|qualifiers|normal+|current|Q55|P38|P518|format=%p[ (%q)][%s][%r]}}', ({string.gsub(({string.gsub(table.concat({wdib._getValue{'P38',qid='Q55',qual='P518',linked='false',noicon='true',osd='no',rank='p',fwd='ALL'}, wdib._getValue{'P38',qid='Q55',qual='P518',linked='false',noicon='true',osd='no',rank='n',fwd='ALL'}}, ', '), 'Dutch guilder[^,]*', '', 1)})[1], ', ,', ',', 1)})[1])
self:preprocess_equals('{{#invoke:wd|properties|linked|normal+|Q55|P38|format=%p[ (%q)][%s][%r]}}', ({string.gsub(table.concat({wdib._getValue{'P38',qid='Q55',noicon='true',osd='no',rank='p',fwd='ALL'}, wdib._getValue{'P38',qid='Q55',noicon='true',osd='no',rank='n',fwd='ALL'}}, ', '), '([^|]+)|%1', '%1')})[1])
self:preprocess_equals('{{#invoke:wd|properties|linked|short|normal+|Q55|P38|format=%p[ (%q)][%s][%r]}}', ({string.gsub(table.concat({wdib._getValue{'P38',qid='Q55',sn='true',noicon='true',osd='no',rank='p',fwd='ALL'}, wdib._getValue{'P38',qid='Q55',sn='true',noicon='true',osd='no',rank='n',fwd='ALL'}}, ', '), '([^|]+)|%1', '%1')})[1])
self:preprocess_equals('{{#invoke:wd|qualifiers|normal+|current|Q55|P38|Q4917|P518}}', wdib.getQualifierValue{args={'P38',qid='Q55',qual='P518',pval='Q4917',linked='false',noicon='true',osd='no',fwd='ALL'}})
self:preprocess_equals('{{#invoke:wd|properties|normal+|current|Q55|P38|P518=Q27561}}', wdib.getValueByQual{args={'P38',qid='Q55',qualID='P518',qvalue='Q27561',linked='false',noicon='true',osd='no',fwd='ALL'}})
|