Editing Module:D'ni Tools
From Guild of Archivists
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 252: | Line 252: | ||
end | end | ||
result = mw.smw.ask('{{#ask: [[-Has subobject::Reference:Book of Atrus backcover]] |format=count}}') | |||
local count = 0 | |||
for _ in pairs(result) do count = count + 1 end | |||
for word in ipairs(origArgs) do | for word in ipairs(origArgs) do | ||
output = output..parseDniWord(origArgs[word],count) | output = output..parseDniWord(origArgs[word],count) | ||
end | end | ||
mw.smw.subobject('ContainsQuote='..output,'quote'..count) | |||
mw.smw.subobject('ContainsQuote='..quote | |||
return output | return output |