Module:Sprite: Difference between revisions
Yep, we're still using an ancient version of scribunto. MW1.25 pls |
You can't index a number, of course. |
||
| Line 149: | Line 149: | ||
end | end | ||
args.pos = idData.pos | if type( idData ) == 'table' then | ||
args.pos = idData.pos | |||
else | |||
args.pos = idData | |||
end | |||
elseif allowCats then | elseif allowCats then | ||
table.insert( categories, '[[Category:Pages with missing sprites]]' ) | table.insert( categories, '[[Category:Pages with missing sprites]]' ) | ||