View source for Module:TSLoader
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
local static = require( 'Module:Static' )
if not static.TSLoader then
static.TSLoader = {}
end
function p.call( name )
if not name then
return nil
end
if not static.TSLoader.loadedTS then
static.TSLoader.loadedTS = {}
end
local pagename = mw.title.getCurrentTitle()
if not static.TSLoader.loadedTS[ pagename ] then
static.TSLoader.loadedTS[ pagename ] = {}
end
if not name:find( '^%w*:' ) then
name = 'Template:' .. name:sub( 1, 1 ):upper() .. name:sub( 2 )
end
name = name:sub( 1, 1 ):upper() .. name:sub( 2 )
000
1:0
Return to Module:TSLoader.