Module:Hatnote: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
No edit summary |
||
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 the Hatnote module from the [[w:c:dev:Global Lua Modules]]. | -- The next line imports the Hatnote module from the [[w:c:dev:Global Lua Modules]]. | ||
local H = require(' | local H = require('Module:Hatnote') | ||
-- See more details about this module at [[w:c:dev:Global_Lua_Modules/Hatnote]] | -- See more details about this module at [[w:c:dev:Global_Lua_Modules/Hatnote]] | ||
-- The last line produces the output for the template | -- The last line produces the output for the template | ||
return H | return H |
Revision as of 05:34, 30 April 2021
This module is invoked by the {{Hatnote}}
template, which is used by a number of Notice templates.
-- This Module is used for making templates based in the Lua language. -- See more details about Lua in [[w:Help:Lua]]. -- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. -- The next line imports the Hatnote module from the [[w:c:dev:Global Lua Modules]]. local H = require('Module:Hatnote') -- See more details about this module at [[w:c:dev:Global_Lua_Modules/Hatnote]] -- The last line produces the output for the template return H