Module:T-Event: Difference between revisions
// via Wikitext Extension for VSCode Tag: Reverted |
// via Wikitext Extension for VSCode Tag: Manual revert |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 51: | Line 51: | ||
-- ELEMENT:NAVIGATION | -- ELEMENT:NAVIGATION | ||
local ElementNavigation = ErrorHandling.safeRequire(errorContext, 'Module:ElementNavigation', false) | local ElementNavigation = ErrorHandling.safeRequire(errorContext, 'Module:ElementNavigation', false) | ||
if ElementNavigation then | if ElementNavigation and ElementNavigation.elementName then | ||
ElementNavigation. | Blueprint.registerElement(ElementNavigation.elementName, ElementNavigation) | ||
Blueprint.addElementToTemplate(template, 'navigation') | |||
template.config.navigation = { | |||
prevLabel = "← %s", | prevLabel = "← %s", | ||
nextLabel = "%s →", | nextLabel = "%s →", | ||
classPrefix = "event" | |||
} | |||
} | |||
end | end | ||