Module:Characters: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 8: Line 8:
}
}
if frame.args[1] == 'horsegirls' then
if frame.args[1] == 'horsegirls' then
query.where = 'Characters.type="horsegirl"'
query.where = 'Characters.type="horsegirl" AND Characters.media IS NULL'
elseif frame.args[1] == 'other' then
elseif frame.args[1] == 'other' then
query.where = 'NOT Characters.type="horsegirl"'
query.where = 'NOT Characters.type="horsegirl" AND Characters.media IS NULL'
elseif frame.args[1] == 'cinderellagray' then
query.where = 'Characters.media="cinderellagray"'
elseif frame.args[1] == 'starblossom' then
query.where = 'Characters.media="starblossom"'
end
end
local fields = {'_pageName','name_en','icon','color_main','color_sub'}
local fields = {'_pageName','name_en','icon','color_main','color_sub'}

Navigation menu