Module:Character Appearances
Documentation for this module may be created at Module:Character Appearances/doc
local package = {}
local appearances = {
VERCE = {
"the dark",
"endless night",
"music and meter and rhyme",
"verses",
"though strangers",
"somehow i knew"
}
}
function package.test(frame)
local character = 'VERCE'
local result = {}
result[#result + 1] = '{| class = "mediawiki'
result[#result + 1] = '! [[' .. character .. ']]'
for _, record in pairs(appearances[character]) do
local record_link = 'https://doughbyte.com/art/?show=' .. string.gsub(record, ' ', '_')
result[#result + 1] = '|-'
result[#result + 1] = '| [' .. record_link .. ' ' .. record .. ']'
end
result[#result + 1] = "|}"
return table.concat(result, '\n')
end
return package