16,254
edits
m (Changed adaptation link) |
(Use printError function) |
||
Line 5: | Line 5: | ||
local Params = require('Module:Shared/Paramtest') | local Params = require('Module:Shared/Paramtest') | ||
local Shared = require('Module:Shared') | |||
local Icons = require("Module:Icons") | local Icons = require("Module:Icons") | ||
Line 120: | Line 121: | ||
if showDR and greatest_row_size > 1 then | if showDR and greatest_row_size > 1 then | ||
-- showDR option is only compatible if a single column of equipment is to be displayed | -- showDR option is only compatible if a single column of equipment is to be displayed | ||
return ' | return Shared.printError('showDR option is incompatible with more than one item per slot') | ||
end | end | ||