- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Module:View/Quest"
Jump to navigation
Jump to search
m |
|||
Line 5: | Line 5: | ||
local function render(args) | local function render(args) | ||
local category = args.explicit[1] | local category = args.explicit[1] | ||
− | local data = Data.load(category) | + | local data = Data.load('Quest', category) |
return data[1].title | return data[1].title | ||
end | end | ||
return View(render) | return View(render) |
Revision as of 08:53, 22 July 2018
Documentation for this module may be created at Module:View/Quest/doc
local _ = require('Module:Core')
local Data = require('Module:Data')
local View = require('Module:View')
local function render(args)
local category = args.explicit[1]
local data = Data.load('Quest', category)
return data[1].title
end
return View(render)