Module:Jcttop/core
Appearance
This module implements {{jcttop/core}}.
local p = {}
local format = mw.ustring.format -- Local version of string formatting function
local HtmlBuilder = require "Module:HtmlBuilder" -- Import module to build HTML code
local getArgs = require('Module:Arguments').getArgs -- Import module function to work with passed arguments
function p._jcttop(args)
-- This function calls two other functions to generate a hatnote and header row.
-- This function is accessible from other Lua modules.
return '' -- Temporary stub
end
function p.jcttop(frame)
-- Entry function for {{jcttop/core}}
local args = getArgs(frame) -- Gather passed arguments into easy-to-use table.
return p._jcttop(args) -- Simply call another function with those arguments to actually create the header.
end
return p