Changes

Jump to: navigation, search

Module:Documentation

175 bytes added, 05:35, 31 January 2014
use the module preload in the start box create link if we're in the module namespace
-- 'purge-link-display' --> 'purge'
-- 'file-docpage-preload' --> 'Template:Documentation/preload-filespace'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'docpage-preload' --> 'Template:Documentation/preload'
-- 'create-link-display' --> 'create'
--]]
local data subjectSpace = {} -- Get title objectsenv.subjectSpace
local title = env.title
local docTitle = env.docTitle
return nil
end
 
local data = {}
data.title = title
data.docTitle = docTitle
local preload = args.preload
if not preload then
if env.subjectSpace == 6 then -- File namespace
preload = message('file-docpage-preload')
elseif subjectSpace == 828 then -- Module namespace
preload = message('module-preload')
else
preload = message('docpage-preload')
Anonymous user

Navigation menu