Module:T-Event: Difference between revisions
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode |
||
| Line 23: | Line 23: | ||
end | end | ||
end | end | ||
-- Blueprint default: Modules to lazy load | |||
-- local getTemplateHelpers = lazyRequire('') | |||
-- ==================== Helper Functions ==================== | -- ==================== Helper Functions ==================== | ||
| Line 28: | Line 31: | ||
local errorContext = ErrorHandling.createContext("T-Event") | local errorContext = ErrorHandling.createContext("T-Event") | ||
-- Helper for extracting semantic values from wiki links | -- Blueprint default: Helper for extracting semantic values from wiki links | ||
local function extractSemanticValue(fieldValue, fieldName) | local function extractSemanticValue(fieldValue, fieldName) | ||
return TemplateHelpers.extractSemanticValue(fieldValue, fieldName, errorContext) | return TemplateHelpers.extractSemanticValue(fieldValue, fieldName, errorContext) | ||
| Line 66: | Line 69: | ||
end | end | ||
-- | -- ELEMENT:NAVIGATION | ||
local ElementNavigation = require('Module:ElementNavigation') | local ElementNavigation = require('Module:ElementNavigation') | ||
if ElementNavigation and ElementNavigation.elementName then | if ElementNavigation and ElementNavigation.elementName then | ||