Module:T-Process: Difference between revisions
// via Wikitext Extension for VSCode Tag: Reverted |
// via Wikitext Extension for VSCode |
||
| (One intermediate revision by the same user not shown) | |||
| Line 52: | Line 52: | ||
if template.features.navigation then | if template.features.navigation then | ||
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 = "process" | |||
} | |||
} | |||
end | end | ||
end | end | ||