Louis Tomlinson Wiki
(Created page with "-- This Module is used for making templates based in the Lua language. -- See more details about Lua in Help:Lua. -- The Fandom Developer's Wiki hosts Global Lua Modules t...")
 
(Created page with "-- This Module is used for making templates based in the Lua language. -- See more details about Lua in Help:Lua. -- The Fandom Developer's Wiki hosts Global Lua Modules t...")
 
Line 3: Line 3:
 
-- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden.
 
-- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden.
 
-- The next line imports from the [[w:c:dev:Global Lua Modules]].
 
-- The next line imports from the [[w:c:dev:Global Lua Modules]].
local nsData = require('Dev:Namespace_detect/data')
+
local nsConfiguration = require('Dev:Namespace_detect/config')
 
-- See more details about this module at [[w:c:dev:Global_Lua_Modules/Namespace_detect]]
 
-- See more details about this module at [[w:c:dev:Global_Lua_Modules/Namespace_detect]]
 
 
Line 9: Line 9:
 
-- For a more flexible experience, delete the page import
 
-- For a more flexible experience, delete the page import
 
-- and paste (and modify as you like) its contents into this page
 
-- and paste (and modify as you like) its contents into this page
-- https://dev.fandom.com/wiki/Module:Namespace_detect/data
+
-- https://dev.fandom.com/wiki/Module:Namespace_detect/config
   
 
-- The last line produces the output for the template
 
-- The last line produces the output for the template
return nsData
+
return nsConfiguration

Latest revision as of 18:06, 3 February 2020

Documentation for this module may be created at Module:Namespace detect/config/doc

-- This Module is used for making templates based in the Lua language.
-- See more details about Lua in [[Help:Lua]].
-- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden.
-- The next line imports from the [[w:c:dev:Global Lua Modules]].
local nsConfiguration = require('Dev:Namespace_detect/config')
-- See more details about this module at [[w:c:dev:Global_Lua_Modules/Namespace_detect]]
 
-- The imported Module is overwritten locally to include default configuration.
-- For a more flexible experience, delete the page import 
-- and paste (and modify as you like) its contents into this page
-- https://dev.fandom.com/wiki/Module:Namespace_detect/config

-- The last line produces the output for the template
return nsConfiguration